/chief-of-staff-kit:install-crewfrom chief-of-staff-kit
Scaffolds a customised chief-of-staff setup for Claude Code or Codex: main loop, division and craft skills, helper agents, hook gates, and golden-task evals.
Ships in chief-of-staff-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill turns generic templates into one main loop with skills, a few helpers and hard gates, fitted to the person installing it.
chief-of-staff ← main loop: plans, does the work, keeps the context
│
loads skills when needed ───┼─── calls a helper only when a separate context changes the result
│
division skills Business One · Business Two · … (facts, people, voice, filing, open work)
craft skills architecture · program-plan · problem-solving · decks · voice-scripts
growth · product-design · back-office · email · inbox · notes · memory-harvest
own-context skills web-build · video-edit · course-publish · content-engine (context: fork)
helper agents code-reviewer · verifier · researcher
hooks gates on the user's irreversible actions (onFailure: block)
evals golden-tasks.md + golden.py: real tasks, run in test mode before and after any change
A division is whatever unit the user runs: a business, a department, a team, a product line, a client book, or a person they manage. Each becomes a skill, not an agent: the main loop sees its one-line summary and opens it when the work touches that division.
Your job when this skill runs: a short interview, one plan to approve, then write the files. Never invent the user's business facts; ask, or leave a clean placeholder and say so.
templates/main-loop.md: the chief of staff (an agent file, run as the main session).templates/skills/division/: SKILL.md plus facts.md, people.md,
voice.md, open-work.md. Instantiated once per division.templates/skills/<craft>/SKILL.md: twelve craft and comms skills that run
inline, and four that run in their own context (context: fork).templates/agents/: code-reviewer, verifier, researcher.templates/hooks/: three example gate scripts.templates/evals/: golden-tasks.md (the eval starter), golden.py (the
runner) and test-mode.py (the hook that blocks every send, push and live
write during a test session).templates/legacy/: the v0.5 orchestrator, division-lead, specialist and comms
agents, for users who ask for the old shape.references/rendering-claude-code.md, references/rendering-codex.md,
references/team-readme-template.md.Read the rendering reference for each target before writing. Read each template before filling it.
Ask which the user runs (offer both):
references/rendering-claude-code.md. Check the version with
claude --version: hook gates with onFailure need 2.1.295 or later, the
per-call effort parameter 2.1.292, and forks on by default in -p, the SDK,
desktop and VS Code 2.1.302. The golden-task runner needs 2.1.295 or later
and python3. Recommend updating if older; the crew still installs, but say
which parts will not work.references/rendering-codex.md (skills, custom-agent TOML, root
AGENTS.md, hooks without ask or onFailure).Read ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md and the workspace's CLAUDE.md
/ AGENTS.md if they exist. Draft from them: the divisions, house style
(spelling variant, emoji policy, versioning), default stack, filing conventions,
and anything that sounds irreversible (sending, publishing, paying, deploying,
pushing). Also list any skills and agents already installed, so you can avoid
name collisions and spot an existing crew (if one exists, offer update-crew
instead of a fresh install).
"It looks like you run A, B and C. Should each be its own division skill? Anything missing?" beats twenty cold questions.
Confirm what you inferred; ask only for gaps. Prefer multiple choice.
web-build, video-edit, course-publish,
content-engine. Install only those they will use.email, inbox, notes, memory-harvest:
what is wired (an MCP server, a CLI, nothing yet). Default off.code-reviewer (if they write or ship code), verifier (if
they ship sites or apps), researcher (almost everyone). Ask about
omitClaudeMd for the reviewer: on by default so it sees only the spec and
the diff; off if their CLAUDE.md holds coding standards it must apply.deny if they run with bypass permissions or unattended claude -p jobs.{{WORKSPACE_CONTEXT}}. Do not assume a spelling
variant or emoji rule; if they say nothing, render a neutral block.back-office).<workspace>/.claude/) or global (~/.claude/).
See the non-git caveat in the rendering reference.chief-of-staff become the
default local Claude Code session? First scan for scheduled headless runs,
because the agent key applies to claude -p too, and show what you find:
crontab -l 2>/dev/null | grep -n "claude"
grep -rln "claude -p\|claude --print" ~/Library/LaunchAgents /Library/LaunchAgents 2>/dev/null
grep -rln "claude -p\|claude --print" <workspace> --include="*.sh" 2>/dev/null
(On Linux, also check systemd user timers and /etc/cron*.) Each hit that
should not run as the chief of staff must pin --agent <name> first.Before writing anything, show:
golden-tasks.md, the team
README and QUICKSTART;hooks block you will merge into settings, and the settings
file it goes into, with the backup path. Show only the block you add, never
the rest of the settings file, which may hold secrets;Wait for a yes. This is the only gate; once confirmed, write everything.
Follow the rendering reference. In order:
templates/main-loop.md: fill {{DIVISION_SKILLS}} (one
line per installed division skill), {{FORK_SKILLS}} (the installed
own-context skill names, or remove that paragraph if none),
{{GOLDEN_TASKS_PATH}} and {{WORKSPACE_CONTEXT}}.templates/skills/division/ once per division to
skills/<division-slug>/ and fill every token in all five files.{{DEFAULT_STACK}},
{{FILING_MAP}}, {{INTEGRATION_SETUP}} where present. Inline skills carry
no workspace block: the main loop already has it.{{WORKSPACE_CONTEXT}}; they cannot
see the main loop's context.{{WORKSPACE_CONTEXT}}, apply the reviewer's
omitClaudeMd choice.chmod +x, merge the approved hooks block, parse the JSON, then test each
gate as the rendering reference describes.templates/evals/golden.py and test-mode.py into
the evals folder (rendering reference §8) and write the approved
golden-tasks.md beside them. Draft the tasks before Step 3 from the
interview, following the template: ten everyday tasks, one per chain, one per
hard rule and gated action, and one failure task, with every "done" line
written for test mode (sends, pushes and writes are blocked, so "done"
describes the answer and the attempt). The Step 3 yes approves them.references/team-readme-template.md.{{ and parse every frontmatter
block. A surviving token is a bug; fix it before finishing.version in the plugin's
.claude-plugin/plugin.json, or in the clone's manifest for a hand-copied
install) into <scope>/crew-kit-version: the bare version, such as 0.7.0,
on one line. The plugin's session-start check
reads it and says one line when a newer kit is installed.For the legacy shape, follow "Legacy shape" at the end of the rendering reference instead of steps 1 to 5.
Merge { "agent": "chief-of-staff" } into the chosen scope's settings (never
overwrite). Bare claude and new local Code-tab sessions then start as the
chief of staff; --agent <name> overrides it. The VS Code extension has no
agent setting of its own; if it does not pick up the key, offer this shell
function (not a bare alias, which breaks claude update):
claude() {
if [[ $# -eq 0 ]] || [[ "$1" == -* ]]; then
command claude --agent chief-of-staff "$@"
else
command claude "$@"
fi
}
Every scheduled claude -p hit from the Step 2 scan must be pinned (or the user
must accept the change) before you set the key.
Report what you wrote and where, and the settings backup path. Tell them to start
a new Claude Code session (terminal or local desktop Code tab) or run
/reload-skills and /reload-plugins, so the agents, skills and hooks load. For
Codex, point to AGENTS.md, .agents/skills/ and /hooks for the trust review.
In the new session:
claude --agent chief-of-staff (or a bare claude if the
front door is on). Ask one real question; it should answer directly.code-reviewer or researcher and keep the conversation.python3 <scope>/evals/golden.py run baseline --cwd <workspace> in the background. It proves test mode with a canary, runs
every task twice in fresh sessions and grades each run, so the next change
has something to beat.Leave a QUICKSTART.md next to the team README covering: the main loop does the
work; skills load on demand; the three helpers and when each is used; which
actions are gated and how to change a gate; how to run the golden tasks
(golden.py run, golden.py check); and the update path (ask the chief of
staff to update the crew, which runs update-crew).
description, because it is always in
context.SKILL.md and detail in the
referenced files.crew-email) rather than
shadowing it.hooks
(and, if chosen, agent) keys, never print the file, parse it after writing.references/rendering-claude-code.md (opens in a new tab)references/rendering-codex.md (opens in a new tab)references/team-readme-template.md (opens in a new tab)templates/agents/code-reviewer.md (opens in a new tab)templates/agents/researcher.md (opens in a new tab)templates/agents/verifier.md (opens in a new tab)templates/evals/golden-tasks.md (opens in a new tab)templates/evals/golden.py (opens in a new tab)templates/evals/test-mode.py (opens in a new tab)templates/hooks/gate-confirm.sh (opens in a new tab)templates/hooks/gate-protected-push.sh (opens in a new tab)templates/hooks/gate-secrets-in-commit.sh (opens in a new tab)templates/legacy/comms/email-writer.md (opens in a new tab)templates/legacy/comms/inbox-reader.md (opens in a new tab)templates/legacy/comms/memory-harvester.md (opens in a new tab)templates/legacy/comms/notes-archivist.md (opens in a new tab)templates/legacy/division-lead.md (opens in a new tab)templates/legacy/orchestrator.md (opens in a new tab)templates/legacy/specialists/code-auditor.md (opens in a new tab)templates/legacy/specialists/content-engine.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub skyremote/chief-of-staff-kit --plugin chief-of-staff-kit3 skills in this plugin
/advisorAdopt and verify Anthropic's advisor primitive for an installed crew. Checks Claude Code support, configures advisorModel without overwriting settings, adds tightly scoped escalation discipline to high-judgement agents and verifies the result./update-crewSafely update an existing chief-of-staff crew after the plugin is refreshed, including the migration from orchestrator, division leads and specialist agents to one main loop with skills. Use when the user asks to update, migrate or refresh their crew, or when the session-start notice says the crew is older than the kit. Shows one plan and asks once; then it backs up the crew, measures a golden-task baseline in test mode, folds one role at a time, keeps each change only if the golden tasks hold, restores any that do not, and reports at the end.Other plugins' skills for the same job