# Agents

fleetrc links skills into every agent the `skills` package knows. Other files go only to agents that read them.

## Skills

Agent ids and skills folders come from the `skills` package, through skillrc. Claude Code reads `~/.claude/skills`. Codex and the other universal agents read `~/.agents/skills`. When that folder is a target, fleetrc links each skill once there and skips the own folder of any agent that also reads it, so Gemini CLI does not warn about a duplicate. Antigravity reads only its own folder, so it keeps it.

## Files, MCP and hooks

| Kind | Agents |
| --- | --- |
| Instruction files | Claude Code, Codex, Grok, Gemini CLI, OpenCode, GitHub Copilot |
| Subagents | The six above and Cursor |
| Commands | Claude Code, Gemini CLI, OpenCode |
| MCP servers | Claude Code, Codex, Grok, Gemini CLI, OpenCode, Cursor, GitHub Copilot |
| Agent hooks | Claude Code, Codex, Grok, Gemini CLI, Cursor |

A plain glob for `subagents` or `commands` goes to Claude Code only. A glob for `instructions` goes to every agent with an instruction file. An object of globs by agent id sends files elsewhere. Files are linked as they are. See [Hooks and MCP](https://fleetrc.loadsheet.dev/guide/hooks-and-mcp).

## Choose agents

`agents` in the manifest is `"all"` by default: every agent installed here, meaning its folder is in your home, such as `~/.claude`. Name ids to limit it:

```json [.fleetrc/manifest.json]
{ "agents": ["claude-code", "codex"] }
```

An unknown id is an error that names the closest id.

## List agents

`fleetrc agents` lists every id, which are installed, and where each reads skills and files. A linked agent shows `linked into` and its folder, with its other files below:

```txt
claude-code      installed  linked into ~/.claude/skills
                 instructions ~/.claude/CLAUDE.md, subagents ~/.claude/agents, commands ~/.claude/commands
codex            installed  linked into ~/.agents/skills
                 instructions ~/.codex/AGENTS.md, subagents ~/.codex/agents
windsurf                    ~/.codeium/windsurf/skills
```

`--json` prints the same rows as data.

## Set up with an agent

Paste this into Claude Code, Codex or another agent. It follows the [setup guide](https://raw.githubusercontent.com/words-with-agents/fleetrc/main/docs/agent-setup.md) and shows what will change before it changes anything:

```md
Set up fleetrc on all my machines by following https://raw.githubusercontent.com/words-with-agents/fleetrc/main/docs/agent-setup.md. If you can't read it, stop and ask me.
```

Every page on this site has a raw Markdown copy at `/raw/<page>.md`, such as `/raw/guide/agents.md`, and a full index at `/llms.txt`.

<!-- vitehub-docs:section-links -->
## In this section

- [Introduction](https://fleetrc.loadsheet.dev/raw/guide.md)
- [Installation](https://fleetrc.loadsheet.dev/raw/guide/installation.md)
- [The manifest](https://fleetrc.loadsheet.dev/raw/guide/manifest.md)
- [Syncing](https://fleetrc.loadsheet.dev/raw/guide/sync.md)
- [Hooks and MCP servers](https://fleetrc.loadsheet.dev/raw/guide/hooks-and-mcp.md)
- [Fleet](https://fleetrc.loadsheet.dev/raw/guide/fleet.md)
- [Timer](https://fleetrc.loadsheet.dev/raw/guide/timer.md)
- [Agents](https://fleetrc.loadsheet.dev/raw/guide/agents.md) (this page)

All pages: [llms.txt](https://fleetrc.loadsheet.dev/llms.txt)

Something on this page does not work as written? Tell the user, and draft an issue for them to post: [issue tracker](https://github.com/words-with-agents/fleetrc/issues). Report a security vulnerability privately, never in a public issue.
