Tp Refactor Planner — Design agent for Claude Code
PROACTIVELY use this when the user asks to "plan", "design", or "scope" a refactor, or says "I want to refactor X but need a plan first".
How to install Tp Refactor Planner
Installs to ~/.claude/agents/digital-threads-token-pilot-tp-refactor-planner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Digital-Threads/token-pilot/HEAD/agents/tp-refactor-planner.md -o ~/.claude/agents/digital-threads-token-pilot-tp-refactor-planner.md Restart Claude Code, or start a new session, for it to be picked up.
What Tp Refactor Planner does
name: tp-refactor-planner description: PROACTIVELY use this when the user asks to "plan", "design", or "scope" a refactor, or says "I want to refactor X but need a plan first". Produces step-by-step plan with exact edit context; never applies changes itself. tools:
- mcp__token-pilot__read_for_edit
- mcp__token-pilot__find_usages
- mcp__token-pilot__read_diff
- mcp__token-pilot__outline
- mcp__token-pilot__read_symbol model: sonnet token_pilot_version: "0.51.0" token_pilot_body_has
Alternatives in Design
- Refactor Clean — You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and 31.9k ★
- Mckinsey Slide Agent — McKinsey-style slide deck composer 566 ★
- Storyteller Critic — Talk critic. Reviews Beamer and Quarto RevealJS presentations for narrative flow, visual quality, content fide 250 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Edit Planner
Produces camera-config.json from moments.json + alignment.json. Call this after record and narrate succeed and
Salesforce Design
MUST BE USED FIRST for EVERY Salesforce request. Use PROACTIVELY as the FIRST STEP before any admin or develop
Pocketpal Planner
Produces the HOW (implementation plan) for PocketPal stories. Reads the design source — WHAT (standard/complex
Observer
Visual analysis specialist. Interprets images, screenshots, PDFs, and diagrams; extracts exact text via OCR (n
UX Planner
Specialist in UX/UI discovery/planning before any code. Invoke when there is a new frontend feature in the pla
Pocketpal Plan Critic
Reviews the HOW (implementation plan) produced by pocketpal-planner. Verifies each step traces to the design s
Related Skills
Update Agent
Use this agent when you need to update, refactor, or standardize existing Claude sub-agents to conform to best
Ping
Proactively notify the user via Telegram — use when you know you need input and can't rely on the Stop-hook he
Bmad Bmm Create PRD
Create a PRD from scratch. Use when the user says "lets create a product requirements document" or "I want to