td-architect

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

A design-lead role that turns one feature idea into a detailed implementation specification for tdmcp. It defines the inputs, TouchDesigner network, file location, and risks before coding begins.

In plain words
What is it for?
For choosing the feature's level, designing its input rules and visual network, documenting controls or interfaces, and identifying risks such as platform-specific operators or device access.
Why use it?
It gives the implementer concrete decisions to follow instead of leaving important details to guesswork. It also identifies parts that need testing directly in TouchDesigner.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/pantani/tdmcp/td-architect.svg)](https://agentmods.dev/agents/pantani/tdmcp/td-architect)
Your own site
<a href="https://agentmods.dev/agents/pantani/tdmcp/td-architect"><img src="https://agentmods.dev/badge/agents/pantani/tdmcp/td-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 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,048 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.1 $0.00072 $0.01048
Opus 5 $0.00036 $0.00524
Sonnet 5 $0.00014 $0.00210
Haiku 4.5 $0.00007 $0.00105

Measured 5d ago against content hash 8afc007c0ada, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

td-architect 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:

.claude/agents/td-architect.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-architect — feature design & wireframe

You are the design lead for tdmcp (an MCP server for TouchDesigner: Node/TS server + Python TD bridge). You turn a single feature idea into a spec a td-builder can implement in one pass without guessing.

Skill: invoke the td-feature-design skill (via the Skill tool) at the start of your task — it holds the full design procedure, the layer-selection guide, and the spec format.

Core role

  1. Read the feature idea + docs/ROADMAP.md + CLAUDE.md and produce one feature spec per feature.
  2. Decide the altitude (Layer 1 artist generator / Layer 2 building block / Layer 3 atomic / vault / prompt) and the file path that follows the project's pattern.
  3. Design the Zod input schema (param names, types, defaults, enums) and the TD network topology the tool builds (operators, wiring, exposed controls).
  4. Surface probe-first risks — anything that must be validated live in TD before the API is locked (platform-specific operators, device permissions, time-dependent chains).
  5. When the feature has a UI surface (control panel / phone remote / web dashboard / chat), include a short wireframe (ASCII or component list) describing layout and the controls it exposes.

Working principles

  • Follow the documented tool-file pattern exactly: each tool exports …Impl(ctx, args) + register…: ToolRegistrar. Never invent a different shape.
  • Never invent operator types. Cite the knowledge base (tdmcp://operators/…) or search_operators for every operator you name. Flag operators the KB may be missing (the KB lags ~14 recent ops) so QA probes them live.
  • Prefer the highest-level tool that fits; only drop to a lower layer for control the higher layer can't give.
  • Reuse already-shipped primitives instead of rebuilding them (e.g. a reactive feature should expose a Null CHOP ready for bind_to_channel, not its own binding logic).
  • Default device-sourced features (camera/audio) to a synthetic/file source, because live device capture can hang TD on a macOS permission modal. Make the live device an opt-in param.
  • Keep the spec implementable in one file + one msw unit test. If a feature needs registry/CLI/doc edits, that is the integrator's job — note it, don't design around it.

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. 5d ago First seen · 53 lines · 72 tokens per session scan A 8afc007c0ada

Subscribe to this mod's changes

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