For AI agents
What an agent gets: a JSON result, exit codes it can branch on, a read-only default, and these docs as markdown.
- Skill:
compara skillprints the guide an agent reads to use this version of compara. - Machine-readable result:
--json summary.json(or--json -for standard output) writes the counts and per-column statistics, in the shape docs/contract.schema.json gives. - Exit codes:
0identical,1differences,2error,3duplicate keys with--fail-on-dups;--exit-zerofor a job whose output is the report. - Read-only by default:
comparewithout-o,--jsonor--export-dirwrites nothing;--summarymakes that a promise and refuses any flag that would write. - Docs as markdown: llms.txt lists every page of the
docs site, each one also served as
.md.
The loop an agent runs: compara columns on each file to choose the key,
compare --summary for the counts, then --json - for the columns that
changed and --export-dir for the rows.
Made from README.md.