sync-brain-starter

sync-brain-starter is a skill for Claude Code from michaeljauk/brain-starter. It costs 47 tokens per session (1,124 once invoked), scanned A, original, MIT.

A synchronization tool that copies selected reusable skills, configuration files, and templates from a private repository into a public starter repository.

In plain words
What is it for?
Use it after updating shared skills or project configuration when you need to refresh the brain-starter template and inspect the resulting diff.
Why use it?
It keeps the public template aligned with approved changes while showing the differences for review before anything is committed.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash docs/scripts/leak-gate.sh --worktree.

Good fit Use it after updating shared skills or project configuration when you need to refresh the brain-starter template and inspect the resulting diff.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/michaeljauk/brain-starter
agentmods
npx agentmods add skills/michaeljauk/brain-starter/sync-brain-starter

Made for: Claude Code.

Wrote 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.

agentmods badge for sync-brain-starter

README.md
[![agentmods](https://agentmods.dev/badge/skills/michaeljauk/brain-starter/sync-brain-starter/github.svg)](https://agentmods.dev/skills/michaeljauk/brain-starter/sync-brain-starter)
Your own site
<a href="https://agentmods.dev/skills/michaeljauk/brain-starter/sync-brain-starter"><img src="https://agentmods.dev/badge/skills/michaeljauk/brain-starter/sync-brain-starter/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.

agentmods 80×15 button for sync-brain-starter

Your own site · 80×15
<a href="https://agentmods.dev/skills/michaeljauk/brain-starter/sync-brain-starter"><img src="https://agentmods.dev/badge/skills/michaeljauk/brain-starter/sync-brain-starter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,124 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.01124
Opus 5.5 $0.00019 $0.00450
Sonnet 5.5 $0.00009 $0.00225
Haiku 4.5 $0.00005 $0.00112

Measured 1mo ago against content hash b52510acf072, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sync-brain-starter 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 1mo 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.

.claude/skills/sync-brain-starter/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sync Brain Starter

Syncs reusable parts from the private brain repo (~/brain) to the public template repo (~/tech/brain-starter). Copies skills, configs, and templates — then shows a diff for review before committing.

Trigger phrases

  • /sync-brain-starter
  • "sync brain starter"
  • "push changes to the template"
  • "update brain-starter"

Step-by-step workflow

1. Run the sync script

bash ~/brain/scripts/sync-brain-starter.sh

This copies:

  • Vault skills (curated list): wrap-session-up, ingest-article, defuddle, obsidian-cli, obsidian-markdown, obsidian-bases, json-canvas, gws-obsidian-prep, project-sync, research-spike, save-answer, lint-brain, qmd, find-skills, sync-brain-starter
  • Configs: commitlint.config.js, .husky/commit-msg, docs/templates.md, docs/integrations.md

It does NOT copy:

  • CLAUDE.md, README.md, package.json, .claude/memory/MEMORY.md -- these are generalized differently in the template
  • Global/plugin skills -- brain-starter no longer bundles plugin skills (gstack, gws, todoist, m365, etc.). Users install these globally via their own install commands.

2. Review the diff

cd ~/tech/brain-starter && git diff

Run the leak gate. Do not eyeball the diff.

bash docs/scripts/leak-gate.sh --worktree

Reading a diff is not a check. Edit the TERMS list in that script first — it should name every client, employer, colleague, product and account that must never reach the public copy, plus the token shapes for secrets. Keep the script in the private repo; the list is itself sensitive.

A hit is a blocker. Replace it with a placeholder (acme, jane-doe, your-org.atlassian.net, ACME-123, ~/), then run the gate again. Do not report the sync as clean until the command prints nothing.

To judge whether the public repo was ever exposed, scan the history, not the tree. git grep <rev> searches that revision's tree and says nothing about older commits: bash docs/scripts/leak-gate.sh --history.

Read the full file on GitHub · 109 lines

Changes

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.

  1. 1mo ago First seen · 109 lines · 47 tokens per session scan A b52510acf072

Subscribe to this mod's changes

sync-brain-starter is a skill published in the GitHub repository michaeljauk/brain-starter (5 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 1,124 once invoked, about $0.0002 per session on Opus 5.5. 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-08-31.

Related

Other skills, from other repositories

github-deep-review

GitHub deep review: bugs, PRs, best fix, stale-or-real, read code first.

sublimecoder/aios · 26 tokens

release-rollback

A release and rollback checklist for code or scripts, covering readiness checks, release decisions, and recovery after an incident.

dzhokhov/markdown-agent-vault-ru · 101 tokens

git-wrapup

Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts). The work commits land first, then the version bump, verification, and the release commit on top. Stops at "committed locally on main" — or, when the project releases…

cyanheads/obsidian-mcp-server · 109 tokens

release-and-publish

Ship a release end-to-end across every registry the project targets (npm, MCP Registry, GitHub Releases for .mcpb bundles, GHCR). Runs the final verification gate, fast-forwards main when the release rode a release PR, creates the annotated tag on the commit main now points at, pushes commits and tags, then publishes…

cyanheads/obsidian-mcp-server · 155 tokens

release-pr-review

Review pass on an open release PR (release/ → main) — the step between git-wrapup and release-and-publish when a project releases in gated release PR mode. Reads the PR's commit range through the code-simplifier lens plus a correctness review, verifies whatever an automated reviewer left on the PR, lands fixes as…

cyanheads/obsidian-mcp-server · 136 tokens

backfill

Reconstruct an OKF bundle by event-sourcing a repository's history (git log and Claude session transcripts). Use when creating an .okf/ bundle for an existing repository that predates this skill, or when resuming an interrupted backfill session. Triggers on: "reconstruct the OKF bundle", "backfill the knowledge…

scaccogatto/okf-skills · 80 tokens