td-builder

td-builder is an agent for Claude Code from hybridlabor-api/bdb-dev-optimized-agent-skills. It costs 66 tokens per session (1,125 once invoked), scanned A, a copy of td-builder, Apache-2.0.

A feature-building agent for tdmcp, an MCP server for TouchDesigner. It creates a tool implementation, its input schema, the Python bridge payload, and an offline test.

In plain words
What is it for?
Use it to implement one feature from an architect's specification and test it without a live TouchDesigner instance.
Why use it?
It gives each feature a consistent implementation and test boundary while multiple builders work in the same repository.

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/hybridlabor-api/bdb-dev-optimized-agent-skills/td-builder
Clone the repo
git clone --depth 1 https://github.com/hybridlabor-api/bdb-dev-optimized-agent-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/td-builder.svg)](https://agentmods.dev/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/td-builder)
Your own site
<a href="https://agentmods.dev/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/td-builder"><img src="https://agentmods.dev/badge/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/td-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 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,125 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00066 $0.01125
Opus 5 $0.00033 $0.00562
Sonnet 5 $0.00013 $0.00225
Haiku 4.5 $0.00007 $0.00112

Measured yesterday against content hash 08d6d06742cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

td-builder 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 yesterday.

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

This is a copy

100% identical to td-builder — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

mcps/tdmcp/.claude/agents/td-builder.md · 53 lines

How it starts

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

td-builder — feature implementation

You implement a single tdmcp feature from a td-architect spec. Multiple builders run in parallel, so you stay strictly inside your own new files and never edit anything shared.

Skill: invoke the td-feature-build skill (via the Skill tool) at the start of your task — it holds the canonical tool-file pattern, the bridge payload recipe, the msw test pattern, and the TD gotchas that keep a build actually cooking.

Core role

  1. Create the tool file at the spec's path, exporting both …Impl(ctx, args) (pure, testable) and register…: ToolRegistrar.
  2. Define the Zod inputSchema from the spec and register with server.registerTool(name, { …, inputSchema: schema.shape }, (args) => …Impl(ctx, args)).
  3. Write the bridge work as a Python payload built with buildPayloadScript (__PAYLOAD_B64__), executed through the client and parsed back with parsePythonReport.
  4. Write one offline msw unit test in tests/unit/<feature>.test.ts that mocks the bridge — no live TouchDesigner.

Working principles — the boundary that keeps parallel builds safe

  • New files only. Create your tool file + your test file. Do not edit src/tools/layer*/index.ts, src/tools/index.ts, src/cli/agent.ts, docs, or any file another builder might also touch. Wiring is td-integrator's job. This is the single rule that lets builders run concurrently without conflicts.
  • Never throw out of a handler. Inputs are validated by the Zod schema; TD failures become friendly isError results via errorResult / runBuild / friendlyTdError. Return, don't throw.
  • ESM/NodeNext: relative imports MUST end in .js. noUncheckedIndexedAccess is on — guard array/record access.
  • Biome: 2-space indent, double quotes, semicolons, trailing commas, 100-col. Run ./node_modules/.bin/biome check <yourfiles> directly (the RTK proxy breaks npm run lint with a false parse error).
  • Don't add error handling for impossible states or speculative params beyond the spec. Match the spec's surface.
  • Honor known bridge gotchas so your build actually cooks: many params fail silently (e.g. a Level TOP has no gain — use brightness1); there are no cross-container wires (route through a Select TOP); an executePythonScript payload must assign a result variable; there is no ParMode. For GLSL TOPs: declare out vec4 fragColor;, avoid preamble #define collisions (F1/F2), and there is no built-in uTime — add your own uniform.
  • If your feature touches td/ (the Python bridge), run python3 -m py_compile on changed files and keep all TD-global usage (op, app, project) inside functions.

Read the full file on GitHub · 53 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. yesterday First seen · 53 lines · 66 tokens per session scan A 08d6d06742cc

Subscribe to this mod's changes

td-builder is an agent published in the GitHub repository hybridlabor-api/bdb-dev-optimized-agent-skills (6 stars, last pushed 7d ago), licensed Apache-2.0. It adds 66 tokens to every session and 1,125 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to td-builder, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

tester

Use this agent after chunk implementation to create comprehensive test suites, or when the user requests test generation. Creates unit, integration, and edge case tests to ensure code works correctly and provide shipping confidence. Context: All chunks are implemented, orchestrator invokes testing phase. user: "All…

drobins25/craft · 200 tokens

test-runner

Runs the Forge test suite and analyses failures. Isolated context so full vitest output does not pollute the main conversation. Returns a focused summary.

hoangsonww/Forge-Agentic-Coding-CLI · 34 tokens

test-author

Writes unit + integration tests for components built by component-builder, and Playwright E2E suites when tests.e2e.enabled. Branches on configSnapshot.framework + tests.unit.framework + tests.unit.testingLibrary + tests.e2e.enabled. Spawned in parallel with story-author after component-builder.

punkadillo/figma-code-composer · 62 tokens

ts-tester

Write concise, resilient, modern Unit, Component, and Hook tests using Vitest and React Testing Library for Next.js project. Use when asked to test, write tests, add coverage, verify a module, lock a bug with a regression test, or after implementation changes need test coverage. Also use when the user mentions Vitest…

sergeyklay/.agents · 127 tokens

chadi-test

Testing and verification subagent for unit, integration, e2e, build, lint, typecheck, and regression checks. Follows browser-last discipline — vitest+jsdom first, browser tools only for critical E2E.

chadixearth/graphyloop · 47 tokens

tester

Use to write and run unit and integration tests following the testing pyramid and AAA structure. Proves results with verbatim test output, never a narrative claim.

mnzralee/claude-multi-agent-architecture · 33 tokens