Logo vun Td Network Cleanup

Td Network Cleanup

Organisatioun
TouchDesigner
td-network-cleanup

Clean up TouchDesigner network layout — alignment, spacing, annotations, colors. Use after builds to organize operators.

Iwwersiicht

EditeurTouchDesigner
RepositoryTDMCPSkills
Skill-Nummtd-network-cleanup
Stären
42
Forks
1
Matgeliwwert Fichieren
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum TouchDesigner op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Td Network Cleanup an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-network-cleanup
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TouchDesigner/TDMCPSkills.git /tmp/TDMCPSkills
mkdir -p .claude/skills
cp -r /tmp/TDMCPSkills/skills/td-network-cleanup .claude/skills/td-network-cleanup
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Td Network Cleanup an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Td Network Cleanup automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Td Network Cleanup net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Cleanup

Organize operator networks into clean, readable layouts. Only moves, resizes, colors, and annotates — never creates functional operators or changes parameters.

Process

  1. Load td-node-layout skill — required for spacing, padding formulas, and containment checks. Do not skip this step
  2. Survey — list_operators(path, depth=2) for positions, sizes, overlaps, and existing annotations. Use get_connections(path, graph=true) for full signal flow topology in execution order
  3. Delete old annotations — destroy any existing annotateCOMP ops before reorganizing
  4. Plan layout — identify functional groups, chains, parallel branches. Independent groups go side-by-side when they have similar vertical extent (saves space vs stacking). Use actual nodeWidth/nodeHeight to compute bounding boxes. Replace long cross-network wires with selectCHOP chop parameter references — especially for merge inputs and fan-out patterns
  5. Apply layout — use reposition_operators to batch-move operators (see Positioning below)
  6. Check vertical spacing — ensure enough Y gap between groups for annotation headers (60px top padding) + 20px gap between annotations. If groups are too close, move ops down before annotating
  7. Compute annotation bounds — for each group, find min/max X/Y from actual operator positions + sizes, then add padding (25px sides/bottom, 60px top). Don't guess dimensions — calculate them
  8. Add annotations — annotation(parent_path=..., comment=...) around every functional group. All groups get annotated, not just complex ones
  9. Verify containment — for each annotation, confirm all ops in the group satisfy: op.nodeY >= ann.nodeY + 25 (bottom padding) and op.nodeY + op.nodeHeight <= ann.nodeY + ann.nodeHeight - 60 (60px top padding = 25px content gap + ~35px header). If any op fails, fix the annotation or move the op
  10. Verify no annotation overlaps — check that no two annotations share any area. For each pair: ann1.nodeY + ann1.nodeHeight + 20 <= ann2.nodeY (vertically stacked) or ann1.nodeX + ann1.nodeWidth + 20 <= ann2.nodeX (side by side). Fix before proceeding
  11. Apply colors — only for special patterns (see Operator Colors below). Do not color by family
  12. Final verify — list_operators one more time. Check for: ops overlapping annotation headers, excessive margins, misaligned annotations, backward wires. Fix anything found. Repeat until clean

Positioning & Colors

  • Batch reposition — use reposition_operators(parent_path, positions) with a dict of {name: [x, y]}. Preferred over execute_code for moving multiple ops
  • Single op — use edit_operator(path, nodeX, nodeY) for one-off moves
  • Annotation edits — use annotation(path=..., ...) to update position/size/comment/color in place. No need to delete and recreate
  • Operator color — use edit_operator(path, color=[r, g, b])

Annotation Rules

Follow td-node-layout skill for spacing, alignment, and sizing formulas. Additional cleanup-specific rules:

  • Use annotation tool with parent_path, comment, nodeX, nodeY, width, height, color (RGB array 0-1)
  • comment writes Titletext ONLY — the heading; it never touches the body. For any explanation longer than a heading, follow up with set_parameters on the annotateCOMP: Titletext = short heading, Bodytext = the explanation. Body pars: Bodyfontsize (def 10), Bodywordwrap (def on), Bodylimitwidth/Bodymaxwidth. Batch in one set_parameters call
  • Compute bounds from actual nodeWidth/nodeHeight — never guess
  • Every functional group gets an annotation, even small ones
  • Short titles, body for detail — Titletext = single word / short phrase ("Render", "Data Select"). Put explanatory sentences in Bodytext, never the title (font scales down → long titles unreadable)
  • Colors: muted backgrounds (~0.25–0.35 range) — blue-gray [0.25, 0.28, 0.35], green [0.22, 0.33, 0.22], purple [0.30, 0.22, 0.33], amber [0.35, 0.30, 0.18]
  • Stacked alignment — after computing per-group bounds, unify X and width across all stacked annotations. All should share left edge and width for a clean column

Operator Colors

Do not color operators by family — that's already visually obvious from operator shape/type. Only color for special patterns where two related ops need to stand out as a pair. E.g. feedback loop: color both feedbackPOP and its target null the same color. Default gray is 0.67, 0.67, 0.67.

Layout Reference

Load the td-node-layout skill for full positioning rules (spacing, flow direction, special patterns, annotation layout). Follow naming in td-general when verifying operator names.

Pitfalls

  • Annotations are properties not parameters — nodeX, nodeY, nodeWidth, nodeHeight must be set via execute_code, not set_parameters
  • Text dumped in the title — annotation(comment=...) sets Titletext only; explanation must go in Bodytext via set_parameters (see Annotation Rules)
  • Forgetting to delete old annotations — leftover annotateCOMP ops overlap with new ones
  • Not verifying containment — after creating annotations, check all ops are inside the box and below the header
  • Insufficient vertical spacing — minimum ~105px Y gap between last op in one group and first op in the next (25px bottom padding + 20px gap + 60px top padding)
  • Never use networkbox mode — hides the op from Python, making it undeletable via code

Heefeg gestallte Froen

Wat mécht de KI-Skill Td Network Cleanup?

Clean up TouchDesigner network layout — alignment, spacing, annotations, colors. Use after builds to organize operators.

Firwat Td Network Cleanup op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Td Network Cleanup besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Td Network Cleanup an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-network-cleanup an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Td Network Cleanup benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Td Network Cleanup benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Td Network Cleanup domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Td Network Cleanup gratis?

De Skill gëtt vum TouchDesigner op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇