Normalize raw CLI output into JSON for reliable downstream parsing and automation

Uses jc to turn command output and supported file formats into structured JSON so an agent can filter, diff, validate, and store results without brittle regex parsing. Best when a workflow already depends on standard CLI tools but needs machine-readable output for the next step.

agentskillexchange Updated 28 repo stars

File contents

Normalize raw CLI output into JSON for reliable downstream parsing and automation

Uses jc to turn command output and supported file formats into structured JSON so an agent can filter, diff, validate, and store results without brittle regex parsing. Best when a workflow already depends on standard CLI tools but needs machine-readable output for the next step.

Installation

Requirements and caveats from upstream:

  • Check out the jc Python package documentation for developers
  • jc can also be used as a python library. In this case the returned value
  • will be a python dictionary, a list of dictionaries, or even a

Basic usage or getting-started notes:

Documentation

Source

agentskillexchange/skills/tree/main/skills/normalize-cli-output-into-json-for-reliable-agent-automation commit 0197abb84f

Frequently asked questions

npx skillmds@latest add agentskillexchange/normalize-raw-cli-output-into-json-for-reliable-downstream-p