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

# Agent setup

> Teach Claude Code or Codex to use Octonote.

```bash theme={null}
octonote setup claude --skill
octonote setup codex
octonote guide
```

## guide

Print the usage guide for AI agents (Claude Code, Codex, …)

```bash theme={null}
octonote guide
```

## setup

Teach an agent to use Octonote: writes a section into CLAUDE.md (claude) or AGENTS.md (codex)

```bash theme={null}
octonote setup <agent> [options]
```

| Argument or option | What it does |
| - | - |
| `<agent>` | claude \| codex (required) |
| `--dir <path>` | project folder (default: .) |
| `--global` | for every project: \~/.claude/CLAUDE.md or \~/.codex/AGENTS.md |
| `--skill` | claude only: also install the Octonote skill (.claude/skills/octonote) |


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