mstack-help
Skill0 starsChanged 27 days agoMITView on GitHub
Guide users through installing and setting up mstack, using meta-mode, and picking the skill or playbook for a task. Use for /mstack-help, or when the user asks how to install, set up, or use mstack, or which mstack skill fits. Answers and hands back a prompt to send. Not for requests to do work, even ones that name mstack.
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Check the state that changes the answer, and mention it only when it does:
- Very specific: line 36
Run /setup-mstack. It asks for a reasoning budget, maps a model to each role, and writes ~/.config/mstack/models.json, the portable file …
- Very specific: line 37
Start a real task with /meta-mode, a goal, and a check that can pass or fail.
- Very specific: line 97
If a skill directory is missing from the table, read its frontmatter and route by its description.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
mstack help
Answer the user's question about mstack, hand them a prompt they can send, and name the file the answer came from. For a help question, do not start the work. The user asked how, and an mstack run spends real tokens, so let them send the prompt.
A message that asks for work, such as "use mstack to fix this bug", is not a help question. Read the meta-mode skill, do the work under it, and mention once that invoking meta-mode keeps the work in this style.
This file maps questions to the skills and docs that hold the answers. Those files own the details. Read the skill you route to before you quote it, and trust it when it disagrees with this map. Skills may be installed in isolation, so name another skill in plain text. The README.md and docs/ paths below belong to the repository, and the default install does not ship them. Read them when the checkout is at hand. Otherwise give the user the public copy: https://github.com/3metaJun/mstack/blob/main/ followed by the path. The guide artifact installs docs/guide/ locally.
Find out what they need
Infer the need from the message and the conversation. A named situation, such as "which skill reviews a diff?", goes straight to its section. If the need is still unclear, ask one multiple-choice question, then answer only the section they pick: get set up, start a task with meta-mode, pick a skill, fix a run that went wrong, or make mstack their own.
Check the state that changes the answer, and mention it only when it does:
- No
~/.config/mstack/models.jsonmeans/setup-mstackhas not run for this user, so roles run oninherit-parent. The scripts read that path under the home directory on every platform by default, and their--fileoption overrides it. - No
verify-*skill or other app harness in the project means agents have no scripted way to drive the app. Mentioncreate-verification-skillwhen the question is about proving a change works. - Which harness the user runs decides the command names in the next section.
Get set up
Install for the harnesses in use, from
README.md:npx @3metajun/mstack --harness all npx @3metajun/mstack --harness codex,claude npx @3metajun/mstack --harness all --skill tdd,diagnosing-bugs--dry-runprints the plan. An existing skill directory is kept unless--replaceis given, which moves it into a backup directory.--artifactadds the optional agents,meta-mode-tools,guide, orsession-contextfiles.--project /path/to/repocopies skills into that repository's own skill directories instead, for harnesses that read project skills only, such as agents started in per-thread worktrees. It is skills only, so it is refused together with--artifact. Node.js 18 or newer is required.- Run
/setup-mstack. It asks for a reasoning budget, maps a model to each role, and writes~/.config/mstack/models.json, the portable file every mstack skill reads. New sessions pick it up. - Start a real task with
/meta-mode, a goal, and a check that can pass or fail.
Installing changes nothing until the user invokes a skill. Offer to word their first prompt with them. The guide page docs/guide/01-setup.md has the walkthrough.
Harness differences that change the answer:
- Claude Code can also load mstack as a plugin. Its skills are namespaced, so the command is
/mstack:meta-mode. The installer gives bare names such as/meta-mode. Pick one route per machine, because both loading duplicates the skills. - Codex, OpenCode, pi, and Grok share one copy in
~/.agents/skills/. Claude Code and Antigravity have their own directories.docs/harness-adapters.mdlists them. - Claude Desktop chat, Cowork, and claude.ai take one uploaded zip per skill from
npm run pack-claude-skills. Uploaded skills are isolated, so sibling links become plain text, andmeta-modeplaybooks and tools are not reachable there. - T3 Code lists whatever the provider finds, so installing for the provider is enough. See
docs/t3code.md.
If cost is the worry, say where the tokens go. mstack spends extra tokens on subagents and review panels. Rerun /setup-mstack with a smaller budget or cheaper models. A role set to inherit-parent runs on the chat's own model. A shorter reviewer list runs fewer subagents, one per entry. Save meta-mode for work that needs rigor.
Start a task with meta-mode
meta-mode matches the task to a playbook, copies the playbook's steps into the todo list, and runs other skills as the steps need them. A skipped step stays in the list as skip: <reason>. A good prompt states the goal and how to tell it is done. It does not list skills, because a hand-written sequence tends to drop steps the playbook would keep.
/meta-mode the export writes duplicate rows when a retry lands mid-run. repro first, then fix and verify.The mode stays active for the current task. It does not apply to a casual turn or after the user opts out.
Pick a skill
The default answer is meta-mode, which runs most of the others when its steps need them. Name a skill directly when the user wants more or less than the playbook gives. Read the skill before you recommend it, and give one example prompt.
| The user wants to | Skill |
| Do any non-trivial task with rigor | meta-mode |
| Know how code works now, or where new code should live | how |
| Know why code is shaped this way | why |
| Understand a change or subsystem plainly | teach |
| Catch up on recent work in a repository | recall |
| Find what a change could break beyond its diff | blast-radius |
| Settle types and module shape before code | architect |
| Design or review a module's interface and seams | codebase-design |
| Diagnose a flaky, intermittent, or twice-failed bug | diagnosing-bugs |
| Fix a bug test-first when a cheap local test exists | tdd |
| Get several attempts at one brief, merged into the best | arena |
| Fan out parallel workers for coverage, races, or exploration | swarm |
| Have several models review a diff and try to break it | interrogate |
Apply strict TypeScript practices to .ts or .tsx work | typescript-best-practices |
| Strip comments before review | no-comments |
| Clean AI tells out of prose | unslop |
| Write docs, an RFC, a README, a PR description, or a commit message | technical-writing |
| Write or revise skills, AGENTS.md, or other agent instructions | writing-for-agents |
| Restate the last reply in plain words | bro |
| Give agents a scripted way to drive the app and prove behavior | create-verification-skill |
| Audit a verification skill against the app | maintain-verification-skill |
| Vet a benchmark number before reporting it | benchmark-checklist |
| Run a large or cross-cutting change, or one to review later | figure-it-out |
| Keep a decision log during a long or unattended run | show-me-your-work |
| Choose models per role and a reasoning budget | setup-mstack |
| Turn their own working habits into a personal mode skill | automate-me |
| Turn what a finished task taught into skill edits | reflect |
| Stop agents repeating the same mistake in this repository | correct |
| Build a page whose buttons wake a bot over a webhook | make-bot-ui |
| Find their way around mstack | mstack-help |
If a skill directory is missing from the table, read its frontmatter and route by its description. principle-* skills are covered below.
Close calls:
howexplains what the code does.whyexplains the reasons.teachruns both and explains the result plainly.arenagives every worker the same brief and merges the best parts.swarmsplits work into slices or a race and returns one report.interrogatereviews the diff.blast-radiuslooks for breakage outside it and proves the one fact that makes the change safe.figure-it-outdesigns one rigorous run. The Orchestrate playbook runs a program of many PRs. The Autonomous run playbook drives one task to a finish condition.
Playbooks and principles
Playbooks are step lists inside meta-mode, not skills, so they are not invoked by name. Describing the task picks one. The Playbooks section of the meta-mode skill (skills/meta-mode/SKILL.md) lists every playbook and when it applies. Common phrasings:
- "babysit this pr" or "check on pr 123" runs Babysit. It drives the PR to merge-ready and stops there.
- "land the stack" runs Shipping. "take over this branch" runs Session pickup. "pause safely" runs Pause safely.
- "prototype" or "sketch it to decide" runs Prototype. For a multi-phase plan, ask for a plan and the Multi-phase plan playbook writes it without implementing.
Principles are one-rule skills that meta-mode reads and cites in its replies. The user steers with the names, as in "apply prove it works. show me the real output." The guide page docs/guide/08-principles.md lists them.
Fix a run that went wrong
| Symptom | Fix |
| The mode stopped applying after a few turns | Start the next task with /meta-mode. |
| A question was treated as the next step of the last task | Say the turn does not need the mode. |
| A model choice had no effect | models.json applies to new sessions. Start one. |
| Runs cost more than expected | See the cost paragraph under Get set up. |
| The reply claims success from a green build | Ask for the real command, flow, or output. That is the principle-prove-it-works rule. |
| A skill shows up twice | The plugin and the installer both loaded. Keep one route per machine. |
Make mstack my own
automate-medrafts a personal mode skill from the user's history.reflectturns a session's lessons into skill edits the user approves./meta-mode write a skill for <workflow>runs the authoring playbook, and the Eval playbook tests a skill change.docs/guide/09-make-it-yours.mdcovers both. Fix a misbehaving skill in its own PR, not inside the feature work where it went wrong.
Reply
Lead with the answer. Give at most one example prompt in a code block, then name the file it came from. Keep it short unless the user asked for the whole map.
In this repository60 other files it gives its agents.
- architectSkill
- arenaSkill
- automate-meSkill
- benchmark-checklistSkill
- blast-radiusSkill
- broSkill
- codebase-designSkill
- correctSkill
- create-formal-verification-skillSkill
- create-verification-skillSkill
- diagnosing-bugsSkill
- figure-it-outSkill
- howSkill
- interrogateSkill
- in-your-own-wordsSkill
- ketchupSkill
- ketchup-videoSkill
- maintain-formal-verification-skillSkill
- maintain-verification-skillSkill
- make-bot-uiSkill
- meta-modeSkill
- no-commentsSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-encode-lessons-in-structureSkill
- principle-exhaust-the-design-spaceSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-migrate-callers-then-delete-legacy-apisSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-never-block-on-the-humanSkill
- principle-outcome-oriented-executionSkill
- principle-prove-it-worksSkill
- principle-redesign-from-first-principlesSkill
- principle-separate-before-serializing-shared-stateSkill
- principle-sequence-verifiable-unitsSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- principle-type-system-disciplineSkill
- recallSkill
- reflectSkill
- setup-mstackSkill
- sharpenSkill
- show-me-your-workSkill
- statechartSkill
- swarmSkill
- tddSkill
- teachSkill
- technical-writingSkill
- typescript-best-practicesSkill
- unslopSkill
- whySkill
- writing-for-agentsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

