Skip to content
alyn
vinvcn

Chief Of Staff skill

在单个 session 中通过协调 subagents 来推进一个长期目标。

$npx skills add vinvcn/mattpocock-skills-zh-CN --skill chief-of-staff
View this skill on GitHubvinvcn/mattpocock-skills-zh-CN/skills/in-progress/chief-of-staff/SKILL.md
Pack stars
5,675
Pack installs
188k
Alyn Score
67/99
Updated
15 h ago
License
MIT
– views – installs via Alyn

Install Chief Of Staff

Pick your agent. Every command is ready to paste.

$npx skills add vinvcn/mattpocock-skills-zh-CN --skill chief-of-staff

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads chief-of-staff when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the chief-of-staff skill”. In Codex, type $chief-of-staff.

The skill itself

SKILL.md

FolderGitHub

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

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

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

Schedules

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

Subagents

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

使用 background agents,这样你可以与用户保持活跃的对话。每个 subagent 都要在全新的 context window 中启动。

与 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 完成前主动修复

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

Tips for Chief Of Staff

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Chief Of Staff

What does the Chief Of Staff skill do?

在单个 session 中通过协调 subagents 来推进一个长期目标。

How do I install Chief Of Staff?

Run "npx skills add vinvcn/mattpocock-skills-zh-CN --skill chief-of-staff" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Chief Of Staff work in Cursor and Codex?

Yes. Chief Of Staff uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Chief Of Staff free?

Chief Of Staff is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.

Who made Chief Of Staff?

Chief Of Staff is published by vinvcn in the vinvcn/mattpocock-skills-zh-CN repository, together with 29 other skills.

Similar skills. From other creators.