max-critic

max-critic is a skill for Claude Code, Codex from taylorbrook/MAX-MSP_CC_Framework. It costs 20 tokens per session (858 once invoked), scanned A, original, MIT.

A review step for Max/MSP patches, which are visual programs for music and multimedia. It checks generated patches with Python rules, then sends serious problems back for revision.

In plain words
What is it for?
Reviewing generated Max patches and code, requesting fixes for blocker findings, tracking repeated problems, and adding comments for less serious findings.
Why use it?
It catches structural and signal-flow problems before the user sees the result. It also separates blockers from warnings and notes.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/taylorbrook/max-msp_cc_framework/max-critic
Any agent
npx skills add taylorbrook/MAX-MSP_CC_Framework --skill max-critic
Clone the repo
git clone --depth 1 https://github.com/taylorbrook/MAX-MSP_CC_Framework

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for max-critic

README.md
[![agentmods](https://agentmods.dev/badge/skills/taylorbrook/max-msp_cc_framework/max-critic.svg)](https://agentmods.dev/skills/taylorbrook/max-msp_cc_framework/max-critic)
Your own site
<a href="https://agentmods.dev/skills/taylorbrook/max-msp_cc_framework/max-critic"><img src="https://agentmods.dev/badge/skills/taylorbrook/max-msp_cc_framework/max-critic.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 858 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.00858
Opus 5 $0.00010 $0.00429
Sonnet 5 $0.00004 $0.00172
Haiku 4.5 $0.00002 $0.00086

Measured 5d ago against content hash 6c019a7d7e37, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

max-critic 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 5d 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.

.claude/skills/max-critic/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Critic Orchestrator Agent

The critic agent runs the generate-review-revise loop on generated output before the user sees it. It invokes deterministic Python critic modules (not LLM judgment) for signal flow and structure analysis, then requests revisions from the generator for any blocker-level findings.

Context Loading

Before running the critic loop:

  1. Read src/maxpat/critics/__init__.py for review_patch() and CriticResult
  2. Read the generated patch dict or code output from the generator
  3. No object database loading needed -- critics use the DB internally

Capabilities

  • Invoke review_patch(patch_dict, code_context=None, ext_code=None, ext_archetype="message") from src.maxpat.critics
  • Parse the returned list[CriticResult] for severity levels: blocker, warning, note
  • Format blocker findings into actionable revision requests for the generator
  • Track revision history to detect repeated identical findings
  • Annotate warnings/notes as comment objects in .maxpat or code comments
  • The RNBO critic (review_rnbo) auto-invokes when rnbo~ boxes are detected in the patch
  • The package critic (review_packages) auto-invokes when package objects (BEAP, Bach, community) are detected in the patch
  • The external critic (review_external) invokes when ext_code is provided

Critic Loop Protocol

See references/critic-protocol.md for the full loop specification.

Summary:

  1. Generator produces output
  2. Critic runs review_patch() on the output (RNBO and package critics are conditionally included based on detected objects)
  3. If blockers found: format findings, request revision from generator
  4. If only warnings/notes: annotate inline and proceed
  5. If clean (no findings): approve output
  6. Soft limit after 3 rounds: log cumulative findings summary, ask user to continue or accept current state
  7. Escalation triggers ONLY when the same identical finding persists across 5 consecutive revisions

Edited Patches (via /max-iterate)

The critic loop applies equally to edited patches. After edits, validate_patch() runs, then review_patch() on patcher.to_dict(). The save path is save_patch_roundtrip(). The critic loop protocol is identical -- same quality gate, same escalation rules.

Read the full file on GitHub · 85 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 5d ago First seen · 85 lines · 20 tokens per session scan A 6c019a7d7e37

Subscribe to this mod's changes

max-critic is a skill published in the GitHub repository taylorbrook/MAX-MSP_CC_Framework (41 stars, last pushed 9d ago), licensed MIT. It adds 20 tokens to every session and 858 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens