Skip to content
Skill

Tdpilot brain recovery

Guides an agent through recovering a failed TouchDesigner patch transaction safely

Tdpilot brain recovery is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
17
Last commit
License
MIT
Listing updated

Similar skills

About Tdpilot brain recovery

This skill tells the agent how to stabilise TouchDesigner after a TDPilot brain or patch transaction fails, rolls back only partially, or leaves a broken network behind. It sets an order of operations: read the failed transaction result or activity log, identify the failed op, snapshot id and rollback status, then inspect the affected root with the node, error and cooking-info tools before changing anything else.

Recovery favours receipt-based checks over blind undo. The agent verifies whether intended nodes are gone or restored, uses the transaction's snapshot id when a snapshot restore is required, and deletes scratch paths only when their creation confirmed ownership. When a transaction reports that manual recovery is needed, the agent stops automatic changes and reports the snapshot, failed op, affected root, remaining errors and the smallest safe next step.

The skill also governs repair planning. It requires a fresh plan built from recovered live state instead of a stale BrainPlan, and lists anti-patterns such as stacking another large change on an uncertain state, reporting success without checking post-rollback validation, and using broad Python cleanup where structural tools can act on exact nodes. It expects a TDPilot setup with TouchDesigner and its structural tools available.

When your agent uses it

Use when a TDPilot brain or patch transaction fails, rollback is incomplete, TouchDesigner becomes unstable, or a broken network needs repair.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the tdpilot plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add dreamrec/TDPilot
/plugin install tdpilot@dreamrec-TDPilot

Or copy only this skill to ~/.claude/skills/tdpilot-brain-recovery:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dreamrec/TDPilot.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/tdpilot-brain-recovery &&
cp -R "$tmp/.agents/skills/tdpilot-brain-recovery" ~/.claude/skills/tdpilot-brain-recovery &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/tdpilot-brain-recovery inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/tdpilot-brain-recovery to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dreamrec/TDPilot.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/tdpilot-brain-recovery &&
cp -R "$tmp/.agents/skills/tdpilot-brain-recovery" ~/.agents/skills/tdpilot-brain-recovery &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/tdpilot-brain-recovery inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/tdpilot-brain-recovery to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dreamrec/TDPilot.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/tdpilot-brain-recovery &&
cp -R "$tmp/.agents/skills/tdpilot-brain-recovery" ~/.cursor/skills/tdpilot-brain-recovery &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/tdpilot-brain-recovery inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/dreamrec/TDPilot.git --path .agents/skills/tdpilot-brain-recovery

Or copy the folder to ~/.gemini/skills/tdpilot-brain-recovery yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/tdpilot-brain-recovery:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dreamrec/TDPilot.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/tdpilot-brain-recovery &&
cp -R "$tmp/.agents/skills/tdpilot-brain-recovery" ~/.copilot/skills/tdpilot-brain-recovery &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/tdpilot-brain-recovery inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/dreamrec/TDPilot.git

Then copy TDPilot/.agents/skills/tdpilot-brain-recovery into your agent's skills folder as tdpilot-brain-recovery. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Failed transaction triage
Reads the last transaction result or activity log to identify the failed op, snapshot id and rollback state.
Safe rollback verification
Checks whether intended nodes are removed or restored before reporting the root as clean.
Receipt-based undo guard
Prevents blind undo, which could remove changes the user made, and relies on owned undo history instead.
Manual recovery handoff
When manual recovery is flagged, halts automatic edits and lists the snapshot, failed op and next step.
Fresh repair planning
Requires a new plan from recovered live state rather than reusing an outdated BrainPlan.
Anti-pattern checklist
Lists common recovery mistakes such as stacking more mutations or hiding rollback failures.

Good for

  • Recover a TouchDesigner network after a patch transaction fails partway
  • Verify that a rolled-back TDPilot build left no stray nodes behind
  • Repair a broken TouchDesigner network after an unstable build
  • Restore a root from a snapshot id after a failed change
  • Report what remains broken and the safest manual next step

Tdpilot brain recovery FAQ

When should Tdpilot brain recovery be used?

When a TDPilot brain or patch transaction fails, rollback is incomplete, TouchDesigner becomes unstable, or a broken network needs repair.

Does Tdpilot brain recovery undo changes automatically?

Not blindly. It prefers receipt-based recovery and only deletes scratch paths whose creation confirmed ownership. If manual recovery is flagged, it stops automatic mutation and reports instead.

Which tools does Tdpilot brain recovery rely on?

It refers to td_get_nodes, td_get_errors and td_cooking_info for inspecting the affected root, plus the transaction result and snapshot id.

Does Tdpilot brain recovery include scripts?

No. The folder contains only the SKILL.md file.

How do I install Tdpilot brain recovery in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/tdpilot-brain-recovery to use it in all your projects, or to .claude/skills/tdpilot-brain-recovery in one project. Or install the tdpilot plugin, which includes it: /plugin marketplace add dreamrec/TDPilot, then /plugin install tdpilot@dreamrec-TDPilot.

Does Tdpilot brain recovery run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Tdpilot brain recovery?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Tdpilot brain recovery?

The closest alternatives to Tdpilot brain recovery are Tdpilot core, Tdpilot production, Tdpilot brain explorer, Tdpilot brain validator and Debugging and error recovery.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from dreamrec/TDPilot

  1. Guides an agent through building or reworking complex TouchDesigner networks with TDPilot

    • Open source
    • 17 GitHub stars
    • Design and media
  2. Guides an agent to read-only inspection of a live TouchDesigner project before building

    • Open source
    • 17 GitHub stars
    • Developer tools
  3. Gives an agent a pre-release checklist for auditing TouchDesigner MCP brain changes

    • Open source
    • 17 GitHub stars
    • Developer tools
  4. Checks a TouchDesigner network or TDPilot build result for structure, runtime health

    • Open source
    • 17 GitHub stars
    • Developer tools
  5. Gives the agent a local POPX reference and workflow for building TouchDesigner setups

    • Open source
    • 17 GitHub stars
    • Developer tools
  6. Guides an AI agent through safe, validated edits to live TouchDesigner projects

    • Open source
    • 17 GitHub stars
    • Developer tools