td-python-extension SKILL.md skillA

td-python-extension from touchdesigner/tdmcpskills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add touchdesigner/tdmcpskills/td-python-extension@git:20260616.c15db43

Pins git:20260616.c15db43 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
touchdesigner/tdmcpskills
Path
skills/td-python-extension/SKILL.md
Versions recorded
5
Latest version
git:20260616.c15db43, committed Jun 16, 2026
First version recorded
Jun 12, 2026
Size
7,614 bytes
Repository stars
39
License
a license file GitHub does not identify

Python extensions — extension classes, ext0object, parameter callbacks, lifecycle, state/persistence, scriptTOP/numpy. Use when building Python-driven baseCOMPs.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Python Extensions

Patterns for Python extension components in TouchDesigner. Complements `td-comp-architecture` (structure/custom pars) and `td-dat-family` (callback mechanics). See `reference.md` for API signatures and `examples.md` for complete patterns.

## Create an extension — one pass

The fixed choreography. Author the class (step 3) and verify (step 7); the rest is invariant.
Mirrors what TD's own Component Editor produces.

1. **`baseCOMP base_<x>`** — name it now; binding and docked refs snapshot at creation.
2. **`textDAT <Name>`** inside — DAT = module = class, one identifier (e.g. `SimpleExt`).
3. **`set_dat_content`** the Skeleton (below) → `code/py/<comp-path>/<Name>.py`.
4. **`language=python`** — set it explicitly; `set_dat_content` doesn't (see Sync to File).
5. **`ext0object = op('./<Name>').module.<Name>(me)` + `ext0promote=True`** — leave `ext0name`
   empty (promoted under the class name). `ext0` always exists → no sequence management.
6. **pulse `reinitextensions`.**
7. **Gate — not done until proven:** `get_errors` clean AND a promoted member called from outside
   returns a value (`op('base_<x>').Hello()`). Print it.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add touchdesigner/tdmcpskills/td-python-extension@sha256:c0fce6255aa9b907

The line at the top of this page pins the label git:20260616.c15db43, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mbpm6nmjqszkwpni.svg)](https://markdownregistry.com/a/art_mbpm6nmjqszkwpni)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 12, 2026 and Jun 16, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20260616.c15db43 latest2026-06-16 c15db43 7,614 BA view · diff
git:20260616.63179752026-06-16 6317975 6,853 BA view · diff
git:20260613.00a53b82026-06-13 00a53b8 4,859 BA view · diff
git:20260613.264e7aa2026-06-13 264e7aa 4,840 BA view · diff
git:20260612.16e3aed2026-06-12 16e3aed 4,098 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7614 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

touchdesigner/tdmcpskills · 39 stars · license a license file GitHub does not identify · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mbpm6nmjqszkwpni
GET https://markdownregistry.com/api/v1/resolve?ref=touchdesigner/tdmcpskills/td-python-extension
GET https://markdownregistry.com/api/v1/blob/c0fce6255aa9b9070d5dddd76568dfb9935523a6f9c43d5b9306dc2e958e95c5

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from touchdesigner/tdmcpskills

td-skills-local SKILL.md skill
touchdesigner/tdmcpskills · .claude/skills/td-skills-local/SKILL.md · Install, update, or remove TD skills in the current project. Use when the user asks to install skills locally, update…
git:20260920.d2e316d · audit B · 39 stars
CLAUDE.md CLAUDE.md file
touchdesigner/tdmcpskills · CLAUDE.md
git:20260920.362adcd · audit A · 39 stars
td-build-planning SKILL.md skill
touchdesigner/tdmcpskills · skills/td-build-planning/SKILL.md · Plan TouchDesigner builds — scout networks, decide operators, allocate positions, phase work. Use before any…
git:20260613.264e7aa · audit A · 39 stars
td-chop-family SKILL.md skill
touchdesigner/tdmcpskills · skills/td-chop-family/SKILL.md · Build CHOP chains for audio, LFOs, animation, and data-driven control. Use when creating CHOPs or driving parameters…
git:20260612.16e3aed · audit A · 39 stars
td-colab SKILL.md skill
touchdesigner/tdmcpskills · skills/td-colab/SKILL.md · Collaborative mode — you're a thinking partner in TouchDesigner, not a builder. Load when you're sliding into…
git:20260616.f5731f5 · audit A · 39 stars
td-comp-architecture SKILL.md skill
touchdesigner/tdmcpskills · skills/td-comp-architecture/SKILL.md · Component design — baseCOMPs, extensions, custom parameters, parent shortcuts, modularity. Use when creating COMPs or…
git:20260612.16e3aed · audit A · 39 stars
td-dat-family SKILL.md skill
touchdesigner/tdmcpskills · skills/td-dat-family/SKILL.md · DAT operations — table data, Python callbacks, parameter execute, CHOP execute. Use when creating or populating any DAT.
git:20260616.c15db43 · audit A · 39 stars
td-general SKILL.md skill
touchdesigner/tdmcpskills · skills/td-general/SKILL.md · Core TouchDesigner conventions and the skill map — workflow phases, naming, paths, tool preferences, universal…
git:20260918.9ee6f70 · audit A · 39 stars
td-geometry-instancing SKILL.md skill
touchdesigner/tdmcpskills · skills/td-geometry-instancing/SKILL.md · Geometry instancing — geometryCOMP instance setup, data sources (CHOP/DAT/TOP/POP), transforms, textures. Use when…
git:20260613.264e7aa · audit A · 39 stars
td-glsl-shaders SKILL.md skill
touchdesigner/tdmcpskills · skills/td-glsl-shaders/SKILL.md · GLSL shaders in TouchDesigner — pixel, compute, vertex, POP, uniforms, docked DATs. Use when writing GLSL or creating…
git:20260616.9063da5 · audit A · 39 stars
td-lister-ui SKILL.md skill
touchdesigner/tdmcpskills · skills/td-lister-ui/SKILL.md · Lister and TreeLister UI — tables, interactive lists, data browsers. Use when building list-based interfaces.
git:20260612.16e3aed · audit A · 39 stars
td-mat-family SKILL.md skill
touchdesigner/tdmcpskills · skills/td-mat-family/SKILL.md · Materials — constantMAT, pbrMAT, pointspriteMAT, glslMAT, lineMAT, placement, blending. Use when assigning or creating…
git:20260613.00a53b8 · audit A · 39 stars

Every file in touchdesigner/tdmcpskills

Browse by kind, by grade A, or by owner.