> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenoci.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Skills

> What box setup writes so your agent knows when to use box

A skill is a short instruction file the agent reads when the work matches it. XenoCI Box writes one, and a short note in the file your agent reads in every project

## Where box writes them

| Command | Files |
| - | - |
| `box setup` | `~/.claude/skills/box/SKILL.md`, `~/.agents/skills/box/SKILL.md`, a box section in `~/.claude/CLAUDE.md` and `~/.codex/AGENTS.md` |
| `box setup --project` | `./CLAUDE.md`, `./AGENTS.md`, `./.claude/skills/box/SKILL.md`, `./.agents/skills/box/SKILL.md`, `./.cursor/rules/box.mdc` |

```text theme={"system"}
$ box setup
box: wrote ~/.claude/skills/box/SKILL.md
box: wrote ~/.agents/skills/box/SKILL.md
box: wrote ~/.claude/CLAUDE.md
box: wrote ~/.codex/AGENTS.md
box: wrote ~/.codex/config.toml
box: mcp claude added: Claude Code, user scope
box: mcp codex added: [mcp_servers.box] in ~/.codex/config.toml
box: Cursor keeps user rules only in its settings screen, not in a file; for Cursor run box setup --project in the repository
box: done for every project on this machine; nothing was written into this folder. MCP tools load when the agent restarts
```

## Other ways to get it

```bash theme={"system"}
npx skills add Xeno-CI/box-cli
claude plugin marketplace add Xeno-CI/box-cli
```

## What the skill says

Check `box status` and sign in, build with `--dry-run` first, test and screenshot, open the app with `box run` and drive it with `box ui`, read exit codes (1: fix the app; 3: box’s side, do not retry in a loop), and use `BOX_API_KEY` in cloud agents. Running `box setup` again brings an old skill up to date

![The picture an agent got after following the skill: Hello from box with a counter](https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/images/docs-agents-screen.png?fit=max\&auto=format\&n=ZFKGlbE4Q2bw14Om\&q=85\&s=57a2bab0b30da73118373c050fedae7c)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.