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/taylorbrook/max-msp_cc_framework/max-buildgit clone --depth 1 https://github.com/taylorbrook/MAX-MSP_CC_FrameworkWhat 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.00824 |
| Opus 5 | $0.00005 | $0.00412 |
| Sonnet 5 | $0.00002 | $0.00165 |
| Haiku 4.5 | $0.00001 | $0.00082 |
Grade A, and why
max-build 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 3d 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.
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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/max-build
Generate MAX/MSP patches, Gen~ code, JavaScript, or other artifacts by routing the user's description through the agent system. Creates new .maxpat files directly via the Patcher API -- no intermediary scripts.
Behavior
-
Load active project -- read
patches/.active-project.jsonfor the current project. If no active project, prompt the user to create one with/max-new. -
Load project context -- read the project's
context.mdfor vision, decisions, and research. -
Route through max-router -- invoke the max-router skill with:
- The user's task description
- Project context
- The router analyzes keywords/intent and dispatches to specialist agent(s)
-
Specialist generation -- the router dispatches to one or more specialist agents:
- max-patch-agent (control flow, routing, subpatchers)
- max-dsp-agent (GenExpr, signal chains, audio)
- max-js-agent (JavaScript, Node for Max)
- max-ui-agent (presentation mode, layout, controls)
- max-rnbo-agent (RNBO export, target validation, param mapping)
- max-ext-agent (C++ externals, Min-DevKit scaffolding, build)
Each specialist creates a
Patcherinstance, builds the patch structure usingadd_box()andadd_connection(), then applies styling, layout, and validation via_apply_auto_styling(patcher),apply_layout(patcher),validate_patch(patcher.to_dict()). -
Critic loop -- run the max-critic skill on generated output:
- Invoke
review_patch(patch_dict, code_context)fromsrc.maxpat.critics - If blockers found: request revisions from the generator
- If clean or warnings-only: approve output with inline annotations
- Loop continues until clean (no hard round limit)
- Invoke
-
Write output -- save generated files via
save_patch_roundtrip(patcher.to_dict(), path)to the project'sgenerated/directory. No intermediary Python scripts are created at any point. -
Commit to git -- after saving,
save_patch_roundtrip()auto-commits the .maxpat file viaauto_commit_patch(). If additional files were generated (e.g., .gendsp, .js) that were saved separately, run an explicit commit:from src.maxpat.project import auto_commit_patch auto_commit_patch(project_dir, base_dir, description="build: {brief description}", files=[...all generated file paths...])This ensures work is committed to git immediately and cannot be lost to stash operations or other instances.
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.
- 3d ago First seen · 77 lines · 11 tokens per session scan A 3c8cbbf6c7e8
max-build is a command published in the GitHub repository taylorbrook/MAX-MSP_CC_Framework (41 stars, last pushed 7d ago), licensed MIT. It adds 11 tokens to every session and 824 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-08-30.
Other commands, from other repositories
sim
Run the EmbodiedGen simulation rendering workflow with sim-cli.
unity-placeholders
Generate placeholder sprites, 3D primitives, prefabs, and audio stubs for a Unity project so the game is visually testable before final assets exist.
combat-design
Design or revise combat rules, variables, readability, and tuning direction.
ui-flow-review
Review menus, HUD, navigation, and player flow from a UX perspective.
skyrun
Toggle the SKYRUN game pane in your terminal (free-play).
unity-optimize
Profile and optimize performance — uses MCP profiler for frame timing, memory, rendering stats. Identifies bottlenecks and applies fixes.