Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By makevoidv0.3.0MITIn 1 marketplace
One big agent instead of a swarm: single-agent mode, automatic session memory that survives compaction at a 300k context cap, crystallized core memories, and a model policy that keeps you on the best model your limits can afford.
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
single-agent, context-management, compaction, memory, model-policy, hooks
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
A Claude Code plugin for working with one big agent instead of a swarm.
Orchestrator stacks spawn a team of subagents for speed, split context and cheaper "coder" models. mstack takes the opposite position: one agent, on the best model you can afford, in one context you can watch. It is slower by default and better, because nothing is lost in agent-to-agent handoffs and you supervise the work directly instead of building guardrails around agents you cannot see.
Three things make that practical, and mstack implements each in hooks and code rather than in prompts:
docs/mstack/sessions/ (gitignored); after every compaction that file is loaded back. Rare, crystallized discoveries go to docs/mstack/core_memories/ (committed) and start every future session.Read docs/core-philosophy.md for the full argument.
Requires Ruby 3.1+ on PATH (stdlib only, no gems).
claude plugin marketplace add /path/to/mstack # or the GitHub repo
claude plugin install mstack@mstack
Or for a single session: claude --plugin-dir /path/to/mstack.
Then, in a project:
/mstack:setup
This runs mstack init (creates .mstackrc, the memory directories and the .gitignore entry) and walks you through the Claude Code settings mstack requires, asking before it changes any of them:
{
"model": "claude-fable-5-2",
"effortLevel": "high",
"autoCompactWindow": 300000,
"statusLine": { "type": "command", "command": "~/.claude/mstack/statusline" }
}
The status line is how mstack sees your plan limits. It can wrap the one you already have: ~/.claude/mstack/statusline --wrap '<your command>'.
| When | mstack does |
|---|---|
| Session starts | Briefs the agent on the rules, loads core memories if they fit their budget, reports setup problems |
| The agent tries to spawn a subagent | Denies it (lookups such as web-fetch are allowed) |
| Context is 50% and 70% of the way to auto-compaction | Tells the agent to checkpoint session memory |
| Context is 88% of the way (about 235k at a 300k cap) | Final checkpoint: bring the session file fully up to date, write a core memory if there was a real discovery |
| The agent ends a turn having ignored a checkpoint | Blocks the stop once and asks again |
| Compaction starts | Writes a mechanical snapshot (prompts, edited files, git state) into the session file, tells the summarizer the file exists |
| Compaction ends | Loads the session file and core memories into the new window, and has the agent merge the summary's last steps into the file |
| Weekly limit reaches 70%, or session limit 90% | Tells the agent to finish its step, stop, and ask you to run /model |
.mstackrc at the project root, a YAML hash. All keys optional:
core_memories: true # false: the agent never adds core memories on its own
subagents: false # true: lift the single-agent guard
context:
cap_tokens: 300000 # must equal autoCompactWindow
checkpoints: [50, 70, 88] # percent of the compaction point (cap minus ~33k)
model:
default: claude-fable-5-2
fallback: claude-opus-5-5
effort: high
limits:
weekly_switch_pct: 70
session_pause_pct: 90
Full reference: docs/configuration.md.
| Skill | Use |
|---|---|
/mstack:setup | Initialize a project and fix the requirements |
/mstack:checkpoint | Write session memory now |
/mstack:remember | Crystallize a core memory |
/mstack:status | Limits, model, memory sizes |
/mstack:mstack | The operating guide the agent follows |
mstack init, mstack doctor, mstack status and mstack session are available in the shell while the plugin is enabled.
Use Ruby 3.1+ and Bundler. Install the development gems before running the tests; the plugin itself needs no extra gems.
npx claudepluginhub makevoid/mstack --plugin mstackPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.