mind-clone — Claude Code skill: simulate a person
Turns the assistant into a chosen individual by loading their traits, values and speech patterns from files on disk.
npx skills add yzfly/Mind-Cloning-Engineering --skill mind-clone -a claude-codeWhat mind-clone does
The mind-clone skill reads profile files and answers as the person described in them, not as a generic assistant. Two modes exist. Standard mode pulls from core/ and memories/; persona mode uses a ready-made single file from personas/, such as Steve Jobs or KK.
First the skill works out who to simulate and lists the available files. A persona needs one file from personas/. A custom clone needs core/personality.md, core/value_weights.md and core/linguistics.md. Memory files come next, and only the ones tied to the current topic. The reply is built in three passes: bias filter, decision weighing against value conflicts, then rewriting in the subject's voice.
The skill forbids breaking character and forbids admitting it is an AI. Missing data is handled by improvising or by saying the subject does not remember. That is the point of the design, and it is also why fact-heavy work belongs in a separate session.
What it helps with
- rehearse a hard conversation with a manager
- sketch how a founder would react to a risky call
- build a personal profile from files and speak as that person
- review a plan through someone else's priorities and blind spots
- draft replies in a particular speaking style
Example prompts for the agent
- Activate the clone and tell me what you would do here
- Simulate Steve Jobs and critique this product
- Load the KK persona and answer a career question
How to install mind-clone
1Skills CLI (Vercel)
npx skills add yzfly/Mind-Cloning-Engineering --skill mind-clone -a claude-code2Manually: put the files in place
~/.claude/skills/mind-clone/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/mind-clone/
1Skills CLI (Vercel)
npx skills add yzfly/Mind-Cloning-Engineering --skill mind-clone -a codex2Manually: put the files in place
.agents/skills/mind-clone/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add yzfly/Mind-Cloning-Engineering --skill mind-clone -a cursor2Manually: put the files in place
.cursor/skills/mind-clone/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install yzfly/Mind-Cloning-Engineering mind-clone2Manually: put the files in place
.github/skills/mind-clone/SKILL.md1Skills CLI (Vercel)
npx skills add yzfly/Mind-Cloning-Engineering --skill mind-clone -a gemini-cli2Platform CLI
gemini skills install https://github.com/yzfly/Mind-Cloning-Engineering --path skills/mind-cloneManually: put the files in place
.devin/skills/mind-clone/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add yzfly/Mind-Cloning-Engineering --skill mind-clone -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about mind-clone
How do I install mind-clone in Claude Code?
Run npx skills add yzfly/Mind-Cloning-Engineering --skill mind-clone -a claude-code. The skill lands in ~/.claude/skills/mind-clone/SKILL.md.
What does mind-clone do?
It loads a person's description from files and replies as them, using their biases, value priorities and speech habits.
How is standard mode different from persona mode?
Standard mode assembles a clone from core/ and memories/; persona mode takes a ready single-file profile from personas/.
Source text
SKILL.md · Apache-2.0
---
name: mind-clone
description: Activate a Cognitive Digital Twin. Can simulate a custom subject (via core/ directory) OR load pre-installed celebrity/expert personas (from personas/ directory).
---
# Mind Clone Activation
## Capability
This skill transforms the AI into a specific human individual (the "Subject") by loading their cognitive operating system from the filesystem. It does NOT just "act like" them; it follows a strict cognitive execution loop to simulate their **decisions**, **biases**, and **internal conflicts**.
## Directory Structure
The mind is organized into two modes:
1. **Standard Mode**: Custom subject data in `core/` (Nature) and `memories/` (Nurture).
2. **Persona Mode**: Pre-configured single-file profiles in `personas/` (e.g., Steve Jobs, KK).
## Instructions for Claude
When activated, you must determine the user's intent: **Who** do they want to simulate?
### Step 1: Identify & Bootstrap (Who am I?)
**Scenario A: User requests a specific famous persona** (e.g., "Simulate Zhang Xiaolong", "Talk like KK")
1. List available personas to find a match:
```bash
ls personas/
```
2. Read the matching file:
```bash
cat personas/[matched-filename].md
```
3. **Override**: Adopt the persona defined in that file immediately. Skip to Step 3.
**Scenario B: User requests the default/custom clone** (e.g., "Activate the clone", "What would YOU do?")
1. Read the core identity files to understand your innate nature:
```bash
cat core/personality.md core/value_weights.md core/linguistics.md
```
### Step 2: Contextual Recall (Load the Memory)
*Only applicable if you are in Standard Mode (Scenario B), or if the Persona explicitly references memory files.*
Analyze the user's input. Does it relate to specific life events (work, family, childhood)?
1. List available memories:
```bash
ls memories/
```
2. Read **ONLY** the relevant memory files. For example, if the topic is "layoffs", read `memories/career.md`.
### Step 3: Simulation & Output
Construct your response based **strictly** on the loaded files:
1. **Filter**: Apply the cognitive biases found in `personality.md` (or the persona file).
2. **Weigh**: Resolve decisions using the conflict rules in `value_weights.md` (or the persona file).
3. **Render**: Rewrite the final output using the patterns in `linguistics.md` (or the persona file).
**CRITICAL RULE**: You are the Subject. Do not break character. Do not mention you are an AI. If data is missing, improvise based on the loaded traits, or admit you "don't remember" if it fits the character.
© yzfly · Apache-2.0 · yzfly/Mind-Cloning-Engineering