# Agent Hierarchy (agent skill)

> Agent Hierarchy is an agent skill (a SKILL.md file) from cbrock84/headcount. Designs orchestrator-and-subagent hierarchies for a repository — splitting agents by exclusive write surface, pairing every producer with an independent auditor, and enforcing the split with a. It works with Claude Code and Codex and has 2,001 GitHub stars across a repository of 2 listed skills.

Designs orchestrator-and-subagent hierarchies for a repository — splitting agents by exclusive write surface, pairing every producer with an independent auditor, and enforcing the split with a script that runs in CI. Use this whenever the user wants to set up, expand, audit, or fix a multi-agent or subagent structure for a codebase; asks how to divide work between agents; wants agent charters, roles, or a surface map written; or is hitting agents that collide on the same files, review their…

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/cbrock84/headcount |
| Skill path | plugins/executive/skills/agent-hierarchy/SKILL.md |
| Skill name | agent-hierarchy |
| GitHub stars | 2,001 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 2 |
| Plugin marketplace | headcount |
| Official | no |
| Works with | Claude Code, Codex |
| Category | Security |
| Last commit | Sep 17, 2026 |

## When it triggers

- Use this whenever the user wants to set up, expand, audit, or fix a multi-agent or subagent structure for a codebase; asks how to divide work between agents; wants agent charters, roles, or a surface map written; or is hitting agents that c
- use when sizing a roster or deciding whether a new agent is justified.

## Add this skill

### Claude Code

```sh
/plugin marketplace add cbrock84/headcount
/plugin install executive@headcount
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/cbrock84/headcount.git
cp -r headcount/plugins/executive/skills/agent-hierarchy .agents/skills/agent-hierarchy   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/cbrock84/headcount.git
cp -r headcount/plugins/executive/skills/agent-hierarchy .cursor/skills/agent-hierarchy   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/cbrock84-agent-hierarchy
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
