Logo di Td Network Cleanup

Td Network Cleanup

Organizzazione
TouchDesigner
td-network-cleanup

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

Panoramica

AutoreTouchDesigner
RepositoryTDMCPSkills
Nome della skilltd-network-cleanup
Stelle
42
Fork
1
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da TouchDesigner su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Td Network Cleanup in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-network-cleanup
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Td Network Cleanup in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Td Network Cleanup non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Td Network Cleanup non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

Domande frequenti

Cosa fa la skill IA Td Network Cleanup?

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

Perché usare Td Network Cleanup su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Td Network Cleanup è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Td Network Cleanup in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/TouchDesigner/TDMCPSkills/tree/main/skills/td-network-cleanup. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Td Network Cleanup?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Td Network Cleanup?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Td Network Cleanup: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Td Network Cleanup è gratuita?

È pubblicata su GitHub da TouchDesigner. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇