Query local TouchDesigner API documentation and class references. Use this skill when the user asks about specific TouchDesigner operators, Python classes, parameters, or methods.
This skill allows you to query a local database of TouchDesigner documentation.
ALWAYS use the provided Python scripts to query information. DO NOT read the JSON files in references/ directly.
list_class.py)Use this to get an overview of a class, including inherited members/methods. Useful when the user asks: "What parameters does Noise POP have?", "What methods are in OP?", "List properties of BaseCOMP".
Usage:
python scripts/list_class.py <ClassName>
Note: You can use the Operator name (e.g., NoisePOP) or Class name (NoisePOP_Class).
get_detail.py)Use this to get detailed information (summary, type, arguments, return values) about a specific member or method. Useful when the user asks: "How do I use the save method?", "What is the type of the 'seed' parameter?", "Arguments for cook method".
Usage:
python scripts/get_detail.py <ClassName> <MemberOrMethodName>
scrape_docs.py)Use this to fetch the latest documentation from the TouchDesigner Wiki. Can scrape a single Operator or perform a batch update from the Category page.
Single Operator Usage:
python scripts/scrape_docs.py <OperatorName>
Example: python scripts/scrape_docs.py NoisePOP
Batch Update Usage (Sync Category): To scrape all Python classes listed on the Category:Python_Reference page:
python scripts/scrape_docs.py --category --limit 0
Use --limit N to test with only the first N classes.
This runs synchronously to avoid overloading the server.
User: "What parameters does the Noise POP have?" Agent:
python scripts/list_class.py NoisePOP
seed. If the user wants details on seed:
python scripts/get_detail.py NoisePOP seed
User: "How do I save a POP?" Agent:
python scripts/list_class.py POP
save method. Get details:
python scripts/get_detail.py POP save
touchdesigner-api-lookup/
├── SKILL.md # This file
├── scripts/
│ ├── list_class.py # Lists inheritance, members, and methods
│ ├── get_detail.py # Gets detailed info for a specific member/method
│ └── scrape_docs.py # Scrapes TD Wiki to generate reference JSONs
└── references/ # JSON Data (DO NOT READ DIRECTLY)