clone-team
v0.3.0
Published
Generate AI personas from conversations for Claude Code review simulation
Maintainers
Readme
clone-team
Generate AI personas from conversations for Claude Code review simulation.
Turn your Slack/chat history with teammates into AI personas that can review your code in their authentic voice.
Installation
npx clone-team@latest initThis creates:
.claude/commands/analyze-persona.md- Command to generate personas.claude/commands/persona-review.md- Template for review commandspersonas/- Directory for generated personas
Usage
1. Prepare a conversation
Export or copy a conversation with a teammate into a text file:
[2024-03-10 14:22]
You:
Should we use Redis or in-memory caching?
[2024-03-10 14:35]
Alex:
Depends on your scale. For a single instance, in-memory is fine...2. Generate a persona
In Claude Code:
/analyze-persona conversations/alex-chat.txtThis analyzes the conversation and creates personas/Alex.md with:
- Communication style and typical phrases
- Technical philosophy and preferences
- Code review patterns
- Simulation instructions
3. Create a review command
npx clone-team add AlexThis creates /alex-review command.
4. Get reviews
/alex-review check the caching implementation in src/cache.tsClaude will respond as Alex would, based on the persona profile.
Example
See templates/examples/ for a sample conversation and generated persona.
How it works
- Analysis: Claude Code reads your conversation and extracts patterns - tone, technical preferences, decision-making style, what they typically push back on
- Persona file: A structured markdown profile that captures the person's authentic voice
- Simulation: The review command loads the persona and responds as that person would
Tips
- More conversation = better persona accuracy
- Include technical discussions, not just small talk
- Edit the generated persona to add context Claude couldn't infer
- Works best with people who have distinct communication styles
Privacy
Your conversations stay local. The persona files are just markdown in your repo - share or gitignore as needed.
License
MIT
