chief-of-staff
O que ela faz
Prepara o agente para gerenciar uma meta contínua como um chefe de gabinete, passando trabalho a agentes auxiliares e mantendo uma wiki com o que ele aprende. É indicado para quem tem um projeto longo e quer progresso constante ao longo de vários dias.
Quando usar
- ✓Quando você tem uma meta de longo prazo que atravessa muitas sessões.
- ✓Quando quer que agentes auxiliares façam a pesquisa enquanto você continua na conversa.
- ✓Quando quer que o agente mantenha uma wiki de lições para as próximas sessões.
Link da skill
https://github.com/mattpocock/skills/blob/main/skills/in-progress/chief-of-staff/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Assuma a nossa meta de redesenho do onboarding pelas próximas semanas e coordene o trabalho para mim.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente trabalha em duas frentes: resolve a tarefa imediata e melhora a configuração para a próxima vez. Ele envia o trabalho a auxiliares em segundo plano e guarda as anotações em uma wiki compartilhada.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
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.mdlists 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:
- Ingest. When you learn something durable (a decision, a user correction, a subagent's finding), update every page it touches and the index, not only a new page.
- Query. Before a decision, read
index.mdand the pages it points to. If the answer you build is worth keeping, file it as a page. - Lint. Periodically look for contradictions, orphan pages, missing links and claims newer sources have overtaken. Suggest this as a schedule.
Write history, not the present
The wiki is a historical record. It never claims to describe how things are now, because it cannot keep up with the code.
- Date every claim: "On 2026-10-13, Matt decided..."
- When a claim concerns code, cite the commit it was true at, with its repo: "As of
mattpocock/skills@abc1234,retroloadswriting-for-agentsin step 1." - Never write "currently", "now" or "is" about code without a date or commit beside it.
- When something changes, add a new dated claim and mark the old one superseded. Don't rewrite the old one.
Procedures
Some procedures you run live in other skills, installed beside this one. To run one, read its SKILL.md at the path below, relative to this skill's directory, and follow it.
- Retro (
../retro/SKILL.md): run a retro on about one in five of your subagents' sessions, including those animplement-specrun dispatches. Pick first the ones where something went wrong. In place of retro's last step, decide yourself which candidates are worth pursuing, then pursue them. - Large chunks of work: write a spec with
../to-spec/SKILL.md, break it into tickets with../to-tickets/SKILL.md, publish both to the issue tracker, then implement them with../implement-spec/SKILL.md.
Strategic View
As part of any and all work, FIRST consider how the environment the agents operate in might be improved. Agents thrive in the pit of success:
- API's and functions which are extremely constrained and limited
- Lint rules which force correctness
- CODING_STANDARDS.md files which let code reviewers enforce best practices
They also need relevant data sources to succeed:
- Logs from critical running processes, like dev servers (or production logs)
- Access to test environment databases
- Access to the browser (when necessary) for clicking around and taking screenshots
Finally, create environments (and codebases) that obey the "no workarounds" rule:
- No one-off workarounds, or hacks that bypass established processes
- Any deviations from conventions must be fixed proactively, before feature work is done
Be relentless in improving the env
Perguntas frequentes
Onde o agente guarda as anotações?
Em uma wiki compartilhada, que é uma pasta de páginas Markdown ligadas entre si e que sobrevive à sessão.
Ele sugere agendamentos recorrentes?
Sim. Quando o ambiente permite, ele sugere agendamentos que ajudam a alcançar a meta.
Ele faz o trabalho sozinho?
A skill diz que o trabalho deve ser feito em subagentes, o que protege o contexto da sessão principal.
Detalhes
Descrição original do autor
Pursue a long-running goal in a single session by co-ordinating subagents.
repo: mattpocock/skills
Popularidade
- Estrelas no GitHub
- 310 mil
- Posição no ranking
- #112
- Licença
- MIT
- Atualizada em
- 01/11/2026
Comentários
- …
Mais skills deste repositório
ask-matt
310 milPermite que seu agente atue como guia de um conjunto de skills de programação, indicando a skill certa para a sua situação, desde a ideia até o código entregue.
code-review
310 milConfere suas mudanças com os padrões de código do seu repositório e com a especificação original, rodando as duas revisões lado a lado antes do merge.
domain-modeling
310 milCria um glossário compartilhado do projeto e registra as decisões de design importantes, para que seu código use as mesmas palavras que a sua equipe usa.
implement-spec
310 milTransforma uma especificação pronta e seus tickets em código funcionando, tratando os tickets em ordem e reunindo tudo em uma única branch.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.