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/quantumaikr/quant.cpp/spawn-teamgit clone --depth 1 https://github.com/quantumaikr/quant.cppWhat 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.00011 | $0.01253 |
| Opus 5 | $0.00005 | $0.00626 |
| Sonnet 5 | $0.00002 | $0.00251 |
| Haiku 4.5 | $0.00001 | $0.00125 |
Grade A, and why
spawn-team scanned grade A with 0 findings 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 today.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spawn Team
Spawn a team of parallel ClawTeam workers, each in an isolated git worktree, to work on independent modules simultaneously.
Steps
Step 1: Determine current phase
Run bash score.sh --quick and read .score to determine the phase.
If user specified a phase ($ARGUMENTS), use that instead.
Step 2: Spawn workers based on phase
Execute the appropriate clawteam commands:
Phase: foundation (score < 0.05)
Do NOT spawn workers. Tell the user: "Foundation phase should be done with /develop foundation (single agent). The project needs CMakeLists.txt, headers, and type definitions before parallel work can begin."
Phase: algorithms (score 0.05 ~ 0.30)
clawteam team spawn-team tq-alg -d "quant.cpp core algorithms"
clawteam spawn --team tq-alg --agent-name polar --workspace --repo . \
--task "Implement PolarQuant algorithm. Read CLAUDE.md for full context. Read refs/PolarQuant/models/modeling_llama_polar.py lines 135-157 and refs/PolarQuant/models/kernel4group.py lines 14-81 for the algorithm. Create src/core/tq_polar.c with tq_polar_quantize_ref(), tq_polar_dequantize_ref(), tq_polar_attention_ref(). Create tests/test_polar.cpp with Google Test. Run bash score.sh --quick to verify. ONLY modify: src/core/tq_polar.*, tests/test_polar.*"
clawteam spawn --team tq-alg --agent-name qjl --workspace --repo . \
--task "Implement QJL algorithm. Read CLAUDE.md for full context. Read refs/QJL/models/llama2_utils_qjl.py lines 7-185 for the algorithm. Create src/core/tq_qjl.c with tq_qjl_init_projection(), tq_qjl_quantize_ref(), tq_qjl_detect_outliers(), tq_qjl_attention_ref(). Create tests/test_qjl.cpp with Google Test. Run bash score.sh --quick to verify. ONLY modify: src/core/tq_qjl.*, tests/test_qjl.*"
clawteam spawn --team tq-alg --agent-name uniform --workspace --repo . \
--task "Implement uniform baseline and value quantization. Read CLAUDE.md for full context. Create src/core/tq_uniform.c (min-max 2/4-bit), src/core/tq_value_quant.c (value cache quantization). Create tests/test_uniform.cpp and tests/test_value.cpp. Run bash score.sh --quick to verify. ONLY modify: src/core/tq_uniform.*, src/core/tq_value_quant.*, tests/test_uniform.*, tests/test_value.*"
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.
- today First seen · 82 lines · 11 tokens per session scan A 6f4802078879
spawn-team is a command published in the GitHub repository quantumaikr/quant.cpp (399 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 1,253 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.
Other commands, from other repositories
amk-autoresearch
Launch the unattended / overnight AMK autoresearch driver on $ARGUMENTS (model [gpu] [minutes|iters]).
amk-optimize
Drive an interactive AMK propose -> eval -> keep/revert megakernel schedule session on $ARGUMENTS (model [gpu]).
amk-compile
One-shot compile + verify a model into a CUDA megakernel via amk compile on $ARGUMENTS (model [gpu]).
ARCHITECTURE
Command "ARCHITECTURE" from cloudrift-ai/emmy, covering commands architecture, layered design, layers, emmy/recipe/ — recipe library and emmy/deploy/ — deploy library.
EXPECT
Expect command describes the desired output of the task (after post-processing).
FORMAT
Format command describes the desired output of the task (after post-processing).