chief-of-staff

chief-of-staff is a skill for Claude Code, Codex from vinvcn/mattpocock-skills-zh-CN. It costs 20 tokens per session (951 once invoked), scanned A, original, MIT.

A long-running coordination role that uses subagents, recurring schedules, and a linked folder of Markdown notes called a wiki. The wiki preserves decisions, problems, preferences, and other knowledge between sessions.

In plain words
What is it for?
Use it to advance a long-term goal, assign work to background agents, maintain durable project notes, and periodically check those notes for missing links or conflicts.
Why use it?
It prevents important project knowledge from living only in a conversation that may later be shortened or forgotten. It also gives ongoing work a place to record history, check contradictions, and connect related decisions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents.

Part of the mattpocock-skills plugin — 39 skills shipped together

Good fit Use it to advance a long-term goal, assign work to background agents, maintain durable project notes, and periodically check those notes for missing links or conflicts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vinvcn/mattpocock-skills-zh-cn/chief-of-staff
About the project

mattpocock-skills-zh-CN is a Simplified Chinese localization of a collection of reusable instructions for coding agents. Chinese-speaking developers use the translated skills to support engineering workflows while keeping their original commands, paths, identifiers, and behavior. The catalogue contains the localized skills, instructions, and plugin components.

vinvcn/mattpocock-skills-zh-CN · 5,387 stars · on GitHub · skills.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vinvcn/mattpocock-skills-zh-CN --skill chief-of-staff
Clone the repo
git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN

Made for: Claude Code, Codex.

Or install mattpocock-skills, the plugin that ships this one along with the rest of its 39 skills.

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 chief-of-staff

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinvcn/mattpocock-skills-zh-cn/chief-of-staff/github.svg)](https://agentmods.dev/skills/vinvcn/mattpocock-skills-zh-cn/chief-of-staff)
Your own site
<a href="https://agentmods.dev/skills/vinvcn/mattpocock-skills-zh-cn/chief-of-staff"><img src="https://agentmods.dev/badge/skills/vinvcn/mattpocock-skills-zh-cn/chief-of-staff/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 chief-of-staff

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinvcn/mattpocock-skills-zh-cn/chief-of-staff"><img src="https://agentmods.dev/badge/skills/vinvcn/mattpocock-skills-zh-cn/chief-of-staff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 951 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.00020 $0.00951
Opus 5.5 $0.00008 $0.00380
Sonnet 5.5 $0.00004 $0.00190
Haiku 4.5 $0.00002 $0.00095

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

Security

Grade A, and why

chief-of-staff 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 today.

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.

skills/in-progress/chief-of-staff/SKILL.md · 69 lines

What it actually says

你是一名 chief of staff,负责协调 subagents 和 schedules,推进一个长期目标。这个 session 会运行很长时间,不断积累 tribal knowledge,帮助你做出长期战略决策。

你是这个目标的 Directly Responsible Individual。你有权想得比你习惯的更长远。你必须同时在两条轨道上思考:

  • 战术:我如何完成眼下的任务?
  • 战略:我如何改进环境,让 下一个 任务取得更好的结果?

Schedules

在 harness 允许的前提下,你要建议有助于达成目标的 recurring schedules。

Subagents

所有工作都应在 subagents 中完成。保护你的 context window。

使用 background agents,这样你可以与用户保持活跃的对话。

与 subagents 的通信应当简洁。主要通过 context pointers 通信:research notes、之前的 commits、wiki pages 等。不要重复 pointers 已经提供的信息。

Wiki

把你的记忆保存在一个 wiki 中:一个由互相链接的 markdown pages 组成的 folder,寿命超过这个 session。只存在于你 context 里的 tribal knowledge 会在 compaction 时丢失;wiki 是它抵达下一个 session 的途径。如果这个目标还没有 wiki,在第一次写入之前先与用户商定它的位置。

  • index.md 列出每个页面,附上链接和一行摘要,按类别分组。
  • 其余每个页面只覆盖一件事:一个 decision、一个 recurring problem、一个 subsystem、一个用户偏好。把相关页面互相链接。
  • 来源(issues、PRs、transcripts、subagent reports)永远不会被复制进来或被编辑。页面引用它们。

三个操作让它保持活力:

  • Ingest. 当你学到某个持久的东西(一个 decision、一次用户纠正、一个 subagent 的发现)时,更新它触及的每一个页面和 index,而不只是新开一个页面。
  • Query. 做决策之前,先读 index.md 和它指向的页面。如果你构建出的答案值得保留,就把它归档为一个页面。
  • Lint. 定期查找矛盾、孤立页面、缺失链接,以及被更新来源取代的断言。建议把它设为一个 schedule。

记录历史,而不是当下

wiki 是一份历史记录。它永远不声称描述事物现在的样子,因为它跟不上代码的变化。

  • 给每个断言标注日期:“2026-10-13,Matt 决定……”
  • 当断言与代码有关时,引用它成立时的那个 commit,并带上它所在的 repo:“在 mattpocock/skills@abc1234 时,retro 在第 1 步加载 writing-for-agents。”
  • 永远不要在没有日期或 commit 的情况下,用“目前”、“现在”或“是”来描述代码。
  • 当情况变化时,添加一条新的带日期断言,并把旧的标记为已被取代。不要改写旧断言。

战略视角

在承担任何工作时,第一件事是考虑如何改进 agents 所处的环境。Agents 在 pit of success 中茁壮成长:

  • 高度受限、非常有限的 API 和 functions
  • 强制正确性的 lint rules
  • 让 code reviewers 能 enforce best practices 的 CODING_STANDARDS.md 文件

它们还需要相关的 data sources 才能成功:

  • 来自关键运行进程的 logs,比如 dev servers(或 production logs)
  • 访问 test environment databases
  • (在必要时)访问 browser,用来四处点击和截图

最后,创建遵守 “no workarounds” 规则的 environments(和 codebases):

  • 不要 one-off workarounds,也不要绕过既有流程的 hacks
  • 任何偏离 conventions 的地方,都必须在 feature work 完成前主动修复

在改进环境这件事上不要松懈。把每一条用户消息都当作寻找这些改进的机会。

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 69 lines · 20 tokens per session scan A cd96f38f39ff

Subscribe to this mod's changes

chief-of-staff is a skill published in the GitHub repository vinvcn/mattpocock-skills-zh-CN (5,387 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 951 once invoked, about $0.0001 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-10-29.

Related

Other skills, from other repositories

wayfinder

A planning method for large or unclear work that maps the decisions needed between the current situation and a defined destination. It records the map and decision tickets in an issue tracker.

devcxl/mattpocock-skills-zh · 57 tokens

setup-matt-pocock-skills

A setup skill that configures engineering skills for a repository, including its issue tracker, labels, and documentation layout. A repository is the project folder managed by version control.

devcxl/mattpocock-skills-zh · 43 tokens

setup-ts-deep-modules

A setup for TypeScript packages that hides their implementation behind files at the package root. Dependency-cruiser checks that outside code uses these entry points, prevents dependency cycles, and keeps internal folders private.

devcxl/mattpocock-skills-zh · 49 tokens

codebase-design

A design vocabulary and set of principles for organizing software modules, meaning pieces of code with an interface and an implementation. It focuses on small interfaces that hide substantial behavior, clear points for changing behavior, and code that is easier to test.

devcxl/mattpocock-skills-zh · 59 tokens

triage

A structured issue-triage process that moves issues and, where configured, pull requests through classification and status steps. Triage means deciding what a report is, whether more information is needed, and who should handle it.

devcxl/mattpocock-skills-zh · 39 tokens

scaffold-exercises

A template builder for coding exercises, organized into sections and exercises with problem, solution, and explanation folders. It creates the files and structure expected by the project’s lint checker.

devcxl/mattpocock-skills-zh · 51 tokens