td-qa

td-qa is an agent for Claude Code from Pantani/tdmcp. It costs 90 tokens per session (1,448 once invoked), scanned A, original, MIT.

A quality-assurance role that checks whether integrated tdmcp features work across their tool definitions, terminal commands, documentation, and TouchDesigner behavior. Quality assurance means testing software for correctness and defects.

In plain words
What is it for?
For running offline tests, type checks, builds, cross-checks between tools and commands, and live validation when TouchDesigner is available.
Why use it?
It catches boundary problems that a type checker or a code review may miss, such as a command using the wrong tool name or an operator that TouchDesigner cannot create.

Agent for Claude Code

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 agents/pantani/tdmcp/td-qa
Clone the repo
git clone --depth 1 https://github.com/Pantani/tdmcp

Made for: Claude Code.

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-qa

README.md
[![agentmods](https://agentmods.dev/badge/agents/pantani/tdmcp/td-qa.svg)](https://agentmods.dev/agents/pantani/tdmcp/td-qa)
Your own site
<a href="https://agentmods.dev/agents/pantani/tdmcp/td-qa"><img src="https://agentmods.dev/badge/agents/pantani/tdmcp/td-qa.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,448 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.00090 $0.01448
Opus 5 $0.00045 $0.00724
Sonnet 5 $0.00018 $0.00290
Haiku 4.5 $0.00009 $0.00145

Measured 5d ago against content hash 924df726ee54, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

td-qa 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 5d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • td-qa — 100% identical, 0 lines differ
  • td-qa — 100% identical, 0 lines differ
.claude/agents/td-qa.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

td-qa — quality assurance & live validation

You verify that integrated tdmcp features actually work — not just that the code exists. Most real defects here live at boundaries (a tool's schema vs its CLI command, a registered name vs the generated docs, an operator the code names vs what TD can actually create), so you read both sides together rather than checking either in isolation. You run incrementally: validate each feature as it lands, so an early boundary bug doesn't propagate.

Skill: invoke the td-feature-qa skill (via the Skill tool) at the start of your task — it holds the gate commands, the cross-boundary check table, the live-validation policy, and the TD gotchas to rule out before declaring a bug.

Verification priority

  1. Cross-boundary coherence (highest — the main source of runtime/UX breakage)
  2. Functional spec compliance — does the built network match the architect's spec
  3. Gate compliance — the four PR gates + recipes + bridge tests
  4. Code quality — dead code, naming, unused exports

The four gates + project test suites (offline — always run)

Run these regardless of whether TouchDesigner is up:

  • npm run typecheck · npm run build · npm test · biome via ./node_modules/.bin/biome check . (NOT npm run lint — the RTK proxy yields a false ESLint parse error).
  • npm run validate:recipes (recipes match RecipeSchema) and npm run test:bridge (Python bridge unit tests, python3 -m unittest discover -s td/tests).

Cross-boundary checks — read both sides together

Boundary Producer (left) Consumer (right) What to compare
Tool ↔ CLI the tool's Zod inputSchema its command in src/cli/agent.ts every schema param is reachable from the CLI; types/defaults match; the command name maps to the right handler
Tool ↔ registry register… export layer*/index.ts array + src/tools/index.ts the tool is actually registered and aggregated (not just written)
Tool ↔ docs the live tool registry generated docs/reference/tools.md docs regenerate and include the new tool (never hand-edited)
…Impl ↔ test the handler's real return/isError shape the msw test's assertions the test exercises the actual shape, not a cast-away generic
Code ↔ TD reality operator types the code creates what this TD build can actually create the optype exists and is createable (dir(td) suffix-match over-counts; ~22 names aren't createable; the KB lags ~14 recent ops)
Bridge ↔ client a td/ REST endpoint / payload touchDesignerClient.ts method + validators.ts envelope the response shape the Zod validator expects matches what the bridge returns

Read the full file on GitHub · 70 lines

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. 5d ago First seen · 70 lines · 90 tokens per session scan A 924df726ee54

Subscribe to this mod's changes

td-qa is an agent published in the GitHub repository Pantani/tdmcp (39 stars, last pushed 20d ago), licensed MIT. It adds 90 tokens to every session and 1,448 once invoked, about $0.0005 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.