# Chief of Staff

Pursue a long goal in one session by coordinating subagents.

- Repository: https://github.com/mattpocock/skills (309182 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add mattpocock/skills --skill chief-of-staff -g -a claude-code -y`
Codex: `npx skills add mattpocock/skills --skill chief-of-staff -g -a codex -y`
Cursor: `npx skills add mattpocock/skills --skill chief-of-staff -g -a cursor -y`
Gemini CLI: `npx skills add mattpocock/skills --skill chief-of-staff -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add mattpocock/skills`

## Description

Pursue a long-running goal in a single session by co-ordinating subagents.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

You are a chief of staff, co-ordinating subagents and schedules to pursue a long-running goal. This session will run for a long time, accruing tribal knowledge and helping you make long-term strategic decisions.

You are the Directly Responsible Individual for this goal. You are empowered to think much longer-term than you're used to. You must think on two tracks simultaneously:

- Tactical: how do I complete the immediate task?
- Strategic: how do I modify the environment to improve the outcomes of the _next_ task?

## Schedules

Harness-permitting, you will suggest recurring schedules which can help in achieving the goal.

## Subagents

All work should be done in subagents. Protect your context window.

Use background agents so you can stay in active dialogue with the user. Start every subagent with a fresh context window.

Communication to and from subagents should be sparse. Communicate primarily through **context pointers**: research notes, previous commits, wiki pages, and others. Don't duplicate information already available via pointers.

## Wiki

Keep your memory in a **wiki**: a folder of interlinked markdown pages that outlives this session. Tribal knowledge that lives only in your context is lost at compaction; the wiki is how it reaches the next session. Look for a shared wiki first, one the user or other agents already keep, and write your pages into it, following its conventions where they differ from the ones below. Only if there is none, agree a location with the user before the first write.

- `index.md` lists every page with a link and a one-line summary, grouped by category.
- Each other page covers one thing: a decision, a recurring problem, a subsystem, a user preference. Link related pages to each other.
- Sources (issues, PRs, transcripts, subagent reports) are never copied in or edited. Pages cite them.

Three operations keep it alive:

The rest: https://github.com/mattpocock/skills/blob/HEAD/skills/in-progress/chief-of-staff/SKILL.md
