# fleetrc

::fleetrc-hero
# The same agent skills on every machine

One manifest in git lists your skills, instruction files, MCP servers and hooks. fleetrc links them into every agent and syncs them when a session starts.

#agents
```text
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.
```

#humans
```sh
npx fleetrc init my-team/agents --dry-run
```
::

## One manifest, every agent

`.fleetrc/manifest.json` lives in a git repository, usually the one that holds your own skills. Every machine points at it.

```json [.fleetrc/manifest.json]
{
  "$schema": "https://unpkg.com/fleetrc/schema.json",
  "extends": ["my-team/agents"],
  "sources": [
    { "id": "mine", "git": "me/skills", "path": "~/code/skills", "adopt": true },
    { "id": "nuxt", "git": "onmax/nuxt-skills", "include": ["nuxt", "nuxt-ui"] }
  ],
  "fleet": ["laptop", "tag:servers"]
}
```

::card-group
:::card{title="Manifest" icon="i-lucide-file-json" to="/guide/manifest"}
Git, npm, index and local sources
:::

:::card{title="Sync" icon="i-lucide-refresh-cw" to="/guide/sync"}
Local edits held, updates reviewed
:::

:::card{title="Hooks and MCP" icon="i-lucide-plug" to="/guide/hooks-and-mcp"}
Session hooks, MCP servers, agent hooks
:::

:::card{title="Fleet" icon="i-lucide-server" to="/guide/fleet"}
SSH hosts and Tailscale tags
:::
::

## When it syncs

- `init` installs session-start hooks in Claude Code and Codex. A session starts a background sync when none ran in the last 15 minutes.
- A server with no agent uses the [timer](https://fleetrc.loadsheet.dev/guide/timer): systemd, launchd or Task Scheduler.
- `fleetrc fleet sync` syncs every machine in `fleet` from the one you're on.

<!-- vitehub-docs:section-links -->
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.
