vimalinx/bio-agent / .claude/skills/json2xml
json2xml
UnverifiedUse when converting JSON documents into XML for downstream EDirect or XML-based processing.
json2xml
Quick Start
- Command:
json2xml < data.json > data.xml - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/json2xml - Reference: See
references/help.mdfor detailed usage and options.
When To Use This Tool
- Convert structured JSON into XML so it can be inspected with
xtractor merged into XML-side pipelines. - Bridge JSON-speaking tooling into the XML-centric parts of an EDirect workflow.
- Normalize simple object trees before downstream XML extraction or archiving.
Common Patterns
# 1) Convert a JSON document into XML
json2xml < data.json > data.xml
# 2) Convert and inspect the resulting XML immediately
json2xml < data.json | sed -n '1,40p'
Recommended Workflow
- Start with a representative JSON sample from the upstream source.
- Feed it to
json2xmlthrough stdin redirection or a pipe. - Inspect the first emitted XML blocks before converting a full dataset.
- Pass the XML to
xtract,xml2tbl, or other downstream XML-side tools once the shape looks right.
Guardrails
- This wrapper simply calls
transmute -j2x, so the companiontransmutebinary must be onPATH. --helpand--versionare not real metadata switches here; in this build they are converted into literal XML tags like<--help>.- Prefer stdin/pipes over positional filenames. In a smoke test, passing a filename argument caused the literal path string to be wrapped as XML content.
- The converter emits a
<root>/<opt>style wrapper for a simple object, so check that downstream tools expect that structure.
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 |