vimalinx/bio-agent / .claude/skills/xinfo
xinfo
VerifiedUse when inspecting fields, indexed terms, or term counts from a local EDirect postings index rather than the remote `einfo` endpoint.
xinfo
Local metadata and counts helper built on xcommon.sh plus rchive. It reports available postings fields, indexed terms, and count/totals summaries from a configured local postings directory.
Quick Start
- Command:
xinfo -db <database> -fields - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/xinfo - Critical environment:
EDIRECT_LOCAL_ARCHIVE
When To Use This Tool
- Listing local postings fields for a database
- Counting or expanding indexed terms from a local archive setup
- Getting local totals for a field such as
PROPorYEAR - Debugging local postings contents rather than querying remote
einfo
Common Patterns
# Show help
xinfo -h
# List local fields
export EDIRECT_LOCAL_ARCHIVE=/path/to/local/archive
xinfo -db pubmed -fields
# Get local term counts
export EDIRECT_LOCAL_ARCHIVE=/path/to/local/archive
xinfo -db pubmed -count 'catabolite repress*'
Recommended Workflow
- Configure
EDIRECT_LOCAL_ARCHIVEso the tool can discover the postings directory. - Start with
-fieldsto confirm the local postings layout. - Move on to
-terms,-count,-counts, or-totalsonce the field structure looks sane. - Treat failures as local-postings problems first, not as remote NCBI outages.
Guardrails
-h/--helpare safe and show usage, but--versionis not supported; locally it triggered the missing-path error andERROR: Unrecognized option --version.- This is a local postings tool, not a wrapper around remote
einfo. - Source inspection shows
-fieldsliterally changes into the postings directory and lists subdirectories, while-count/-counts/-totalsdelegate torchive. - In local testing without
EDIRECT_LOCAL_ARCHIVE,xinfo -db pubmed -fieldsprinted the missing-path error and then accidentally listed the current working directory becausecd "$postingsBase"fell through with an empty path.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |