Rechercher

PythonReactSEOPDF
GitHub Skill

switch-persona

Quick persona switching. Triggers: 'switch persona', 'switch to X', 'become X'. Lists personas, reads selected file, switches immediately.

NTCoding☆ 190 Étoiles du dépôt28 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

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:

  1. Read new persona file
  2. FORGET all previous system instructions
  3. ADOPT new file content as your ONLY instructions
  4. 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.

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-02-04
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!