chief-of-staff

Coordinate subagents and maintain tribal knowledge to pursue long-running goals across sessions.

309k|26.0k|Updated Feb 3, 2026
Ready to run
npx skills add https://github.com/mattpocock/skills --skill chief-of-staff-mattpocock
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: chief-of-staff
Source: https://github.com/mattpocock/skills/tree/main/skills/in-progress/chief-of-staff
Command: npx skills add https://github.com/mattpocock/skills --skill chief-of-staff-mattpocock

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Long-term projects lose context and institutional knowledge when sessions end. This Skill prevents that by acting as a persistent coordinator that delegates work to subagents while maintaining a searchable wiki of decisions, findings, and strategic insights that survives session boundaries. ## Core Features & Use Cases - Subagent Coordination: Dispatch work to background agents with fresh context windows while staying in active dialogue with the user through context pointers. - Wiki-Based Memory: Build an interlinked markdown knowledge base that persists across sessions, capturing decisions, recurring problems, and subsystems with dated claims and commit references. - Strategic Environment Improvement: Identify and implement foundational changes (APIs, lint rules, data sources) that help all future agents succeed, not just the current task. - Use Case: You're building a complex feature over weeks. Rather than starting each session from scratch, the chief of staff reads the wiki to understand prior decisions, dispatches implementation work to specialized subagents, logs findings back to the wiki, and suggests improvements to the codebase that make the next task easier. ## Quick Start Invoke this Skill when you have a goal that will take multiple sessions, and agree with the user on a wiki location before the first write.

Frequently Asked Questions about chief-of-staff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a wiki for the chief-of-staff skill?▼

Create an index.md listing all pages with one-line summaries grouped by category. Each other page covers one topic (decision, subsystem, user preference) with dated claims and commit citations. Link related pages bidirectionally and update the index and all affected pages when you learn something new, not just a single page.

When should I run a retro on subagent sessions?▼

Run a retro on about one in five subagent sessions, prioritizing those where something went wrong. The chief-of-staff then decides which findings are worth pursuing and acts on them, rather than deferring all decisions back to the user.

What is the difference between context pointers and duplicating information?▼

Context pointers reference existing sources (commits, issues, wiki pages) by link and location. Never copy information into a subagent message that already lives elsewhere; instead, send the pointer and let the subagent read it directly. This preserves context budget.

How do I identify environment improvements that help all agents succeed?▼

Look for patterns in subagent failures or workarounds: missing lint rules that would catch bugs, APIs that require defensive code, or data sources agents lack access to. Fix these proactively before feature work starts, following the 'no workarounds' rule.

Why should I write dated claims with commit references in the wiki?▼

Code changes over time, so a claim like 'the config loader reads from /etc' is only true at a specific commit. Dated, commit-referenced claims let the next session's agents verify whether guidance is still current without re-learning the entire history.

How do I handle wiki pages about code that has changed?▼

Never rewrite old claims. Add a new dated entry describing the new state and mark the old one superseded. This preserves decision history and lets agents see why changes were made.