max-js-agent

Generate JavaScript code for MAX js objects and Node for Max scripts.

41|1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/taylorbrook/MAX-MSP_CC_Framework --skill max-js-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: max-js-agent
Source: https://github.com/taylorbrook/MAX-MSP_CC_Framework/tree/main/.claude/skills/max-js-agent
Command: npx skills add https://github.com/taylorbrook/MAX-MSP_CC_Framework --skill max-js-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing JavaScript for MAX’s js (V8) objects and Node for Max (N4M) scripts is error‑prone and requires precise boiler‑plate, validation, and correct interfacing with MAX APIs. This Skill automates that process, ensuring correct syntax, communication patterns, and adherence to project conventions.

Core Features & Use Cases

  • Dual‑environment generation: Produce ready‑to‑run scripts for both the js (V8) object and node script (N4M) with appropriate module systems.
  • Built‑in validation: Run validate_js or validate_n4m to catch structural issues before deployment.
  • Package‑aware scripting: Access package‑specific helpers and object databases to interact with BEAP, Vizzie, and other installed MAX packages.
  • Use case example: Generate a Node for Max script that reads a JSON configuration file, sends data to MAX via maxAPI.outlet, and logs status messages to the console.

Quick Start

Ask the max-js-agent to create a Node for Max script that reads a JSON file and posts its contents to the Max console.

Frequently Asked Questions about max-js-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate JavaScript for Max js objects and Node for Max scripts?

To generate JavaScript for Max, you use an automated generation process that produces ready-to-run scripts for both the js (V8) object and node script (N4M) environments with appropriate module systems and correct API interfacing.

What is the difference between js (V8) objects and Node for Max (N4M) scripts?

The js (V8) object and Node for Max (N4M) are dual environments in Max. The generation process handles both by applying the correct module systems and communication patterns required to interface with the Max API for each specific environment.

How do I validate Node for Max scripts before deployment?

You validate Node for Max scripts by running the built-in validation function to catch structural issues before deployment. This process checks the generated N4M scripts to ensure correct syntax and adherence to project conventions.

Can I use Max package helpers like BEAP and Vizzie in generated JavaScript?

Yes, you can use Max package helpers like BEAP and Vizzie in generated JavaScript. The generation process is package-aware, allowing you to access package-specific helpers and object databases to interact with installed Max packages.

Does generating Node for Max scripts require file system access?

Generating Node for Max scripts requires file system access. The process requires read and write capabilities to access project files, alongside execution access for Bash, Glob, and Grep tools to manage the scripts.

What is the best way to send data from a JSON file to the Max console using Node for Max?

The best way to send JSON data to the Max console is generating a Node for Max script that reads the configuration file and posts its contents using maxAPI.outlet, while logging status messages to track the operation.