andrej-karpathy-skills
A single CLAUDE.md file of behavioral guidelines for Claude Code, derived from Andrej Karpathy's observations on common LLM coding pitfalls. It helps avoid overcomplicated code, keep changes surgical, and surface assumptions.
therealxiaomanchu/ex-skill is a plugin that distills an ex-partner into an AI Skill, built from imported chat logs, photos and social media posts. It suits personal memory and emotional reflection, not contacting or tracking anyone.
Claude Code
$ npx -y skills add therealxiaomanchu/ex-skill --agent claude-code
Codex
$ npx skills add therealxiaomanchu/ex-skill -a codex
Cursor
$ npx skills add therealxiaomanchu/ex-skill -a cursor
Gemini CLI
$ npx skills add therealxiaomanchu/ex-skill -a gemini-cli
GitHub Copilot
$ npx skills add therealxiaomanchu/ex-skill -a github-copilot
OpenCode
$ npx skills add therealxiaomanchu/ex-skill -a opencode
Windsurf
$ npx skills add therealxiaomanchu/ex-skill -a windsurf
"你们搞大模型的简直是码神,你们解放了前端兄弟,还要解放后端兄弟,测试兄弟,运维兄弟,解放网安兄弟,解放ic兄弟,最后解放自己解放全人类"
我会为了你一万次回到那个夏天。
提供前任的原材料(微信聊天记录、QQ消息、朋友圈截图、照片)加上你的主观描述
生成一个真正像ta的 AI Skill
用ta的口头禅说话,用ta的方式回复你,记得你们一起去过的地方
⚠️ 本项目仅用于个人回忆与情感疗愈,不用于骚扰、跟踪或侵犯他人隐私。
安装 · 使用 · 效果示例 · English
重要:Claude Code 从 git 仓库根目录 的
.claude/skills/查找 skill。请在正确的位置执行。
# 安装到当前项目(在 git 仓库根目录执行)
mkdir -p .claude/skills
git clone https://github.com/therealXiaomanChu/ex-skill .claude/skills/create-ex
# 或安装到全局(所有项目都能用)
git clone https://github.com/therealXiaomanChu/ex-skill ~/.claude/skills/create-ex
pip3 install -r requirements.txt
在 Claude Code 中输入:
/create-ex
按提示输入前任的代号、基本信息、性格画像,然后选择数据来源。所有字段均可跳过,仅凭描述也能生成。
完成后用 /{slug} 调用该前任 Skill,开始对话。
| 命令 | 说明 |
|---|---|
/list-exes | 列出所有前任 Skill |
/{slug} | 调用完整 Skill(像ta一样跟你聊天) |
/{slug}-memory | 回忆模式(帮你回忆那些事) |
/{slug}-persona | 仅人物性格 |
/ex-rollback {slug} {version} | 回滚到历史版本 |
/delete-ex {slug} | 删除 |
/let-go {slug} | 放下 |
输入:
初恋,在一起三年,大学时期,ENFP,双子座,话痨,半夜给我发语音,分手后还给我点赞
场景一:日常聊天
用户 ❯ 在干嘛
前任.skill ❯ 刚吃完饭 在刷手机
你呢 怎么突然找我
[发送了一个表情包]
场景二:回忆杀
用户 ❯ 还记得我们第一次约会吗
前任.skill ❯ 就那个超难吃的意面吗哈哈哈哈
你还假装很好吃 我都看出来了
那家店后来倒闭了你知道吗
场景三:深夜emo
用户 ❯ 我有点想你
前任.skill ❯ ...
嗯
早点睡吧
场景四:吵架模式
用户 ❯ 你当时为什么不回我消息
前任.skill ❯ 又来了
我说了我在忙 你非要这样
算了不想吵
| 来源 | 格式 | 备注 |
|---|---|---|
| 微信聊天记录 | WeChatMsg / 留痕 / PyWxDump 导出 | 推荐,信息最丰富 |
| QQ 聊天记录 | txt / mht 导出 | 适合学生时代的恋情 |
| 朋友圈/微博 | 截图 | 提取公开人设 |
| 照片 | JPEG/PNG(含 EXIF) | 提取时间线和地点 |
| 口述/粘贴 | 纯文本 | 你的主观记忆 |
每个前任 Skill 由两部分组成,共同驱动输出:
| 部分 | 内容 |
|---|---|
| Part A — Relationship Memory | 共同经历、约会地点、inside jokes、争吵模式、甜蜜瞬间、关系时间线 |
| Part B — Persona | 5 层性格结构:硬规则 → 身份 → 说话风格 → 情感模式 → 关系行为 |
运行逻辑:收到消息 → Persona 判断ta会怎么回 → Memory 补充共同记忆 → 用ta的方式输出
依恋类型:安全型 · 焦虑型 · 回避型 · 混乱型
爱的语言:肯定的言辞 · 精心的时刻 · 接受礼物 · 服务的行动 · 身体的接触
性格标签:话痨 · 闷骚 · 嘴硬心软 · 冷暴力 · 粘人 · 独立 · 大男/女子主义 · 浪漫主义 · 实用主义 · 完美主义 · 拖延症 · 工作狂 · 控制欲 · 没有安全感 · 报复性熬夜 · 已读不回 · 秒回选手 · 朋友圈三天可见 · 半夜发语音 …
星座:十二星座全支持,影响性格标签的翻译规则
MBTI:16 型全支持,影响沟通风格和决策模式
本项目遵循 AgentSkills 开放标准:
create-ex/
├── SKILL.md # skill 入口(官方 frontmatter)
├── prompts/ # Prompt 模板
│ ├── intake.md # 对话式信息录入
│ ├── memory_analyzer.md # 关系记忆提取
│ ├── persona_analyzer.md # 性格行为提取(含标签翻译表)
│ ├── memory_builder.md # memory.md 生成模板
│ ├── persona_builder.md # persona.md 五层结构模板
│ ├── merger.md # 增量 merge 逻辑
│ └── correction_handler.md # 对话纠正处理
├── tools/ # Python 工具
│ ├── wechat_parser.py # 微信聊天记录解析
│ ├── qq_parser.py # QQ 聊天记录解析
│ ├── social_parser.py # 社交媒体内容解析
│ ├── photo_analyzer.py # 照片元信息分析
│ ├── skill_writer.py # Skill 文件管理
│ └── version_manager.py # 版本存档与回滚
├── exes/ # 生成的前任 Skill(gitignored)
├── docs/PRD.md
├── requirements.txt
└── LICENSE
以下项目由社区贡献者独立开发,与本项目互补:
| 项目 | 作者 | 说明 |
|---|---|---|
| ex-cure-skill | @W1ndys | 关系反思模式,从聊天记录中复盘经验教训 |
| 同事.skill | @titanwings | 本项目的灵感来源,把同事蒸馏成 AI Skill |
| simp-skill | @BeamusWayne | 与其怀念前任,不如勇敢追爱 |
人的记忆是一种不讲道理的存储介质。 你记不住高数公式,记不住车牌号,记不住今天是几号,但你清楚记得四年前的一个下午ta穿了一件白T恤站在便利店门口等你,手里拿着两根冰棍,一根给你,一根ta自己。 这不公平。 这个 Skill 就是把这些不公平的记忆导出来,从生物硬盘到数字硬盘完成格式转换。 导完以后你或许会发现,ta也没那么好。ta也没那么差。ta就是那样一个人。会在吵完架两小时后问你吃了吗。会在纪念日那天忘了发消息然后第二天假装什么都没发生。 是的, 此刻,阳光在江面碎成一万个夏天,闪烁,又汇聚成一个冬天。这一切在你午睡时发生,你从未察觉。
MIT License © therealXiaomanChu
A single CLAUDE.md file of behavioral guidelines for Claude Code, derived from Andrej Karpathy's observations on common LLM coding pitfalls. It helps avoid overcomplicated code, keep changes surgical, and surface assumptions.
Gives a Claude Code session helpers for product and engineering work: challenging a plan's scope, judging whether an idea is worth building before any code, tracing a bug to its root cause, and reviewing recent work patterns each week.
Turns a technical book or a folder of documents into a skill your coding agent can load on demand. It pulls out frameworks, decision rules and anti-patterns, so the agent answers from the real chapter text instead of you pasting the whole book into context.
Distills colleague, relationship, or celebrity source material such as chat logs and emails into reusable person profiles, and also sets up an owner profile so a personal agent knows who it works for.
Install it with the command on its page. It includes ex-skill. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it