Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/cwinvestments/memstack/memstack-headroomgit clone --depth 1 https://github.com/cwinvestments/memstackWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00149 |
| Opus 5 | $0.00000 | $0.00075 |
| Sonnet 5 | $0.00000 | $0.00030 |
| Haiku 4.5 | $0.00000 | $0.00015 |
Grade A, and why
memstack-headroom scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -m 2 http://127.0.0.1:8787/health What it actually says
Check TokenStack proxy status.
First check if the TokenStack proxy is running:
curl -s -m 2 http://127.0.0.1:8787/health
If it responds, the proxy is up and routing Claude Code traffic.
The proxy does not expose a stats endpoint. Report token savings from the dashboard instead:
- Proxy indicator: PRO or FREE badge with session and 30-day percentages
- Overview header: session and lifetime tokens saved
- Burn Report: per-transform breakdown, estimated cost, and per-agent split
If the proxy is not running, respond with:
"TokenStack is offline. Start it with: python -m memstack_skill_loader dashboard --with-proxy"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 20 lines · 0 tokens per session scan A c6c3222e5a16
memstack-headroom is a command published in the GitHub repository cwinvestments/memstack (417 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 149 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
vibe-agents
Step 4 of the vibe-coding workflow: generate AGENTS.md + tool configs so the AI builder stays on track.
loop
Iteratively fix issues until all resolved or max iterations reached.
go-review
Go code review for idiomatic patterns.
changelog
Generate a changelog for version $ARGUMENTS by analyzing git history.
test
Run all PandaFilter verification steps in order. Stop and report on first failure. This is the required pre-commit gate.
autocommit
Toggle auto git commits on/off for this project. Run without args to see status, or with "on"/"off" to set.