max-ui-agent

max-ui-agent is a skill for Claude Code, Codex from taylorbrook/MAX-MSP_CC_Framework. It costs 18 tokens per session (3,462 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 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-ui-agent
Any agent
npx skills add taylorbrook/MAX-MSP_CC_Framework --skill max-ui-agent
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-ui-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/taylorbrook/max-msp_cc_framework/max-ui-agent.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.svg" alt="Measured on agentmods" 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 3,462 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.00018 $0.03462
Opus 5 $0.00009 $0.01731
Sonnet 5 $0.00004 $0.00692
Haiku 4.5 $0.00002 $0.00346

Measured 4d ago against content hash c8663ba7caea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 243 lines

How it starts

The opening of the file, as written. The whole thing — 243 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.

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) -- single-call layout cleanup: styling, layout, comments, midpoints (new); midpoints + comments (edit)
  • 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 · 243 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. 4d 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 (41 stars, last pushed 8d ago), licensed MIT. It adds 18 tokens to every session and 3,462 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

motion-graphics

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI…

heygen-com/hyperframes · 139 tokens

liquid-glass

Apple Liquid Glass design system. Use when building UI with translucent, depth-aware glass morphism following Apple's design language. Provides CSS tokens, component patterns, dark/light mode, and animation specs.

fengshao1227/ccg-workflow · 43 tokens

feishu-cli-visual

飞书可视化与展示统一入口,负责选择合适载体,并覆盖画板、Slides、妙笔BOX 动态组件、 妙搭 HTML 应用和统一数据可视化设计规范。用户要求画板/whiteboard、架构图、流程图、飞轮、 鱼骨、路线图、海报、插画、SVG/Mermaid、数据图表或 dashboard,创建 Slides/PPT,嵌入会动的 ECharts/地图/3D/window.magic 组件,或用妙搭/Miaoda/spark 发布 HTML 应用时必须使用本 Skill。 消息卡片由 feishu-cli-messaging 构造和发送;Markdown 图表导入由 feishu-cli-docs 执行。.

riba2534/feishu-cli · 167 tokens

render-vo-anchored-motion-listicle

Assemble an expert/educator motion-graphic LISTICLE video ad from a config — a spoken authoritative voiceover carries a numbered listicle while N web-animated hyperframe beats (HTML plus the Web Animations API, one branded design system of alternating tiles, big hero numerals, and glass-pill callouts) are rendered…

gooseworks-ai/goose-skills · 216 tokens

frame-light-leak-cinema

Film light leaks, grain, 16:9 letterbox, and large serif type for cinematic openings or chapter cards.

nexu-io/html-video · 31 tokens

frame-bold-signal

Bold colored card on a dark gradient — big section number, nav breadcrumb, orange card sliding in, title rising.

nexu-io/html-video · 28 tokens