Skills
A skill is a reusable, step-by-step playbook an agent follows when a task matches: a release checklist, how to add a migration, how your team reviews a PR. Carrybrain stores skills on the server, installs them where each agent looks for them, and serves them over MCP to agents that have no native skills.
The SKILL.md format
One file per skill: YAML frontmatter with name and description, then a markdown body.
---
name: release-checklist
description: Use when cutting a release of acme/api. Runs the checks and tags the build.
---
# Release checklist
1. Make sure `main` is green.
2. Run `pnpm changeset version` and review the diff.
3. Tag and push the tag.name: lowercase letters, digits and-, up to 64 characters.description: required, up to 1024 characters. Write it so an agent knows when to use the skill; it is what shows in the catalog.- Frontmatter supports
key: value, quoted values, and>or|blocks. Nested values and lists are not parsed. - Only the single
SKILL.mdfile is stored. Bundled extra files are not supported. - The frontmatter keys
allowed-toolsandhookspre-approve tools or run commands inside agents, so only admins may set them on shared skills. Atuserscope you can set them on your own.
Scopes
| Scope | Shared with | Who can write |
|---|---|---|
org | Everyone | Admins |
team | Team members | Members of that team |
repo | Everyone working in that repository | Any user |
user | You | You |
When the same name exists at several scopes, the most specific wins: user, then repo, then team, then org. Ties between teams go to the team whose name sorts first. Repo skills apply when you are in a git repo with a remote.
How skills reach each agent
carrybrain sync writes the skills that apply to you into ~/.claude/skills/carrybrain-<name>/ and ~/.agents/skills/carrybrain-<name>/, and repo skills into the repo's .claude/skills and .agents/skills (git-excluded). Only carrybrain-* folders are managed.
| Agent | How skills get there | A new skill appears |
|---|---|---|
| Claude Code | SessionStart and SessionEnd hooks run a background sync | Next session. The first session gets a catalog from the hook and can call get_skill |
| Codex, Cursor, Gemini CLI | carrybrain install <tool>, then carrybrain autosync enable | Next session, within 15 minutes |
| GitHub Copilot, OpenCode, Windsurf | carrybrain autosync enable or carrybrain sync | Next session, within 15 minutes |
| Any MCP client | The list_skills and get_skill tools | Immediately, no install |
Cloud agents that cannot run the CLI can commit repo skills with carrybrain init-repo --commit-skills, or use the MCP tools.
Trust
Skills from teammates run with your trust. When shared skills change, carrybrain sync says so. Every skill write is kept in a history with who changed it.