td-audio-reactive

td-audio-reactive is a command for Claude Code from dreamrec/TDPilot. It costs 18 tokens per session (692 once invoked), scanned A, original, MIT.

A command for building a TouchDesigner visual that changes in response to live sound. TouchDesigner is software for creating interactive, real-time graphics, and a CHOP is its signal-processing data type.

In plain words
What is it for?
Use it to connect audio from a file, microphone, or existing project source to a visible visual parameter, then verify the output with a screenshot.
Why use it?
It prevents a visual from appearing audio-reactive when it is actually driven by a silent or unconnected source. It requires a real audio input, an explicit connection to a visible setting, and checks that the result responds.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tdpilot plugin — 8 skills, 6 commands, 4 agents, 4 hooks, 1 MCP server shipped together

Good fit Use it to connect audio from a file, microphone, or existing project source to a visible visual parameter, then verify the output with a screenshot.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dreamrec/tdpilot/td-audio-reactive
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.

Clone the repo
git clone --depth 1 https://github.com/dreamrec/TDPilot

Made for: Claude Code.

Or install tdpilot, the plugin that ships this one along with the rest of its 8 skills, 6 commands, 4 agents, 4 hooks, 1 MCP server.

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 td-audio-reactive

README.md
[![agentmods](https://agentmods.dev/badge/commands/dreamrec/tdpilot/td-audio-reactive.svg)](https://agentmods.dev/commands/dreamrec/tdpilot/td-audio-reactive)
Your own site
<a href="https://agentmods.dev/commands/dreamrec/tdpilot/td-audio-reactive"><img src="https://agentmods.dev/badge/commands/dreamrec/tdpilot/td-audio-reactive.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 692 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.
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.00692
Opus 5 $0.00009 $0.00346
Sonnet 5 $0.00004 $0.00138
Haiku 4.5 $0.00002 $0.00069

Measured 7d ago against content hash 179174c7cc2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

td-audio-reactive 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 7d 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.

commands/td-audio-reactive.md · 51 lines

What it actually says

Build an audio-reactive TouchDesigner visual whose live audio signal is explicitly bound to a visible TOP parameter. Finish with one low-quality screenshot of the verified stable output. Do not use a legacy macro template.

  1. Connect and locate. Call td_get_info and td_get_focus. On connection or authentication failure, follow td_sync_diagnose and stop. Resolve the target root and intended output from the user's request or focused project.
  2. Find a real audio source. If the user supplied a file or microphone, honor it. Otherwise inspect the target and nearby project scope for existing audio-file/device CHOPs and sample likely outputs with td_chop_data. A cooking CHOP with zero signal is not an active source. If no active source or user choice exists, ask the user for an audio file or microphone route and do not build a silent placeholder.
  3. Define the complete intent. Include source, analysis, normalization, bounded modulation, a visible TOP chain, a stable output, one explicit CHOP-to-parameter binding, signal/readback checks, nonblack content, and temporal response. Default the supported binding target to a grounded numeric levelTOP parameter; do not target MAT, POP, camera, or arbitrary parameters unless the current compiler and grounding explicitly support them.
  4. Ground the concept. Call td_brain_ground directly with the complete intent, source constraint, target root, desired output, include_memory=true, and trace_level="summary". Read the grounding_id, authoring contract, availability, parameter semantics, and recalled evidence.
  5. Author and review. Draft the smallest complete CHOP + TOP graph. The control edge must carry one explicit chop_reference_expression binding with a safe source channel and a registry-backed numeric target parameter. Remove any conflicting static value. Call td_brain_propose with the same grounding_id, draft_schema_version="2", and detail_level="summary"; repair machine-readable rejections and creatively important stripped parameters.
  6. Execute transactionally. Require complete server-recomputed intent coverage and zero unresolved semantic edges, then execute the accepted plan_id with rollback on failure.
  7. Prove reactivity. Validate the transaction result, final errors, cook health, nonzero source/analysis signal, installed expression or parameter readback, nonblack TOP content, and temporal visual change. Use metadata-only dynamics for time comparison instead of sending two screenshots. Apply at most one assertion-specific repair; otherwise roll back and report the blocker.
  8. Show it. Take one screenshot of the stable output at quality=0.25. Explain audio → analysis → normalized control → explicit binding → visual, name two safe live controls, and state the rollback result and any unverified evidence.

Never report an audio-reactive success when the source is silent, the binding is missing, or visual change was not measured.

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. 7d ago First seen · 51 lines · 18 tokens per session scan A 179174c7cc2b

Subscribe to this mod's changes

td-audio-reactive is a command published in the GitHub repository dreamrec/TDPilot (11 stars, last pushed 1mo ago), licensed MIT. It adds 18 tokens to every session and 692 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-31.