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/dylanroscover/embody/td-api-referencenpx skills add dylanroscover/Embody --skill td-api-referencegit clone --depth 1 https://github.com/dylanroscover/EmbodyWrote 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/dylanroscover/embody/td-api-reference)<a href="https://agentmods.dev/skills/dylanroscover/embody/td-api-reference"><img src="https://agentmods.dev/badge/skills/dylanroscover/embody/td-api-reference.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 | $0.00048 | $0.10035 |
| Opus 5 | $0.00024 | $0.05018 |
| Sonnet 5 | $0.00010 | $0.02007 |
| Haiku 4.5 | $0.00005 | $0.01004 |
Grade A, and why
td-api-reference scanned grade A with 2 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 3d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **`fetch(key)` with no default RAISES** `tdError: The fetched item was not found and no default was specified` -- it does not return `None`. Derivative's reason: a stored value could legitimately be `None`. Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
**`requests` blocks the frame - see the Threading ladder above.** `execute_python`, parameter expressions, and operator/cook callbacks all run on TD's main thread, so a synchronous `requests.get(...)` (or `urllib`/`socke How it starts
The opening of the file, as written. The whole thing — 527 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TouchDesigner Python API Reference
Always research TD features on the wiki before writing code. Assumptions about TD's Python API are frequently wrong.
- Wiki home: https://docs.derivative.ca/Main_Page
- OP Class: https://docs.derivative.ca/OP_Class
- COMP Class: https://docs.derivative.ca/COMP_Class
- Par Class: https://docs.derivative.ca/Par_Class
- Extensions: https://docs.derivative.ca/Extensions
- Cook cycle: https://docs.derivative.ca/Cook
Parameter Access Patterns
# CORRECT -- always use .eval() for the current runtime value:
value = op('geo1').par.tx.eval()
# WRONG -- .val only works in constant mode:
value = op('geo1').par.tx.val
# Setting values:
op('geo1').par.tx = 5
op('geo1').par.tx.val = 5 # CAUTION: silently switches to CONSTANT mode
# Menu parameters accept string name or index:
op('geo1').par.xord = 'trs' # by name
op('geo1').par.xord = 5 # by index
# Type casting requires explicit .eval():
me.par.tx.eval().hex() # CORRECT
me.par.tx.hex() # WRONG
Creating Custom Parameters
All append* methods return a ParGroup (tuple-like), not a single Par -- always index with [0].
page = comp.appendCustomPage('Controls')
pg = page.appendFloat('Speed', label='Speed') # Returns ParGroup
p = pg[0] # Get the actual Par
p.default = 0.5
p.normMin = 0; p.normMax = 2 # Slider range
p.min = 0; p.clampMin = True # Hard clamp
p.help = "Playback speed multiplier." # Tooltip on hover
p.startSection = True # Draw separator line above
# Other methods:
page.appendInt('Count')
page.appendToggle('Active')
page.appendStr('Label')
page.appendMenu('Mode') # Creates EMPTY menu -- set .menuNames/.menuLabels separately
page.appendPulse('Reset')
page.appendRGB('Color') # Creates Color1r, Color1g, Color1b
page.appendXYZ('Pos') # Creates Pos1, Pos2, Pos3
page.appendOP('Target')
page.appendFile('Path')
# Post-creation properties:
p.help = "Tooltip text shown on hover" # ALWAYS set this
p.startSection = True # Draw separator line above this parameter
p.order = 11.5 # Insert between order 11 and 12
p.readOnly = True # Display-only parameter
# Cleanup:
comp.destroyCustomPars() # Remove ALL custom pars
par.Speed.destroy() # Remove single custom par
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.
- 3d ago First seen · 527 lines · 48 tokens per session scan A ef97792a663d
td-api-reference is a skill published in the GitHub repository dylanroscover/Embody (166 stars, last pushed 3d ago), licensed MIT. It adds 48 tokens to every session and 10,035 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
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.
amazon aurora dsql
Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.
investigate-issue
Investigate a GitHub issue by fetching details, analyzing the codebase, researching documentation, and presenting an actionable implementation plan with test guidance. Use when asked to investigate, analyze, triage, or plan work for a GitHub issue. Invoked with /investigate-issue or /investigate-issue (prompts for ID).
api-validator
Scan Bifrost HTTP controllers/handlers/integrations and validate OpenAPI API coverage, route methods/paths, parameters, request/response docs, and auth/security information. Use when asked to audit missing or incorrect APIs, compare controllers against docs/openapi, validate auth information, or fix API documentation…
resolve-pr-comments-stack
Resolve unresolved PR review comments across an entire Graphite (gt) stack of many PRs, bottom-up, in one working directory. Use when asked to "go through this stack and resolve comments", "clean up review comments across the whole stack", or given a list/range of PR numbers that form (or partially form) a gt stack.…
add-pricing-field
Wire a new model-pricing field (a datasheet cost key like costperrequest, outputcostpervideopersecond720p, etc.) end-to-end through Bifrost's pricing engine - Options struct, DB table + migration, datasheet sync upsert columns, cost calculation, custom pricing overrides, public API, OpenAPI docs, MDX docs, and the UI…