# Crow for AI agents (https://crow.build/docs/ai)

Crow is built to be written by agents as much as by people. These docs, the skills and the `crow` CLI all have a form an agent can read and drive directly.

## Ask AI [#ask-ai]

Every docs page has an **Ask AI** button. It answers only from these docs, searches them for you, and links the pages it used.

## Every page as Markdown [#every-page-as-markdown]

- **Add `.md` to any docs URL** for its Markdown, for example [`/docs/quickstart.md`](/docs/quickstart.md).
- **Copy Markdown** at the top of each page copies it, ready to paste into an agent. **Open** sends the page to a chat assistant.

## llms.txt [#llmstxt]

| File | What it is |
|---|---|
| [`/llms.txt`](/llms.txt) | An index of every page with a one-line summary and a link to its Markdown. Give this to an agent first. |
| [`/llms-full.txt`](/llms-full.txt) | All of the docs in one Markdown file, for agents that load everything up front. |

## Agent skills [#agent-skills]

Crow ships seven [Agent Skills](https://agentskills.io) (`SKILL.md` folders) that teach an agent Crow's APIs, compiler rules and conventions. They live in the Crow repository under `.agents/skills/`. Copy the ones you need into your project's skills folder (for example `.agents/skills/` or `.claude/skills/`).

| Skill | Use it for |
|---|---|
| `crow-core` | `@Ui` components, signals, compiler diagnostics (`CR1001`–`CR1003`), layouts, modifiers, lazy lists, pagers, text, input, insets, drawing, shaders and motion |
| `crow-app` | Structuring an app: feature packages, import rules, where state lives, a testable root, ownership and anti-patterns |
| `crow-data` | Async data, `crow-query` caching, `crow-store` persistence, `crow-schema` validation and forms, saved state, `crow-inject` |
| `crow-design-systems` | Styling and theming: unstyled components, Material 3, Lens, Material Symbols, color and contrast, TalkBack semantics |
| `crow-navigation` | File-based routing, back stacks, transitions, shared elements, predictive back, sheets, dialogs, popups and guided tours |
| `crow-testing` | Headless UI tests, PNG snapshots, accessibility checks, reactive leak assertions and emulator checks |
| `crow-contributing` | Contributing to the Crow repository itself |

## The Crow MCP server [#the-crow-mcp-server]

`crow mcp` runs a [Model Context Protocol](https://modelcontextprotocol.io) server over stdio, backed by the same warm daemon as the `crow` CLI. An agent can build, test, read diagnostics, drive the running app and see it, without shell glue.

```json title="MCP client config"
{
  "mcpServers": {
    "crow": { "command": "crow", "args": ["mcp", "--project", "."] }
  }
}
```

| Tool | What it does |
|---|---|
| `crow_build` | Builds the APK without Gradle (debug or release, optional R8) |
| `crow_test` | Runs headless `@Test` suites without Gradle |
| `crow_diagnostics` | A fast K2 + Crow compiler check (`CR1001`–`CR2007`) without packaging |
| `crow_hot_reload` | Pushes a code change to the running app, keeping its state |
| `crow_snapshot` | The live UI tree |
| `crow_act` | Taps (by node, text or position), types, scrolls and goes back |
| `crow_screenshot` | A screenshot of the running app |
| `crow_inspect_signals` | The live signal dependency graph |
| `crow_trace` | A reactive and frame-timing trace |