debug-operator

debug-operator is a skill for Claude Code from dylanroscover/Embody. It costs 21 tokens per session (875 once invoked), scanned A, original, MIT.

A step-by-step troubleshooting workflow for TouchDesigner operators, which are the building blocks used to create TouchDesigner projects. It checks errors, scripts, connections, settings, and performance.

In plain words
What is it for?
Use it when a TouchDesigner network behaves incorrectly, an operator is marked red, a script fails, inputs are missing, parameters are invalid, or performance is poor.
Why use it?
It gives a structured way to find why an operator is failing instead of relying on guesswork. It covers cooking errors, Python errors, shader compilation errors, and common setup problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when a TouchDesigner network behaves incorrectly, an operator is marked red, a script fails, inputs are missing, parameters are invalid, or performance is poor.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dylanroscover/embody/debug-operator
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.

Any agent
npx skills add dylanroscover/Embody --skill debug-operator
Clone the repo
git clone --depth 1 https://github.com/dylanroscover/Embody

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 debug-operator

README.md
[![agentmods](https://agentmods.dev/badge/skills/dylanroscover/embody/debug-operator/github.svg)](https://agentmods.dev/skills/dylanroscover/embody/debug-operator)
Your own site
<a href="https://agentmods.dev/skills/dylanroscover/embody/debug-operator"><img src="https://agentmods.dev/badge/skills/dylanroscover/embody/debug-operator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debug-operator

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylanroscover/embody/debug-operator"><img src="https://agentmods.dev/badge/skills/dylanroscover/embody/debug-operator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 875 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00021 $0.00875
Opus 5.5 $0.00008 $0.00350
Sonnet 5.5 $0.00004 $0.00175
Haiku 4.5 $0.00002 $0.00088

Measured 21d ago against content hash 1afe5d5b597b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-operator 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 21d 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.

.claude/skills/debug-operator/SKILL.md · 28 lines

How it starts

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

Debug Operator Workflow

Systematic approach to diagnosing TD operator errors:

  1. Get errors and warnings: get_op_errors with recurse=true on the suspected operator and its children. It covers all three surfaces TD paints red: cook errors, Python tracebacks (kind: 'script' entries), and GLSL compile failures (shaderErrors)
  2. Inspect the operator: get_op to see type, family, parameters, inputs, outputs, children
  3. Check connections: get_connections to verify input/output wiring is correct
  4. Read DAT content: get_dat_content if the operator is a DAT with script errors
  5. Check parameters: get_parameter on specific parameters that might be misconfigured
  6. Check performance: get_op_performance if the issue is cook-time related

Common Error Patterns

  • Missing input: Operator requires a specific input type -- check connections
  • Script error in DAT: Read the DAT content and fix the Python/expression
  • Parameter out of range: Check parameter values against valid ranges
  • Missing operator reference: An expression or parameter references a non-existent operator
  • Script error (Python traceback): A raising callback, DAT script, or expression shows a red X but is NOT a cook error -- TD keeps it on a separate surface (OP.scriptErrors()), and op.errors() reports the op as perfectly clean. Two consequences: read the traceback from get_op_errors' kind: 'script' entries, and remember these errors PERSIST until cleared. An error thrown during an extension re-init window (the extension object is briefly the old one, so a method added later is missing) stays red long after the code is correct again -- re-cook the owning op, confirm it runs clean, then clearScriptErrors(recurse=True, error='*') to clear the stale badge. Field case 2026-08-22: Embody's own manager list sat red on 'EmbodyExt' object has no attribute 'DirtyState' while the live extension had the method all along. A SyntaxError ... Context:(Extension 1) here with a None extension means the Extension Object par was set via .expr instead of .val (see /create-extension).
  • Cook error: The operator can't process its inputs -- check input data types match expectations
  • Black or empty render: Use capture_top on the intended output TOP, then check display/render flags on the output and upstream ops; missing light or camera (a 3D scene renders black without both); no cooking Null terminating the chain; a bypass flag left on; resolution is 0; alpha is premultiplied/zero so the image is present but invisible; and whether the op is cooking (check cookedThisFrame via get_op_performance, or force a cook). After each fix, use capture_top again to confirm the frame renders correctly.
  • Stale content after a file change (cooks clean, shows old pixels): An op can cook with NO errors and the RIGHT resolution yet still hold STALE content. A Movie File In whose par.file changed serves its previous cached texture until it cooks on a real frame advance -- cook(force=True) in the same frame is not enough. And when a TOP chain's output looks exactly ONE frame stale, suspect same-pass reload propagation: a reload applied mid-pass may not reach downstream ops until the next real frame, even under forced cooks in dependency order. Verify CONTENT, not cook state -- read pixels back (numpyArray() / capture_top) at the POINT OF CAPTURE (the chain's output, not the source) and confirm they actually changed across a real frame advance. See rules/td-python.md (Cook Model) and rules/performance.md (Movie Export).

Read the full file on GitHub · 28 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. 21d ago Changed 1afe5d5b597b
  2. 1mo ago Changed c1677e9a9be6
  3. 1mo ago First seen · 28 lines · 21 tokens per session scan A dc6d7983939b

Subscribe to this mod's changes

debug-operator is a skill published in the GitHub repository dylanroscover/Embody (203 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 875 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other skills, from other repositories

python-api

This skill should be used when writing, editing, or debugging Python code that runs inside TouchDesigner — scripts, expressions, DAT callbacks, Extensions, or one-off snippets passed to executepythonscript — or whenever there is uncertainty about a td class's methods, members, or module-level API. Trigger phrases…

8beeeaaat/touchdesigner-mcp · 117 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

idapython

IDA Pro Python scripting for reverse engineering. Use when writing IDAPython scripts, analyzing binaries, working with IDA's API for disassembly, decompilation (Hex-Rays), type systems, cross-references, functions, segments, or any IDA database manipulation. Covers ida modules (50+), idautils iterators, and common…

mrexodia/ida-pro-mcp · 77 tokens

benchmark-workflow

Run, diagnose, or change Xberg extraction benchmarks, quality scoring, benchmark fixtures, artifact contracts, and independently sourced ground truth. Load for the Benchmarks workflow or benchmark-harness work, not ordinary unit tests.

xberg-io/xberg · 43 tokens

perf

This skill should be used when the user runs /touchdesigner:perf, or asks to measure where frame time is going in a TouchDesigner project — a cook-time profiling pass across the network producing a ranked list of the slowest operators. Trigger phrases include "measure cook times", "profile my TD project", "which…

8beeeaaat/touchdesigner-mcp · 100 tokens

debugging-table-access-denied

Debugs a TableAccessDeniedError from an error tracking issue, Slack alert, or user report. Use when investigating why HogQL denied a system or warehouse table and whether the occurrence is a real bug or expected behavior. Trigger terms include TableAccessDeniedError, tableaccessdenied, and "You don't have access to…

PostHog/posthog · 73 tokens