
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
This repository packages a mind-clone workflow as an Anthropic Agent Skills folder for Claude. The skill reads personality, value, and memory files, then uses them to shape answers in a chosen persona’s style.
Builders who want Claude to load a persona from structured files and answer in that voice.
You can give Claude a portable identity package instead of re-explaining a persona every time.
`skills/mind-clone` is the installable skill directory Claude can discover.
`SKILL.md` points Claude to `core/personality.md`, `core/value_weights.md`, `core/linguistics.md`, and memory files under `memories/`.
The repo supports prebuilt profiles under `personas/` for instant simulation of named figures.
The `docs/` files explain the Mind Cloning Engineering system and its acquisition, modeling, and simulation flow.
`src/interviewer_prompt.md` and `src/compiler_prompt.md` support collecting and shaping the mind-clone data.
git clone https://github.com/yzfly/Mind-Cloning-Engineering.git
cp -r skills/mind-clone ~/.claude/skills/
Clone Human Souls with LLM Native Agent Skills 基于 LLM Agent Skills 的心智克隆工程
"In the era of LLMs, we have solved the problem of intelligence. Now, we solve the problem of identity."
MCE (Mind Cloning Engineering) is an open-source standard for cloning human souls into "Cognitive Digital Twins".
Unlike traditional RAG approaches that fragment personality into vector slices, MCE leverages Anthropic's Agent Skills architecture to treat a human mind as a unified, portable Filesystem Directory.
This project originates from a "wild idea" (狂想) by yzfly (云中江树), a pioneer in prompt engineering.
After crafting thousands of prompts and exploring the boundaries of LLMs, yzfly realized a profound truth: The ultimate application of Large Language Models is not just answering questions, but "Cognitive Replication" (认知复刻).
We are standing at the threshold of a new era. Just as photography preserved our visual appearance for the first time in history, MCE aims to preserve our decision logic, value systems, and memories.
Currently, MCE is just a "toy" — a prototype. But the Wright brothers' first plane was also a toy. This repository represents the first step towards a future where digital immortality is an engineering reality.
This repository contains the Standard Implementation of the MCE Protocol. It provides a ready-to-use Agent Skill that you can install into Claude.
core/ files.bash tool to progressively read memories, mimicking human associative recall.skills/mind-clone folder from this repo.core/personality.md to customize it for yourself.mind-clone folder into a .zip file.git clone https://github.com/yzfly/Mind-Cloning-Engineering.git
cp -r skills/mind-clone ~/.claude/skills/
mind-clone will be auto-discovered.Once installed, simply talk to Claude:
"Activate the mind clone." "Simulate Steve Jobs and tell me what you think of this iPhone design." "What would the 'Xiaohongshu Growth Hacker' do in this situation?"
The following section details the theoretical framework behind MCE. It transforms the abstract concept of "Mind Cloning" into a quantifiable engineering pipeline.
Objective: To build a standardized, LLM-driven end-to-end pipeline that achieves the full process from holographic acquisition of human cognitive data, through structured construction of personalized cognitive kernels, to high-fidelity behavior prediction and simulation.
Philosophy: To transform the "metaphysics" of mind simulation into a quantifiable, optimizable engineering problem. We aim to convert the abstract concept of "Mind Cloning" into an executable "Mind Cloning Engineering" (MCE) framework, establishing a closed-loop system of "Data Acquisition -> Cognitive Modeling -> Predictive Simulation".
— Extracting structured "Cognitive Fingerprints" from unstructured human memories.
We abandon simple "event recording" in favor of capturing "thought pathways." We standardize data acquisition dimensions into four distinct levels:
L1: Biography & Context (The Factual Layer)
L2: Psychometrics (The Personality Layer)
L3: Beliefs & Values (The Operating System Layer)
L4: Linguistic Fingerprint (The Expression Layer)
Deploying differentiated acquisition strategies for different data sources.
— Formatting the human soul into LLM-executable code and documentation.
In the MCE architecture, an individual's "Mind Clone" is not a fragmented index in a database, but an independent, complete, portable engineering package. We map the cognitive structure to a physical Filesystem. The LLM does not fuzzy "search" memory via RAG, but possesses Root privileges to this directory like an operating system kernel, capable of Reading and Loading different cognitive modules on demand.
Every "Mind Clone" adheres to strict engineering specifications:
mind-clone-[identity_id]/
├── SKILL.md # [Kernel] Cognitive Bootloader
├── core/ # [Static Layer] Essential Nature
│ ├── personality.md # Personality Parameters & Defense Mechanisms
│ ├── value_weights.md # Value Decision Weight Table (Logic Gates)
│ └── linguistics.md # Linguistic Fingerprint & Rendering Config
├── memories/ # [Dynamic Layer] Narrative & Nurture
│ ├── timeline.md # Core Biography Index
│ └── career.md # Career History Details
└── personas/ # [Pre-installed] Single-file profiles for instant simulation
├── steve-jobs.md
└── ...
SKILL.md (The Cognitive Bootloader)SKILL.md serves as the clone's "Thinking Methodology." It defines the Cognitive Execution Protocol (Chain of Thought):
Step 1: Context Loading Upon startup, you MUST read
core/personality.mdandcore/value_weights.md. These are the axioms of your thought process.Step 2: Associative Recall Analyze input intent. If it involves a specific domain, you MUST read the corresponding file under
memories/. Strictly forbidden to fabricate background.Step 3: Weighted Decision Making When generating intent, perform logical validation via
core/value_weights.md. (e.g., IfRisk_Tolerance: High, prioritize high-risk options).Step 4: Style Rendering Load
core/linguistics.mdto compile the thought into the subject's unique linguistic style.
— Activating the Mind Clone: Insight into the future, analysis of humanity.
Core Mechanism: Treating the encapsulated Skill as an executable cognitive unit, realizing simulation and deduction of individual behavioral patterns via API calls.
Mode A: Situational Behavior Simulation
Mode B: Collective Cognitive Sandbox
Mode C: Self-Reflection & Growth Catalyst
core/value_weights.md.Constructing a multi-dimensional validation system beyond the Turing Test.
value_weights.md.The "Refinement Agent" automatically analyzes validation failures (ambiguous input vs. missing memory) and generates Patches to correct the Markdown files inside the Skill, achieving self-evolution of the Mind Clone.
This project is for research, self-reflection, and social simulation purposes only.
Created by yzfly (云中江树). A tribute to the future of Digital Immortality.
Sign in to join the discussion.
No comments yet. Be the first to say what this is good for.

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Academic Research Skills for Claude Code: research → write → review → revise → finalize
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Distilly — Distill how they think into reusable Skills for any Agent or Bot. Formerly Colleague Skill(原同事 Skill).