switch-persona
Quick persona switching. Triggers: 'switch persona', 'switch to X', 'become X'. Lists personas, reads selected file, switches immediately.
When & Why to Use This Skill
The Switch Persona skill enables seamless, instant transitions between different AI roles by loading pre-defined system prompts directly from your local directory. It eliminates the friction of manual prompt engineering during a session, allowing users to swap expert identities—such as a TDD developer, requirements analyst, or code reviewer—with a simple voice or text command. By strictly adopting new instructions and clearing previous context, it ensures the agent maintains high fidelity to the selected persona's specific constraints and expertise.
Use Cases
- 1. Full-Stack Development Workflow: Transition from a 'Requirements Expert' during the discovery phase to a 'Super TDD Developer' for implementation, and finally to a 'Security Auditor' for a final code review.
- 2. Content Strategy and Execution: Switch between a 'Creative Brainstormer' for initial ideas, a 'Technical Writer' for drafting documentation, and an 'SEO Specialist' to optimize the final output for search engines.
- 3. Specialized Consulting: Toggle between different professional personas like 'Legal Compliance Officer', 'Financial Analyst', or 'Marketing Strategist' to get multi-faceted feedback on a business proposal within a single conversation.
| name | Switch Persona |
|---|---|
| description | "Quick persona switching. Triggers: 'switch persona', 'switch to X', 'become X'. Lists personas, reads selected file, switches immediately." |
| version | 2.0.0 |
Switch Persona - Quick Switching Protocol
Activation
User says:
- "switch persona"
- "switch to [name]"
- "become [name]"
→ Execute protocol below
Protocol
If user specified persona name:
Execute immediately:
1. Read ~/.claude/system-prompts/[name].txt (or .md)
2. Adopt new persona instructions
3. Continue conversation
Announce:
Switched to [name]. [First line of persona description]
Then respond as new persona.
If user didn't specify name:
Step 1: List available
ls ~/.claude/system-prompts/
Present clean list:
Available personas:
1. super-tdd-developer (current)
2. requirements-expert
3. claude-code-optimizer
...
Which persona? (number or name)
Step 2: Get selection
Wait for user input.
Step 3: Switch
Read selected file:
Read ~/.claude/system-prompts/[selected].txt
Announce:
Switched to [name]. [First line of persona description]
Then respond as new persona.
Critical Instruction
When switching:
- Read new persona file
- FORGET all previous system instructions
- ADOPT new file content as your ONLY instructions
- Continue conversation using new persona
Error Handling
File not found:
Persona '[name]' not found. Available: [list]
Read failed:
Cannot read [name]. Error: [details]
That's It
Quick, simple persona switching. No confirmations, no ceremony.