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.
npx agentmods add skills/hybridlabor-api/bdb-dev-optimized-agent-skills/touchdesigner-self-debugnpx skills add hybridlabor-api/bdb-dev-optimized-agent-skills --skill touchdesigner-self-debuggit clone --depth 1 https://github.com/hybridlabor-api/bdb-dev-optimized-agent-skillsWrote 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.
[](https://agentmods.dev/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/touchdesigner-self-debug)<a href="https://agentmods.dev/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/touchdesigner-self-debug"><img src="https://agentmods.dev/badge/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/touchdesigner-self-debug.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00134 | $0.02194 |
| Opus 5 | $0.00067 | $0.01097 |
| Sonnet 5 | $0.00027 | $0.00439 |
| Haiku 4.5 | $0.00013 | $0.00219 |
Grade A, and why
touchdesigner-self-debug 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 2d 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.
This is a copy
100% identical to touchdesigner-self-debug — 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.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TouchDesigner Startup + Functional Self-Debugging
A general technique for verifying any TD-side Python change (e.g. anything in
td/modules/**) inside real TouchDesigner. Calling functions directly from
the Textport, without standing up the HTTP WebServer, is the shortest path.
This skill is feature-agnostic. The worked example in Steps 4–5 happens to verify node auto-alignment (the PR that produced this skill), but that is illustration only. The reusable shape is: create/modify via the real code path → read back the TD runtime value you actually care about → reconcile against an invariant. Swap the alignment-specific bits (grid, overlap area,
node_layout.py) for whatever your change touches. Do not assume alignment, grids, or overlap have anything to do with your task.
When to Execute
- You modified TD-side logic (e.g.
td/modules/mcp/services/*.py) and want to check behavior on the real machine. - Unit/offline verification is insufficient and you need to reconcile against TD runtime data (any node attribute, cook result, error state, etc.).
- You are in a fresh worktree that cannot rely on CI or the 9981-dependent integration suite.
Prerequisites and Pitfalls (read first — these are general)
- The
.toxreadstd/modules/from disk at runtime. Re-authoring the.toxis not required for.pychanges; reload modules or restart TD. loadTox()leavesexternaltoxempty →import_modules.setup()fails withNo module named 'mcp'. Replicate setup manually (Step 3).- A fresh worktree lacks generated artifacts → empty OpenAPI schema / missing
node_modulesbreaks HTTP routing. Bypass it by calling the Textport directly (Step 4). Only runnpm install && npm run genif you specifically need the HTTP path (e.g. running the vitest integration suite). - Computer-use screenshots go black when TD loses frontmost focus → recover with
open_application("TouchDesigner")+switch_display. - Multi-line pastes into the REPL break on line boundaries → always wrap in
exec("""...""")to submit as one statement. - To pick up a later
.pyedit in an already-running TD, drop the module fromsys.modulesso the next import reloads from disk (Step 3c). If the WebServer is already up you can do this viaexecute_python_script— no computer-use needed.
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.
- 2d ago First seen · 162 lines · 134 tokens per session scan A 305944d0b671
touchdesigner-self-debug is a skill published in the GitHub repository hybridlabor-api/bdb-dev-optimized-agent-skills (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 134 tokens to every session and 2,194 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to touchdesigner-self-debug, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
agent-production-validator
Agent skill for production-validator - invoke with $agent-production-validator.
agent-tester
Agent skill for tester - invoke with $agent-tester.
tutti-record-agent-session-replay
From a Tutti checkout, run, audit, freshly replay, publish, or diagnose Session Replay cassettes that are driven by case-repository scenario scripts (CDP), not by interactive UI recording. Use for real-Provider capture while a scenario.mjs executes, cassette transport or semantic-state mismatches, fresh replay…
moai-ref-testing-pyramid
Test pyramid strategy, coverage targets, test patterns, and quality metrics reference. Agent-extending skill that amplifies manager-develop test-creation and quality-validation work with production-grade testing patterns. NOT for: production code implementation, architecture design, DevOps, security audits.
test-automation
Execute Vitest and Playwright test suites with result collection and failure analysis.
nw-ad-critique-dimensions
Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton user-centricity, priority validation, observable behavior assertions, traceability coverage, and walking skeleton boundary proof.