Borrowing it
Nothing to install: this file belongs to bredmond1019/claude-sdk-rs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bredmond1019/claude-sdk-rs/main/.claude/commands/sync-brain-skills.mdgit clone --depth 1 https://github.com/bredmond1019/claude-sdk-rsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/sync-brain-skills)<a href="https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/sync-brain-skills"><img src="https://agentmods.dev/badge/commands/bredmond1019/claude-sdk-rs/sync-brain-skills/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/sync-brain-skills"><img src="https://agentmods.dev/badge/commands/bredmond1019/claude-sdk-rs/sync-brain-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00520 |
| Opus 5.5 | $0.00000 | $0.00208 |
| Sonnet 5.5 | $0.00000 | $0.00104 |
| Haiku 4.5 | $0.00000 | $0.00052 |
Grade A, and why
sync-brain-skills scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
sync-brain-skills — Distribute shared skills to all sub-brain tiers
Reads brain.toml to discover all sub-brain tier directories, then rsyncs the shared skills into
each tier's .agents/skills/. Mirrors .claude/commands/sync-brain-commands.md's job for the
brain's own commands, but this one runs from base-template/ and distributes base-template's own
generic session/planning skills — not any brain-specific command.
Instructions
Step 1 — Guards
- Verify
brain.tomlexists in the current working directory. If not, abort:ERROR: brain.toml not found. Run sync-brain-skills from the brain root (agentic-portfolio/).
Step 2 — Discover tiers
- Read
brain.toml. Extract uniquetiervalues from all[[repos]]entries, excluding_root. These are the sub-brain tier directories to sync into.
Step 3 — Sync
-
For each discovered tier, sync the shared skills from
base-template/.agents/skills/into<tier>/.agents/skills/. The include list is base-template's own generic session + planning skills only — not the brain's ownlog-decision/sync-status/update-progress(those are brain-specific commands that don't exist inbase-template/.agents/skills/at all; an earlier version of this list copied them in by mistake and they silently matched nothing).rsync -av --delete \ --include="archive/***"\ --include="capture/***"\ --include="commit/***"\ --include="handoff/***"\ --include="log-work/***"\ --include="prime/***"\ --include="session-recap/***"\ --include="wrap-up/***"\ --include="backlog-ticket/***"\ --include="generate-master-plan/***"\ --include="next/***"\ --exclude="*" \ base-template/.agents/skills/ <tier>/.agents/skills/
Step 4 — Report
-
For each tier, output:
- Number of files synced / already up-to-date
- Any errors or missing directories
-
Summarize: N tiers updated, total files synced.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 54 lines · 0 tokens per session scan A 15748fadfebc
sync-brain-skills is a command published in the GitHub repository bredmond1019/claude-sdk-rs (23 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 520 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.
sync-brain-skills compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sync-brain-skillsbredmond1019/claude-sdk-rs | Command | 23 | 1mo ago | Apache-2.0 | A | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |