MAX-MSP_CC_Framework: Skill for Claude Code

.claude/skills/max-ui-agent/SKILL.md

max-ui-agent is a skill for Claude Code from taylorbrook/MAX-MSP_CC_Framework. It costs 18 tokens per session (2,146 once invoked), scanned A, original, MIT.

A design assistant for arranging MAX interface controls in presentation mode and patching mode. MAX is visual programming software, and these modes represent the user-facing interface and the underlying editable patch.

In plain words
What is it for?
Use it to choose and position interface objects, design presentation layouts, and organize the developer view of a MAX patch.
Why use it?
It helps keep dials, sliders, displays, and other controls organized and usable while respecting the project's allowed packages.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is taylorbrook/MAX-MSP_CC_Framework's own configuration. It tells Claude Code how to work on MAX-MSP_CC_Framework itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MAX-MSP_CC_Framework configures →

Reuse

Borrowing it

Nothing to install: this file belongs to taylorbrook/MAX-MSP_CC_Framework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/taylorbrook/MAX-MSP_CC_Framework/main/.claude/skills/max-ui-agent/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/taylorbrook/MAX-MSP_CC_Framework

Made for: Claude Code.

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-ui-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/taylorbrook/max-msp_cc_framework/max-ui-agent/github.svg)](https://agentmods.dev/skills/taylorbrook/max-msp_cc_framework/max-ui-agent)
Your own site
<a href="https://agentmods.dev/skills/taylorbrook/max-msp_cc_framework/max-ui-agent"><img src="https://agentmods.dev/badge/skills/taylorbrook/max-msp_cc_framework/max-ui-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for max-ui-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/taylorbrook/max-msp_cc_framework/max-ui-agent"><img src="https://agentmods.dev/badge/skills/taylorbrook/max-msp_cc_framework/max-ui-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,146 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00018 $0.02146
Opus 5.5 $0.00007 $0.00858
Sonnet 5.5 $0.00004 $0.00429
Haiku 4.5 $0.00002 $0.00215

Measured 6d ago against content hash 6cf0d6c61bde, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

max-ui-agent 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 6d 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-ui-agent/SKILL.md · 140 lines

How it starts

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

UI/Layout Specialist Agent

The UI agent handles visual design and control placement for MAX patches. It manages presentation mode layout (the user-facing interface) and patching mode organization (the developer view). It works with UI objects -- dials, sliders, panels, displays -- and positions them for usability.

Domain Context Loading

Before any generation:

  1. Read CLAUDE.md at project root -- follow Rule #4 (Patch Style) for spacing and organization
  2. Use ObjectDatabase from src.maxpat.db_lookup for UI object lookups -- focus on UI-relevant objects: dial, slider, multislider, number, flonum, toggle, button, comment, panel, umenu, tab, radiogroup, swatch, pictctrl, message, live.dial, live.slider, live.numbox, live.toggle, live.menu, live.text, live.tab
  3. Read project config.json via load_project_config() from src.maxpat.project for allowed packages. Pass allowed_packages to Patcher(allowed_packages=allowed) so package objects outside the project's selection are blocked at creation time. If load_project_config() returns None (no config.json), use allowed = [] (core-only), never None -- None allows every package.

Domain focus: UI objects and presentation layout. Signal processing is handled by the DSP agent.

Capabilities

Presentation Mode Layout

  • Set presentation flag on boxes to include them in presentation view
  • Position boxes with presentation_rect for the user-facing interface
  • Create visual hierarchy: controls grouped by function, clear labels
  • Panel objects as visual containers and section backgrounds
  • Consistent spacing and alignment across control groups

Layout Engine Integration (Patching Mode)

  • finalize_patch(patcher, is_new=True, force_layout=False) -- single-call layout cleanup: styling, layout, comments, midpoints (new); comments + routing of new or touched cords that have no midpoints, never moving boxes or clearing midpoints (edit). With is_new=True it raises LayoutRefusedError (from src.maxpat.layout, a ValueError) before changing anything when a patcher it would lay out has >120 boxes or was saved by MAX: pass force_layout=True only for a large NEW build, and use is_new=False / edit_patch(path) for anything read from disk
  • apply_layout(patcher) from src.maxpat.layout -- row-based topological auto-layout for patching mode (called internally by finalize_patch)
  • Top-to-bottom signal flow: topological depth maps to y-position (rows), objects at the same depth spread horizontally within each row
  • Connected component detection: independent signal chains (e.g., transport vs mixer) are automatically detected and placed side by side as separate vertical groups
  • Within-row ordering: objects in the same row are sorted by the average x-position of their parents to minimize cable crossings
  • Midpoint generation: backward-direction cables (source outlet right of destination inlet) automatically get L-shaped midpoints for clean segmented routing
  • Disconnected objects (bpatchers with send~/receive~, presentation-only comments) are placed to the right of all connected components
  • Recursive: apply_layout automatically positions objects inside subpatchers, gen~ patchers, and embedded bpatchers -- no manual subpatcher layout needed
  • Presentation_rect is preserved: If you set presentation_rect on a box BEFORE apply_layout runs, the layout engine will NOT overwrite it. Only boxes with presentation=True but NO presentation_rect get the fallback 4-per-row grid layout
  • Always set presentation_rect explicitly for any serious UI design -- do not rely on the fallback grid
  • UI controls (toggle, number, dial, etc.) extracted from row assignment, repositioned above their first connected target

Read the full file on GitHub · 140 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. 6d ago Changed 6cf0d6c61bde
  2. 14d ago Changed · -103 lines ff49510a980e
  3. 15d ago Changed ad0b8f192a29
  4. 16d ago Changed 36cb1f10c583
  5. 2mo ago First seen · 243 lines · 18 tokens per session scan A c8663ba7caea

Subscribe to this mod's changes

max-ui-agent is a skill published in the GitHub repository taylorbrook/MAX-MSP_CC_Framework (46 stars, last pushed 4d ago), licensed MIT. It adds 18 tokens to every session and 2,146 once invoked, about $0.0001 per session on Opus 5.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

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens