> ## 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.

# Claude Code

> One command connects Claude Code in every project

**1. Connect it once**

> [tab] box setup
>
> Run this once per machine. It is for Claude Code and Codex together
>
> ```bash theme={"system"}
> box setup
> ```
>
> It installs the XenoCI Box skill, adds a short box section to `~/.claude/CLAUDE.md` (the rest of the file is kept) and registers the box MCP server for Claude Code in user scope. It writes nothing into your project, and running it again changes nothing. What it printed
>
> ```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
> ```
>
> The MCP tools load when Claude Code restarts. Check the server
>
> ```bash theme={"system"}
> claude mcp get box
> ```

> [tab] MCP server by hand
>
> ```bash theme={"system"}
> claude mcp add --scope user box -- box mcp
> ```

> [tab] Plugin
>
> The plugin adds the skill and the MCP server together
>
> ```bash theme={"system"}
> claude plugin marketplace add Xeno-CI/box-cli
> claude plugin install box@xenoci
> ```

**2. Then ask**

In your app project, ask for what you want: *build it and show me the first screen*. Claude Code calls the box tools and shows you the picture

<video controls muted loop playsInline autoPlay preload="metadata" poster="/media/docs/agents-poster.webp" src="https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/media/docs/agents.mp4?fit=max&auto=format&n=ZFKGlbE4Q2bw14Om&q=85&s=e5cbc900e1ea5a0063d506f92f4be202" width="1280" height="778" />

Claude Code asked to build the app and show a screenshot: it calls box build and box screenshot over MCP

```text theme={"system"}
$ box screenshot screen.png
box: queue: job bj_M0e9kfQmt9bDowhN (screenshot, ios, $0.05/min) submitted
…
[box] 19:21:40 screenshot box-out/screen.png
box: status: succeeded
box: results: saved to ./.box/out/bj_M0e9kfQmt9bDowhN/ (build.log, screen.png)
box: bj_M0e9kfQmt9bDowhN succeeded, 120s billed, $0.10
```

![The picture Claude Code got back from box: 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.