debug-toolchain
Skill1 starsChanged 5 days agoMITView on GitHub
Find out why a Maru command, MCP tool, sign-in, build or workbench is not working - the CLI, sign-in, the hosted and local MCP servers, the native toolkit, the Processor compiler, browser checks, or a module that is silent - and fix the cause instead of working around it. Use when a npx --no-install maruaudio command fails or is missing, Maru tools do not appear, a build or check reports something unavailable, or a module makes no sound.
In this repository12 other files it gives its agents.
- add-parameterSkill
- build-for-hardwareSkill
- check-buildSkill
- create-moduleSkill
- find-moduleSkill
- list-on-marketplaceSkill
- list-pluginSkill
- make-presetsSkill
- maru-agentSkill
- new-synthSkill
- plugin-accessibilitySkill
- verify-moduleSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Read what it prints, run the command it names (with the user's OK where the rules below ask for it), and run the failing step again.
- Distinctive: line 60
After any required client reload, verify actual skill discovery and a local guide or project operation from the intended folder.
- Very specific: line 88
Silent module: Before blaming the DSP, check in the workbench (npm run dev -- --silent) the selected audio or MIDI input, the transport, …
- Distinctive: line 104
Never read or expose secret files or ask the user to paste a token.
- Very specific: line 110
Read npx --no-install maruaudio guide read cli-and-operations before explaining why a command is unavailable.
- Very specific: line 131
If part of this workflow was harder than Maru should make it (an error that did not name its fix, a missing diagnostic, a setup step you …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Debug the Maru toolchain
Most failures are a missing piece of setup, and Maru names the fix itself. Read what it prints, run the command it names (with the user's OK where the rules below ask for it), and run the failing step again.
Steps
- Version and machine.
npx --no-install maruaudio --version, thennpx --no-install maruaudio doctor. Doctor lists Node, sign-in, installed components, the Processor compiler, build tools and the agent skill, each row withfix:when something is missing.npx --no-install maruaudio doctor --pathsshows where Maru reads and writes. Ifmaruitself is missing, usenpx --yes maruaudio@latestwithin authorized setup; a global install is optional. Inside a module project, use the project's own CLI (npx --no-install maruaudio …, or itspackage.jsonscripts) so the version matches its dependencies. Read the failure exactly. Rerun the failing command with
--json(errors arrive as JSON on stderr) or--verbose. The exit code says what kind of failure it is:Code Meaning What to do 1 The operation ran and failed Read its report; fix the module or input 2 Usage or validation error; nothing ran Check npx --no-install maruaudio <group> <command> --helpornpx --no-install maruaudio tools describe --json3 Not signed in, or credentials rejected Use authorized sign-in or ask, then npx --no-install maruaudio login4 Missing prerequisite Run the fix:command it printed5 Refused by the item's licence Report the licence; do not copy around it 6 A paid item this account does not own Tell the user 7 The author does not share this module's DSP source Offer to play or install it from the page maruprinted insteadOver MCP, inspect
isError, the operation's status and every relevant check row as well as transport success. An error returned as tool content is still a failed operation; anokenvelope does not erase failed or unavailable rows. Preserve the original result before repair and distinguish a client, network or sandbox refusal from a Maru operation that ran and failed.- Sign-in.
npx --no-install maruaudio whoamiwith the intended profile and API origin. Reuse suitable existing sign-in; check the intended operation's grants as well as identity. Hosted connector access does not prove the CLI can publish, and successful identity lookup does not prove publication authority. Use existing sign-in authorization or ask beforenpx --no-install maruaudio login; without a browser,npx --no-install maruaudio login --print-urlprints a link for the user to open. Local JS development does not require sign-in. Use supported credential interfaces; do not extract connector credentials or assume automatic CLI token import. - MCP tools missing or listed twice.
npx --no-install maruaudio mcp statusshows which agents have Maru's servers. The hostedmaruserver (https://maru.audio/mcp) acts on the user's account after they sign in and approve it in the browser; the localmaru-localserver runsnpx --no-install maruaudio mcpon the open folder and needs Node andnpx. If the agent has both the Maru agent plugin and entries fromnpx --no-install maruaudio mcp install, the tools appear twice: offernpx --no-install maruaudio mcp remove. Change the agent's configuration only within existing setup authorization or after asking. Over MCP, a tool name is the operation name withmaru_in front, such asmaru_module_doctor. After any required client reload, verify actual skill discovery and a local guide or project operation from the intended folder. Inspect the selected root when a project is missing; do not recreate it in the wrong root. Configuration and standalone transport checks alone do not prove attachment. - Module toolchain. In the project,
npx --no-install maruaudio module doctorreports whether the engine, worklet runtime and required tools are complete enough to build and export.npx --no-install maruaudio module paths .andnpx --no-install maruaudio module outputs .show the project's settings, completed outputs and missing release steps. For local JS development, the npm SDK supplies the workbench/player and CLI assets: use the generateddevscript instead of building a replacement host or obtaining a Maru source checkout. A missing native toolkit blocks native commands, not this preview. Keep a requested preview process alive, verify its ready result and share its URL before continuing other checks. - Native builds. A command marked
Requires: toolchain:nativein its help needs the native toolkit; local toolkit access is for approved developers. For hosted outputs, readbuild-preview-exportand discover current capabilities and their refusal reasons. Publishing a browser release does not prove that native builds, signing or delivery are available.npx --no-install maruaudio setup --listshows available and installed components; follow the installed command's supported setup route when authorized. For one built bundle,npx --no-install maruaudio plugin inspect <bundle>reports what loading it found. - Browser checks and screenshots.
npx --no-install maruaudio module screenshotand the browser gates ofnpx --no-install maruaudio module checkneed Chromium. When they report a missing browser, pass--chrome <path>or setCHROME_PATH. - Silent module. Before blaming the DSP, check in the workbench
(
npm run dev -- --silent) the selected audio or MIDI input, the transport, the monitor level, the host power control and its diagnostics. Then render offline (npx --no-install maruaudio module preview --check, ornpx --no-install maruaudio module eval --suite levelsfor an effect) to see whether the module itself is silent. - Rerun the step that failed and report what changed.
Rules
- Fix the cause Maru names. Do not work around a missing component with a different runtime, a hand-written substitute or a mocked result.
- Reuse existing authorization for setup and reversible local fixes. Ask for
additional account/configuration changes, charged work, publication or
destructive actions; judge the operation rather than the presence of
--yes. - Never read or expose secret files or ask the user to paste a token. Use Maru's sign-in and credential interfaces.
- Quote
maru's own fix command exactly; do not paraphrase it into a different command. Check it against the installed command's help before retrying. If the printed fix is unsupported, retain that contradiction and use a supported repair rather than repeating it or inventing a flag. - Read
npx --no-install maruaudio guide read cli-and-operationsbefore explaining why a command is unavailable.
Verify
The fix worked when the step that failed now succeeds: the original command
exits 0 with the expected outcome, or the MCP operation's content confirms
success without isError, or npx --no-install maruaudio doctor shows the relevant row as ok.
For a workbench, confirm the live server and URL. Run the failing step again
and quote its result. If it still fails, report the new
message, not the old one.
Report
End with: the failing command and its original message, the cause, what you
ran to fix it (and what the user approved), the installed version and selected
project/profile where relevant, the result of the rerun, and any
remaining blocker with the command maru names for it.
Maru feedback
If part of this workflow was harder than Maru should make it (an error that
did not name its fix, a missing diagnostic, a setup step you had to guess),
end your reply with the line MARU FEEDBACK: <version>, where <version> is
what npx --no-install maruaudio --version prints (with only the hosted connector, write
connector and the server version your MCP client shows). Follow it with a
short prompt that could be used to improve Maru: what you were doing, what was
awkward, and the command, tool or API you wished for. Offer to file it at
https://github.com/maru-audio/maru-skill/issues or send it through
https://maru.audio/contact; file nothing without the user's yes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

