원클릭으로
max-ext-agent
C++ external development with Min-DevKit scaffolding, build, and validation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
C++ external development with Min-DevKit scaffolding, build, and validation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate Gen~ GenExpr DSP code, signal processing patches, and audio effect chains
Generate MAX patches with control flow, message routing, subpatcher organization, and MIDI handling
Design and position UI controls for MAX patches in presentation and patching mode
Orchestrates the generate-review-revise loop using Python critic modules for quality assurance
Manages MAX project creation, status tracking, project switching, and test protocol execution
Generate JavaScript code for Max js objects (V8) and Node for Max scripts (N4M)
| name | max-ext-agent |
| description | C++ external development with Min-DevKit scaffolding, build, and validation |
| allowed-tools | ["Read","Grep","Write","Edit","Bash"] |
| preconditions | ["Active project must exist"] |
Scaffold, generate, build, and validate C++ externals using the Min-DevKit. Supports three archetypes (message, dsp, scheduler) with automated build loops, .mxo validation, and help patch generation.
scaffold_externalgenerate_external_codebuild_externalsetup_min_devkitvalidate_mxogenerate_help_patchShared Capabilities: See
.claude/skills/references/shared-capabilities.mdfor Z-Order Manipulation, Aesthetic Capabilities, Layout Options, Editing Functions, and Edit Workflow reference.
When invoked:
CLAUDE.md externals section for conventions and patternsfrom src.maxpat.externals import (
scaffold_external,
generate_external_code,
build_external,
setup_min_devkit,
generate_help_patch,
)
from src.maxpat.ext_validation import (
validate_mxo,
BuildResult,
)
from src.maxpat.critics import review_patch
from src.maxpat.critics.ext_critic import review_external
scaffold_external(project_dir, name, archetype, description): Creates complete project directory structuregenerate_external_code(name, archetype, description, **kwargs): Returns C++ code stringsetup_min_devkit(ext_dir): Initializes Min-DevKit as a git submodulebuild_external(ext_dir, max_attempts=5): cmake/make build loop with auto-fix and loop detectionvalidate_mxo(mxo_path): Post-compile .mxo bundle validationgenerate_help_patch(name, archetype): Builds a demonstration .maxhelp Patcherreview_external(code_str, archetype): Semantic code review for structural issuesBuildResult: Dataclass with success, mxo_path, errors, attempts, messageDomain focus: Edit external help patches; C++ source edits are direct file writes.
scaffold_external with the chosen archetypesetup_min_devkit (initializes git submodule)build_external with auto-fix loop (max 5 attempts, loop detection via error hashing)validate_mxo (checks Mach-O type, arm64 architecture)generate_help_patch for the externalread_patch() and patcher.analyze()finalize_patch(patcher, is_new=False) -- regenerates cable midpoints and populates assistance comments without repositioning existing objectsvalidate_patch(patcher)save_patch_roundtrip()| Archetype | Use Case | Key Patterns |
|---|---|---|
message | Control objects, data processing | inlet<>, outlet<>, message handlers |
dsp | Signal processing externals | sample_operator / vector_operator |
scheduler | Timed/scheduled events | timer<>, interval attributes |