vimalinx/bio-agent / .claude/skills/xtract-linux
xtract-linux
UnverifiedUse when calling the Linux-specific compiled `xtract.Linux` binary directly to extract tabular or XML output from structured XML records.
xtract-linux
Linux platform binary for the EDirect xtract engine. It converts structured XML into tabular or generated XML output using record patterns, nested exploration scopes, conditional filters, and rich formatting controls.
Quick Start
- Command:
xtract.Linux -pattern <record> -element <field> - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/xtract.Linux - Version seen locally:
24.0
When To Use This Tool
- Extracting table rows directly from XML on Linux via the compiled
xtractbackend - Debugging raw
xtractbehavior separately from the public wrapper - Exploring XML structure before writing a larger Entrez Direct pipeline
- Using built-in compiled help as the canonical reference for
xtractarguments
Common Patterns
# Basic extraction from a tiny XML sample
printf '<Root><Rec><Val>A</Val></Rec><Rec><Val>B</Val></Rec></Root>\n' | \
xtract.Linux -pattern Rec -element Val
# Show direct binary help
xtract.Linux -help
# Read XML from a file instead of stdin
xtract.Linux -input records.xml -pattern Rec -element Val
Recommended Workflow
- Start with
xtract.Linux -helpif you need the complete compiled argument taxonomy. - Identify the record boundary with
-pattern. - Add
-group,-block,-subset, or conditional operators only after the basic extraction works. - Prefer the public
xtractwrapper if you need its front-end shortcuts intotransmuteorrchive.
Guardrails
xtract.Linux -helpandxtract.Linux -versionboth work here and report version24.0.- This is the compiled backend only; the public
xtractwrapper intercepts some flags such as-format,-outline,-j2x, and-e2indexbefore dispatch. - In local testing, a minimal XML sample piped to
xtract.Linux -pattern Rec -element Valemitted two lines:AandB. - If you run it with no stdin and no
-input, it expects XML input and will fail rather than acting like a metadata-only tool.
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 |