Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

jc

$ jc Community Low Risk
Kelly Brazil · Database & Data · MIT · macos / linux / windows

jc (JSON Convert) pipes or wraps 200+ standard CLI tools and file formats (dig, ifconfig, netstat, ps, df, arp, ini, csv, /etc/hosts) and emits clean structured JSON ready for jq or AI agent reasoning.

FCRS-1.0 Score
90 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install jc
CLI vs MCP Decision CLI Only

jc upgrades legacy POSIX commands that lack --json (ps, df, dig, lsof, ifconfig) into structured JSON for agent consumption.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Outputs clean JSON by default across 200+ parsers, supports magic syntax (jc <cmd>), streaming (--pretty / -p), and -y YAML.

  • Outputs JSON natively for 200+ CLI formats with magic jc <cmd> syntax
Trust & Safety 23 / 25

Pure read-only parser when piped; magic syntax only executes the command you explicitly pass to jc.

  • Read-only stdout parser; magic mode runs only explicit target command
Setup & Portability 14 / 15

Available via Homebrew, PyPI (pip/uvx), and OS repos (apt, dnf) across macOS, Linux, and Windows.

  • Packaged on Homebrew, PyPI, and major Linux distros
Utility & Efficiency 15 / 15

Immediately turns 200+ non-JSON system commands (dig, ps, df, netstat, lsof) into structured agent inputs.

  • 200+ built-in parsers eliminating fragile regex/awk scraping
Maintenance & Lineage 7 / 10

Well-maintained kellyjonbrazil/jc open-source project under MIT license.

  • Active kellyjonbrazil/jc repository
Docs & Verifiability 8 / 10

Every parser has documented sample input/output schemas at kellyjonbrazil.github.io/jc/docs/.

  • Per-parser schema docs at kellyjonbrazil.github.io/jc/docs/

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None; stateless parser for piped command output or local text files.

Side Effects
Read-Only
Cost & Quotas

100% free and MIT open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# jc Agent Rules
- Use `jc --<parser>` when piping stdout (`ps aux | jc --ps`) or `jc <cmd>` magic syntax.
- Check `jc -a` to confirm a parser exists for your target command and OS.
- Pipe `jc` into `jq` to extract only needed fields before returning results.

Agent-Ready Command Recipes

Safe Read-Only Queries

Parse df -h disk usage into JSON via magic syntax
jc df -h

Runs df -h and converts columns into typed JSON objects.

Pipe dig DNS lookup output into jc + jq
dig example.com | jc --dig | jq '.[0].answer'

Turns human-readable dig output into queryable JSON records.

Strengths for Agents

  • + Eliminates brittle awk/sed/regex scraping on 200+ classic UNIX utilities.
  • + Magic syntax (jc df -h) and explicit pipe syntax (cmd | jc --cmd) are effortless.
  • + Documented output schemas for every supported parser.

Caveats & Pitfalls

  • ! Python startup adds ~100ms overhead compared to Go/Rust tools.
  • ! Locale-customized or non-standard command flags can break column parsers.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI