# readerly

::readerly-hero
# One command, output for whoever reads it

readerly tells a person at a terminal from CI, a coding agent and a program that asked for JSON, and gives each the output and the prompts it can use.

#agents
```text
Add readerly to this CLI and send each command's output through createOut, following https://readerly.loadsheet.dev/guide.
Replace console output with out.log, out.error and out.warn, prompts with out.confirm, and the exit with return out.end().
Run each command plain, with AI_AGENT=claude-code, with CI=true and with --format json, and check that each output reads right.
```

#humans
```sh pm
pnpm add readerly
```
::

## Agents it knows

readerly finds a coding agent by `AI_AGENT` or by a variable its harness sets, and gives it a short report that fits a character budget. See [every agent and marker](https://readerly.loadsheet.dev/readers#agents).

::card-group
:::card{title="Claude Code" icon="i-simple-icons-claude" to="/readers#agents"}
`CLAUDECODE`
:::

:::card{title="Codex" icon="i-simple-icons-openai" to="/readers#agents"}
`CODEX_THREAD_ID`
:::

:::card{title="Cursor" icon="i-simple-icons-cursor" to="/readers#agents"}
`CURSOR_AGENT`
:::

:::card{title="Gemini CLI" icon="i-simple-icons-googlegemini" to="/readers#agents"}
`GEMINI_CLI`
:::

:::card{title="GitHub Copilot" icon="i-simple-icons-githubcopilot" to="/readers#agents"}
`AI_AGENT=github_copilot`
:::

:::card{title="OpenCode" icon="i-simple-icons-opencode" to="/readers#agents"}
`OPENCODE`
:::

:::card{title="Cline" icon="i-simple-icons-cline" to="/readers#agents"}
`CLINE_ACTIVE`
:::

:::card{title="Amp" icon="i-simple-icons-amp" to="/readers#agents"}
`AMP_CURRENT_THREAD_ID`
:::

:::card{title="Windsurf" icon="i-simple-icons-windsurf" to="/readers#agents"}
`WINDSURF_CASCADE_TERMINAL`
:::

:::card{title="Replit" icon="i-simple-icons-replit" to="/readers#agents"}
`REPL_ID`
:::
::

<!-- vitehub-docs:section-links -->
All pages: [llms.txt](https://readerly.loadsheet.dev/llms.txt)
