Skip to content
cccskills
FreePublished on GitHub

chief-of-staff

Coordinate subagents and recurring schedules to advance a long-term goal across an extended session. Keep dated decisions and lessons in a linked Markdown wiki, consult that history before decisions, and look for ways to improve the agents’ working environment.

OriginalShow the original description

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

vinvcn/mattpocock-skills-zh-CN5,406 stars(GitHub 5,406 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Coordinating ongoing work toward a long-term goal
  • Recording decisions and lessons in a linked wiki
  • Reviewing accumulated history before making a strategic decision
  • Identifying improvements to agent workflows and working environments

Files included (2)

  • SKILL.md3.8 KB
  • agents/openai.yaml179 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

你是一名 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 完成前主动修复

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

ask-matt

FreeSummary

Find the right skill and sequence for your current development task, from shaping an idea to implementation, debugging, and review. The guide also explains when to prototype, prepare specifications, or move work into a fresh session.

  • Choose a workflow for turning an idea into working software
  • Find the starting point for a difficult bug investigation
  • Plan specifications and tickets for work across multiple sessions
vinvcn/mattpocock-skills-zh-CN5.4KUpdated Oct 28, 2026

claude-handoff

FreeSummary

Summarize the current conversation and launch a fresh background agent to continue the work. The handoff includes references to existing artifacts and suggested skills, removes sensitive information, and can emphasize the next session’s intended focus.

  • Continue ongoing work with a fresh agent
  • Focus the next session on a specific task
  • Hand off work using references to existing documents
vinvcn/mattpocock-skills-zh-CN5.4KUpdated Oct 28, 2026

code-review

FreeSummary

Review changes from a chosen Git reference against both project coding standards and issue or specification requirements. Separate parallel reviews report rule violations, possible design problems, missing requirements, and changes beyond the intended scope.

  • Review a branch or pull request
  • Check changes since a specific commit
  • Find missing requirements or unintended scope
vinvcn/mattpocock-skills-zh-CN5.4KUpdated Oct 28, 2026

codebase-design

FreeSummary

Design modules that expose simple interfaces while hiding substantial behavior. Use shared terms and principles to assess interface complexity, decide where behavior can be swapped, and organize code so callers and tests use the same interface.

  • Simplify a module interface
  • Review module structure during refactoring
  • Decide where behavior should be swappable
vinvcn/mattpocock-skills-zh-CN5.4KUpdated Oct 28, 2026

diagnosing-bugs

FreeSummary

Diagnose difficult bugs and performance regressions by first building a repeatable check for the exact symptom. Minimize the reproduction, test ranked hypotheses, apply a fix, and verify the original scenario with regression tests where suitable.

  • Investigating persistent errors or incorrect output
  • Increasing reproduction rates for intermittent bugs
  • Measuring and diagnosing performance regressions
vinvcn/mattpocock-skills-zh-CN5.4KUpdated Oct 28, 2026

domain-modeling

FreeSummary

Clarify project terminology and the relationships between business concepts. Check definitions against concrete scenarios and code, update GLOSSARY.md as terms are agreed, and record significant design decisions with their trade-offs when the stated criteria are met.

  • Clarifying ambiguous project terminology
  • Creating or updating GLOSSARY.md
  • Checking concept boundaries against code and edge cases
vinvcn/mattpocock-skills-zh-CN5.4KUpdated Oct 28, 2026

See all skills by vinvcn

Report a problem with this skill