GitHub 1
Skip to content

The manifest

Write .fleetrc/manifest.json to list your skill sources, inherit a team manifest, pick agents, and sync instruction files, subagents and commands.

The manifest is one JSON file that says where your skills come from and which agents get them. Every machine reads the same file, so every machine ends up with the same skills. Machine-specific settings live in config.json instead.

The manifest is .fleetrc/manifest.json, usually in the git repository that holds your own skills. You point a machine at it once:

npx fleetrc init me/skills

init saves the location in config.json, and every later sync reads it from there. init accepts these forms:

You passfleetrc reads
me/skills, github:me/skills, gitlab:group/repo.fleetrc/manifest.json in that repository
https://host/team/agents.git, git@host:team/agents.gitThe same, for any git URL that ends in .git
github:my-team/agents//team.jsonThe file after //, in that repository
https://github.com/me/skills/blob/dev/team.jsonThat file on branch dev; the link keeps the branch
https://github.com/me/skills/tree/dev/teams/webteams/web/.fleetrc/manifest.json on dev
./manifest.json, ~/code/skillsA file on this machine, or for a folder, its .fleetrc/manifest.json
tailscale:The manifest your tailnet policy names

A path that exists on this machine wins over a repository of the same shape, so init me/skills reads a local me/skills folder if you have one. Run init with no argument to use the configured manifest again. On a machine with no config.json, it asks the tailnet policy.

If the folder or repository has no .fleetrc/manifest.json, init stops and tells you to name the file as <repo>//<file>.

Note

Other machines can't read a manifest that lives on this one. fleetrc fleet init needs a manifest in a repository. See Fleet.

{
  "$schema": "https://unpkg.com/fleetrc/schema.json",
  "extends": [
    "my-team/agents",
    { "manifest": "other-team/skills", "exclude": ["legacy-deploy"] }
  ],
  "agents": ["claude-code", "codex"],
  "sources": [
    {
      "id": "mine",
      "git": "me/skills",
      "path": "~/code/skills",
      "skills": "skills/*",
      "adopt": true,
      "instructions": "AGENTS.md",
      "subagents": "agents/*.md",
      "commands": "commands/**/*.md"
    },
    { "id": "nuxt", "git": "onmax/nuxt-skills", "include": ["nuxt", "nuxt-ui"] },
    { "id": "ag-grid", "git": "ag-grid/skills", "update": "review" },
    { "npm": "@acme/skills@2", "skills": "skills/*" },
    { "index": "https://acme.dev" },
    { "id": "scratch", "local": "~/scratch/skills" }
  ],
  "forks": { "pdf": { "from": "anthropics/skills", "path": "skills/pdf" } },
  "fleet": ["laptop", "tag:servers"]
}
.fleetrc/manifest.json

Add $schema to get completion and checks in your editor. Manifest schema lists every field.

Each entry in sources has exactly one of git, index, npm or local.

SourceValueExtra fields
gitowner/repo, github:owner/repo, or a git URLref, path, adopt, followLinks
npmname, name@version or name@tagregistry
indexURL of a site that serves /.well-known/agent-skills/index.json (v0.2.0) or /.well-known/skills/index.json (v0.1)none
localA folder on this machine, linked in placeadopt

These fields work on every kind:

FieldWhat it does
idNames the source in reports and in its state folder. Defaults to the repository or folder name, the package name with / as -, or the first label of the index host.
skillsGlob of skill folders inside the source, such as skills/*. It stays inside the source: no leading / and no ... Not for index.
includeOnly these skill names.
excludeNever these skill names.
updateauto (default) or review.

Without skills, fleetrc finds skills the way the skills package does. An include name the source doesn't have gives a warning, not an error.

Set "update": "review" on a source you want to read before it changes. A sync still fetches it, but it applies nothing:

review ag-grid: updates for <skill>; see `fleetrc diff <skill>`, apply with `fleetrc update ag-grid`
txt

fleetrc diff shows what changed. fleetrc update ag-grid applies it.

A git source with path is a working clone you edit. A sync clones it to path when the folder is missing, then updates it by fast-forward only, and links its skills in place. It holds the clone back when it has commits that aren't upstream, or local edits to files that changed upstream. A ref that is a commit pins the clone to it.

adopt: true marks the source that takes in your hand-made skills. init, fleetrc adopt and fleetrc fork move skills into it. Without a marked source, they use the first git source with a path. adopt needs path on a git source, and also works on local.

followLinks lets the clone's skills be links that lead out of it, such as a dotfiles repository that links into another repository of yours. Without it, fleetrc leaves those skills out.

When two sources have a skill with the same name, the first one in the list wins. Your own sources come before everything in extends, and extends entries follow in the order you list them. A team manifest's own extends come right after it.

The report names what lost:

shadowed: pdf from nuxt (mine wins)
txt

A team manifest source with the same id as an earlier source is skipped, with a warning.

extends lists manifests whose sources you take in. Each entry is a manifest location in the forms above, or an object that leaves some of it out:

{
  "extends": [
    {
      "manifest": "my-team/agents",
      "exclude": ["legacy-deploy"],
      "excludeSources": ["old-vendor"]
    }
  ]
}
.fleetrc/manifest.json

exclude drops skill names from every source that manifest declares, including what it extends. excludeSources drops whole sources by id. A relative path in extends resolves against the folder of the manifest that names it.

fleetrc remove writes these keys for you.

Only your own manifest runs commands, names machines or reads folders on a machine. When fleetrc loads a team manifest, it drops:

  • hooks, report, fleet and hub.
  • A source's followLinks, mcp and agentHooks.
  • Every git source with a path, and every local source.
  • A source that fetches from this machine, such as a localhost index or a git repository on a local path.

Each drop prints a warning in the sync report:

warning: extends my-team/agents: ignored hooks, fleet; only the root manifest can run commands or name machines
txt

A team manifest that fails to load is also a warning. The rest of the sync goes on.

agents is "all" by default: every agent installed on the machine, meaning one whose folder is in your home, such as ~/.claude for Claude Code. Give a list of ids to limit it:

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

fleetrc agents prints every id and which ones are installed. An unknown id fails the manifest, and names the closest id when one is near. See the CLI reference.

Instructions, subagents and commands

Section titled "Instructions, subagents and commands"

A source can link more than skills. Each key takes a glob of files inside the source, or an object of globs by agent id.

KeyA string goes toAgents you can name
instructionsEvery agent with an instruction fileclaude-code, codex, grok, gemini-cli, opencode, github-copilot
subagentsClaude Code onlyThe above, and cursor
commandsClaude Code onlyclaude-code, gemini-cli, opencode

The instructions glob must match one file. Each agent gets the file as its own: CLAUDE.md, AGENTS.md, GEMINI.md or copilot-instructions.md. Files are linked as they are, so use an object when agents read different formats:

{
  "sources": [
    {
      "git": "me/skills",
      "subagents": {
        "claude-code": "claude/agents/*.md",
        "opencode": "opencode/agents/*.md"
      }
    }
  ]
}
.fleetrc/manifest.json

mcp and agentHooks sync MCP servers and agent hooks, and the manifest's hooks run commands after a sync. Hooks and MCP covers all three.

forks records skills you copied from upstream into your own repository. fleetrc fork <skill> writes the entry. Each one has from, the upstream repository, and path, the skill folder in it. base, the upstream commit you last merged, is written by fork and merge. upstream: "git" lets a full online sync check a standalone repository whose origin is ambiguous.

fleetrc diff and fleetrc merge compare your copy with from at base.

config.json holds this machine's settings. It sits in ~/.config/fleetrc, or XDG_CONFIG_HOME/fleetrc when that is set, or %APPDATA%\fleetrc on Windows.

{
  "manifest": "me/skills//.fleetrc/manifest.json",
  "timer": true
}
~/.config/fleetrc/config.json
KeyWhat it holds
manifestWhere the manifest is, as <repo>//<file> or an absolute path. A link that names a branch stays the link. Required.
copytrue copies skill folders instead of linking them. Set by --copy, cleared by --no-copy.
timertrue once this machine has the timer. See Timer.
tailscaletrue when the manifest came from the tailnet policy, so each sync asks again.

init writes it. You rarely edit it by hand.

Change the manifest with add and remove

Section titled "Change the manifest with add and remove"
fleetrc add onmax/nuxt-skills --id nuxt --include nuxt
fleetrc remove nuxt

add appends a source and remove deletes one. Given a skill name, remove adds it to that source's exclude. Given a source or skill from a team manifest, it writes excludeSources or exclude into your extends entry. Both validate the result with the same parser a sync uses and edit only the changed text, so your formatting stays. --dry-run checks the change and writes nothing.

When the manifest is a local file, fleetrc edits it and syncs. When it is in a git repository, fleetrc edits it in a working clone: a source of yours with a path in that repository. It then asks you to push:

add extra in ~/code/skills/.fleetrc/manifest.json; commit and push it, and the next sync uses it
txt

Without that clone, add and remove stop and print the change to make by hand, because the next fetch would overwrite a cached copy.