# Agent Docs

Every page of these docs is also published as markdown and as JSON, for agents
and other programs that read them.

Add `.md` to any docs URL for the raw page: `/docs/hsql/exit-codes.md`. The two
buttons beside a page title do the same thing.

- [llms.txt](https://harlequin.sh/llms.txt) — every page on this site, with a one-line description.
- [llms-full.txt](https://harlequin.sh/llms-full.txt) — the whole corpus in one file.
- [/api/docs/v1.json](https://harlequin.sh/api/docs/v1.json) — the same index as JSON.
  `/api/docs/v1/<slug>.json` is one page, with its markdown.

An agent driving [hsql](https://harlequin.sh/docs/hsql) does not have to read any of it:
`hsql --skill` installs an [Agent Skill](https://harlequin.sh/docs/hsql/skill) that covers the same
ground, matched to the version installed.
