---
name: help
description: Answer questions about empstack itself and which skill fits a job.
---
# empstack help
Read the file you route to before you quote it, and trust it when it disagrees with this map. Answer in the user's words, give the one command to type, and stop.
## How it runs
- A session-start hook tells the agent to open `empstack:empstack` for every non-trivial engineering task. `/empstack:empstack <task>` starts it by hand.
- That skill first names the stage the task is at and the playbook it takes. **Wayfind** (Wayfinder) when the work is too big for one session and the way is unclear. **Decide** (Interview, Prototype, Investigation) when what to build is still open. **Decompose** (Decomposition) when settled work needs several PRs. **Build** for a change to make, **Ship** for a change to land. Each playbook ends by naming the one that comes next.
- The model's skill listing shows `empstack:empstack`, plus `help`, `recall`, `ketchup` and `diagram` for questions asked outside a task, and `session-autocompact` for a size the person asks for in words. The entry skill opens the rest when a step needs them, and offers the ones that are a task of their own, such as `create-verification-skill` or `correct`. These start only when the user types them: `setup`, `language` (a hook also offers it when replies come back in English), the `te-*` commands, `sharpen`, `reframe`, `ketchup-video`, `reflect`, `no-prose` and `update-empstack`.
- Before a task's first subagent the agent states its delegation plan in one sentence and spawns. With `subagent approval: on` in the switchboard it shows the plan and waits for a yes.
## Setup
1. `/plugin marketplace add jueyi6/empstack`, then `/plugin install empstack@empstack`.
2. `/empstack:setup` checks Node 22.18+, and Python 3.10+ for TokenEconomizer, offers to install the stable Python release when Python is missing, older than 3.10 or past end of life, then writes the switchboard, `~/.claude/empstack/switches.md`, with every switch at `auto`. Python applies to new sessions, the switchboard from the next spawn.
3. Optional, per repo: `/empstack:setup-tracker` records where issues live. The Wayfinder and Decomposition playbooks need it.
To cut cost, set `mode: solo` to start subagents only when asked, or pin a switch to a cheaper value, such as `swarm workers: sonnet high`.
## Switches
The switchboard, `~/.claude/empstack/switches.md`, holds the delegation settings and one switch per place where empstack starts subagents; [`/empstack:setup`](../setup/SKILL.md) lists them and writes it. Every subagent brief names its switch on a `Switch: <name>` line, and a brief without one reads `default`.
- `auto` leaves the model and effort to the AI that starts the subagent, judged per call. The ladder in [`subagents.md`](../empstack/references/subagents.md) is its starting point, not a rule.
- A pin, such as `bug-fix: sonnet high`, replaces the call's model, and its effort when the pin names one.
- `inherit` runs the subagent on its agent type's default model.
- `mode` sets how much the lead delegates, `subagent approval` whether the first subagent waits for a yes, `nested subagents` which subagents may start their own, `autonomous scope` what an Autonomous run fixes besides its goal (`goal`: only what the goal needs; `nearby`: also what it finds in the code, tests and tools it works in), `sidebar` whether the empstack sidebar opens by itself (`off`: only `/empstack-sidebar` opens it), and `adaptive autocompact` whether Claude may also decide when its chat compacts (`on`, the default) or Claude Code compacts only at the autocompact point (`off`). `/empstack-session-autocompact 400k` sets where this session alone auto-compacts, and `default` puts it back; asking in words runs the `session-autocompact` skill, which does the same.
- `haiku autocompact`, `sonnet autocompact`, `opus autocompact` and `fable autocompact` set where sessions and subagents on that model auto-compact (a size, or `auto` for the model's own context window). They stay in step both ways with `modelSettings.<model id>.autoCompactWindow` in `settings.json`: a switchboard edit is written there at the next prompt, a `settings.json` edit reaches the switchboard at the next session start, and a changed size applies from the next session.
- `<agent type> autocompact: <size>`, such as `poteto-agent autocompact: 150k` or `AAA-agent autocompact: 120k` for an agent defined in `~/.claude/agents/AAA-agent.md`, sets where subagents of that type auto-compact; no line, or `auto`, keeps the autocompact size of their model. empstack registers a copy of the agent's definition with that size and moves each spawn of the type to it. For `poteto-agent`, a switch that names a size wins over the line. Claude Code's built-in types (general-purpose, Explore, Plan) have no definition to copy and keep the model's size.
- `mcp idle: 60m` (any time, or `off`) routes the Claude desktop app's local MCP servers through empstack's idle proxy at each session start: each starts on its first tool call and stops after that much idle time. `mcp idle keep: a, b` keeps those servers always on, and `off` puts every server back. A change needs a desktop app restart, which Claude mentions with the first prompt. With no line, the desktop app's config is never read. See [`mcp-proxy/README.md`](../../mcp-proxy/README.md).
Edit the file by hand, rerun `/empstack:setup`, or change a row in the empstack sidebar's Switches block: press a value to set it; press a size or a switch to open it in a field, then apply. A hook reads it at every spawn, and the next prompt names the lines that changed.
## Pick a skill
The default answer is `/empstack:empstack`. Name another skill only when the user wants more or less than the playbook gives.
| The user wants to | Skill |
|---|---|
| Do any non-trivial task with rigor | [`/empstack:empstack`](../empstack/SKILL.md) |
| Check that the agent understood their goal and the problem before it starts | [`/empstack:in-your-own-words`](../in-your-own-words/SKILL.md) |
| Get a prompt rewritten deeper, not bigger, before sending it: what a top professional would add, their raw material and methods, and an outside check. It returns the prompt and doesn't do the task | [`/empstack:sharpen`](../sharpen/SKILL.md) |
| Learn the expert words for what they're building, including words borrowed from neighboring fields, with every cited source checked, and get their description rewritten with them | [`/empstack:reframe`](../reframe/SKILL.md) |
| Know how code works now, or where new code should live | [`/empstack:how`](../how/SKILL.md) |
| Know why code is shaped this way, or where a number came from | [`/empstack:why`](../why/SKILL.md) |
| Understand a change or subsystem, explained plainly | [`/empstack:teach`](../teach/SKILL.md) |
| Draw a flow, structure or plan as a color picture | [`/empstack:diagram`](../diagram/SKILL.md) |
| Catch up on their own recent work on a topic | [`/empstack:recall`](../recall/SKILL.md) |
| Catch up on what changed in this chat since their last message, in plain words and small visuals, with every item waiting on them listed and decidable from the reply alone | [`/empstack:ketchup`](../ketchup/SKILL.md) |
| Catch up like `/empstack:ketchup`, in a short subtitled video of slides, with the waiting calls as text under it | [`/empstack:ketchup-video`](../ketchup-video/SKILL.md) |
| Know what a small diff could break outside itself | [`/empstack:blast-radius`](../blast-radius/SKILL.md) |
| Settle types and module shape before code that crosses a function boundary | [`/empstack:architect`](../architect/SKILL.md) |
| Get several attempts at one brief, merged into the best one | [`/empstack:arena`](../arena/SKILL.md) |
| Run parallel checks over slices, or race workers | [`/empstack:swarm`](../swarm/SKILL.md) |
| Have several reviewers try to break a diff | [`/empstack:interrogate`](../interrogate/SKILL.md) |
| Fix a bug test-first when a cheap local test exists | [`/empstack:tdd`](../tdd/SKILL.md) |
| Apply TypeScript rules to `.ts` or `.tsx` work | [`/empstack:typescript-best-practices`](../typescript-best-practices/SKILL.md) |
| Strip comments before review, using a reviewer that didn't write them | [`/empstack:no-comments`](../no-comments/SKILL.md) |
| Clean AI tells out of prose | [`/empstack:unslop`](../unslop/SKILL.md) |
| Write docs, an RFC, a README, a PR description, or a commit message to a standard | [`/empstack:technical-writing`](../technical-writing/SKILL.md) |
| Hear the last reply again in plain words | [`/empstack:bro`](../bro/SKILL.md) |
| Give agents a scripted way to drive the app and prove behavior | [`/empstack:create-verification-skill`](../create-verification-skill/SKILL.md) |
| Bring a verification skill and its feature map back in line with the app | [`/empstack:maintain-verification-skill`](../maintain-verification-skill/SKILL.md) |
| Formally verify a race, invariant, or other property that tests rarely reach | [`/empstack:create-formal-verification-skill`](../create-formal-verification-skill/SKILL.md) |
| Bring a formal verification back in line after the code it covers changed, and learn whether a failure is drift or a bug | [`/empstack:maintain-formal-verification-skill`](../maintain-formal-verification-skill/SKILL.md) |
| Show a TLA+ model or a Lean 4 proof as Mermaid charts, with the shortest path to each rule break or unproven gap | [`/empstack:statechart`](../statechart/SKILL.md) |
| Vet a performance number before reporting or acting on it | [`/empstack:benchmark-checklist`](../benchmark-checklist/SKILL.md) |
| Run a large or cross-cutting change, or one to review after stepping away | [`/empstack:figure-it-out`](../figure-it-out/SKILL.md) |
| Keep a decision log during a run, and review it afterward | [`/empstack:show-me-your-work`](../show-me-your-work/SKILL.md) |
| Turn their own working habits into a personal mode skill | [`/empstack:automate-me`](../automate-me/SKILL.md) |
| Turn what a finished task taught into skill edits | [`/empstack:reflect`](../reflect/SKILL.md) |
| Stop agents from repeating the same mistakes in this repo | [`/empstack:correct`](../correct/SKILL.md) |
| Audit agent-facing docs, rules and skills, replace enforceable rules with code and checks, and prune the rest by blinded ablation | [`/empstack:no-prose`](../no-prose/SKILL.md) |
| Decide what to build by being interviewed, one round of questions at a time | The Decide stage: the [Interview](../empstack/playbooks/interview.md) playbook, which runs [`/empstack:grill`](../grill/SKILL.md) |
| Plan work too big for one session as a map of decision tickets, resolved one per session | The Wayfind stage: the [Wayfinder](../empstack/playbooks/wayfinder.md) playbook |
| Split agreed work into tickets with blocking edges, with a spec first when someone else builds it | The Decompose stage: the [Decomposition](../empstack/playbooks/decomposition.md) playbook |
| Make their own subagent type and give it a model switch and an autocompact size | The Build stage: the [Authoring a skill or agent](../empstack/playbooks/authoring-a-skill-or-agent.md) playbook |
| Tell empstack where this repo's issues and domain docs live | [`/empstack:setup-tracker`](../setup-tracker/SKILL.md) |
| Keep a glossary and ADRs | [`/empstack:domain-modeling`](../domain-modeling/SKILL.md) |
| Research outside sources into a cited file | [`/empstack:research`](../research/SKILL.md) |
| See or pin the model each subagent runs on, choose how much gets delegated, or check Python and Node | [`/empstack:setup`](../setup/SKILL.md) |
| Have replies that come out in English instead of their language (Korean, Japanese, Chinese, Russian, ...) sent back to be rewritten, or turn that off | [`/empstack:language`](../language/SKILL.md) |
| See what TokenEconomizer learned and did in this repo | [`/empstack:te-status`](../te-status/SKILL.md) |
| Turn a TokenEconomizer mechanism on or off, or tune it | [`/empstack:te-config`](../te-config/SKILL.md) |
| See the tools left out of this repo, or give one back | [`/empstack:te-toolprune`](../te-toolprune/SKILL.md) |
| See the repo facts injected at session start | [`/empstack:te-microskills`](../te-microskills/SKILL.md) |
| List or merge the repos TokenEconomizer keeps state for | [`/empstack:te-repos`](../te-repos/SKILL.md) |
| Port new upstream releases into empstack (maintainers) | [`/empstack:update-empstack`](../update-empstack/SKILL.md) |
If a skill directory next to this one is missing from the table, read its frontmatter and route by its description.
Close calls:
- `/empstack:how` explains what the code does. `/empstack:why` explains the reasons. `/empstack:teach` runs one or both and explains the result plainly.
- `/empstack:arena` gives every worker the same brief and merges the best parts. `/empstack:swarm` splits work into slices or a race and returns one report.
- `/empstack:interrogate` reviews the diff. `/empstack:blast-radius` looks for breakage outside the diff.
- `/empstack:recall` rebuilds context across recent sessions. `/empstack:ketchup` covers only this chat since the user's last message. Resuming one chat or branch is the Session pickup playbook.
- The Wayfinder playbook finds the way when the work is too big and unclear for one session and ends in decisions. `/empstack:figure-it-out` executes a large change whose way is known. The Decomposition playbook splits it into tickets.
- `/empstack:correct` starts from mistakes agents keep making and encodes fixes. `/empstack:no-prose` audits existing docs, rules and skills top-down and deletes prose that fails blinded ablation.
- `/empstack:grill` decides what to build. `/empstack:in-your-own-words` only checks the agent understood a settled request.
## Playbooks and principles
The stage step of [`empstack`](../empstack/SKILL.md) lists every playbook under its stage, and each lives at `../empstack/playbooks/<title>.md`. Its Principles section lists the principles and when each applies. Each leaf is `../principle-<title>/SKILL.md`.
empstack has no planning mode of its own. Asking for a plan runs the Interview playbook (Decide). Settled work that needs several PRs then goes to the Decomposition playbook, which publishes tickets and does not implement them.
## More
- [Prompting](references/prompting.md): how to word a request.
- [Recipes](references/recipes.md): common jobs end to end.
## When something looks wrong
| Symptom | Cause and fix |
|---|---|
| The agent did not open empstack | The task looked trivial, or the plugin is disabled. Type `/empstack:empstack <task>`. Check `/plugin`. |
| A skill name is "not found" by the agent | Expected. The Skill tool refuses every skill but `empstack:empstack`, `help`, `recall`, `ketchup`, `diagram` and `session-autocompact`. The agent reads `skills/<name>/SKILL.md` instead. |
| A pinned model had no effect | The brief had no `Switch:` line or named another switch, so `default` applied. A pin reaches spawns after the change, not running ones. |
| A model line in `~/.claude/rules/` had no effect | That old models file is retired, and only the switchboard is read. Run `/empstack:setup` to move over. |
| The agent waited for a yes before spawning agents | That is `subagent approval: on`. Answer once per task, or set `subagent approval: off`. |
| A subagent said it may not start agents | That is `nested subagents`. By default only an autopilot PR owner may. |
| A desktop app MCP server answers its first call slowly | That is `mcp idle`: the server had stopped after its idle time and starts again on the call. Add it to `mcp idle keep`, or raise the time. |
| The empstack sidebar shows a value in red with "(unreadable)" | That switchboard line does not read; the value after the arrow is the one in effect. Fix the line. |
| A step said "Skipped in Claude Code" | The upstream step needs a tool Claude Code lacks. The line says which. |