/ai-agent-engineering:chief-of-stafffrom ai-agent-engineering
Coordinates subagents and maintains a wiki to pursue long-running goals in a single session. Useful for complex, multi-step tasks that span many turns.
Ships in ai-agent-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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:
Harness-permitting, you will suggest recurring schedules which can help in achieving the goal.
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.
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.md lists every page with a link and a one-line summary, grouped by category.Three operations keep it alive:
index.md and the pages it points to. If the answer you build is worth keeping, file it as a page.The wiki is a historical record. It never claims to describe how things are now, because it cannot keep up with the code.
mattpocock/skills@abc1234, retro loads writing-for-agents in step 1."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/SKILL.md): run a retro on about one in five of your subagents' sessions, including those an implement-spec run 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.../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.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:
They also need relevant data sources to succeed:
Finally, create environments (and codebases) that obey the "no workarounds" rule:
Be relentless in improving the environment. Use every user message as an excuse to search for these improvements.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
subagents, long-running-goals, wiki, tribal-knowledge, task-coordination
npx claudepluginhub marslanalvi/skillsstack --plugin ai-agent-engineering54 skills in this plugin
/agent-architecture-auditFull-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack./agent-evalHead-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression./agent-harness-constructionDesign and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent's tool set, action space, or observation format./agentic-engineeringOperate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end./agentic-osBuild persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling./agent-introspection-debuggingStructured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.Other plugins' skills for the same job