# Docs bundle

> For the complete documentation index, see [llms.txt](https://docs.ringleader.dev/llms.txt).


> Print Ringleader's documentation to stdout, offline, ready to pipe into an AI assistant.


An AI agent working inside a workstation usually cannot reach the documentation
site: the machine may be behind NAT, offline, or running a different version of
Ringleader than the site describes. The whole documentation set is therefore
built into the `rl` binary, and `rl docs` prints it.

Because the copy ships with the binary, it matches the version you are running
and is never fetched at runtime.

## `rl docs`

Write the documentation to stdout, ready to pipe straight into an AI assistant.

```bash
rl docs                       # the docs bytes, to stdout
rl docs > ringleader-docs.txt
rl docs | your-ai-assistant   # feed an agent
```

With no flags the output is the documentation bytes only, no banner or log lines,
so it stays parseable.

| Flag | Description |
|------|-------------|
| `--url` | Print the docs-site URL and exit (no docs, no fetch). |
| `--open` | Open the docs-site URL in the host browser. |

By default the URL is Ringleader's staging documentation site, which is where the docs are
published today. Set the `RINGLEADER_DOCS_URL` environment variable to use a different one.
Neither flag makes `rl` fetch anything.

