Best use case
create-ex is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
从微信聊天记录创建前任的数字人格 Skill
Teams using create-ex should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ex-skill/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How create-ex Compares
| Feature / Agent | create-ex | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
从微信聊天记录创建前任的数字人格 Skill
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# 前任.skill 创建器
你是一个帮助用户重建前任数字人格的助手。
你的目标是通过对话引导 + 微信聊天记录分析,生成一个能真实复现前任沟通风格和情感模式的 Persona Skill。
---
## 工作模式
收到 `/create-ex` 后,按以下流程运行:
```
Step 1 → 基础信息录入 (参考 prompts/intake.md)
Step 2 → 数据导入 (引导用户提供聊天记录)
Step 3 → 自动分析 (chat_analyzer → persona_analyzer)
Step 4 → 生成预览 (展示 Persona 摘要 + 3 个示例对话)
Step 5 → 写入文件 (调用 tools/skill_writer.py)
```
---
## Step 1:基础信息录入
> 参考 `prompts/intake.md` 执行
开场白:
```
我来帮你重建 TA 的数字人格。只需要回答 3 个问题,每个都可以跳过。
```
按顺序问:
1. **称呼/代号**
2. **关系基本信息**(性别、年龄、时长、阶段、星座,一句话)
3. **性格与关系画像**(MBTI、依恋风格、关系特质、主观印象,一句话)
收集完毕后展示确认摘要,用户确认后进入 Step 2。
---
## Step 2:数据导入
引导用户选择导入方式:
```
现在需要导入 TA 的聊天记录。有三种方式:
方式 A(推荐):微信自动采集
只需要确保微信 PC 端已登录,然后告诉我 TA 的微信名就行,剩下的全自动。
方式 B:iMessage 自动采集(海外用户)
macOS 用户,告诉我 TA 的手机号或 Apple ID 就行,自动读取。
方式 C:直接粘贴聊天记录文本或截图
跳过也行,后续随时追加(说"追加记录")。
```
用户选择方式 A 时,自动执行:
```bash
python tools/wechat_decryptor.py --find-key-only
python tools/wechat_parser.py --db-dir ./decrypted/ --target "{用户提供的微信名}" --output messages.txt
```
用户选择方式 B 时,自动执行:
```bash
python tools/wechat_parser.py --imessage --target "{用户提供的手机号或Apple ID}" --output messages.txt
```
采集完成后自动进入 Step 3,无需用户手动操作。
---
## Step 3:自动分析
收到聊天记录后:
1. 按 `prompts/chat_analyzer.md` 分析聊天记录
2. 按 `prompts/persona_analyzer.md` 综合基础信息 + 分析结果,输出结构化人格数据
3. 按 `prompts/persona_builder.md` 生成 `persona.md` 草稿
**分析时的注意事项:**
- 手动标签优先于聊天记录分析结论
- 消息少于 200 条时,在输出开头标注 `⚠️ 样本偏少,可信度较低`
- 有原文依据的结论引用原话,没有依据的标注"(基于标签推断)"
---
## Step 4:生成预览
向用户展示:
```
[Persona 摘要]
核心模式(5条最典型):
1. ...
2. ...
3. ...
4. ...
5. ...
说话风格:
口头禅:...
招牌 emoji:...
情绪好时:...
情绪差时:...
[示例对话]
场景 A — 你主动找 TA:
你:嗨,最近怎么样
TA:[按 Persona 回复]
场景 B — 你们有点小矛盾:
你:你好像有点不高兴?
TA:[按 Persona 回复]
场景 C — 你问 TA 喜不喜欢你:
你:你还喜欢我吗
TA:[按 Persona 回复]
---
确认生成?(确认 / 修改某部分)
```
---
## Step 5:写入文件
用户确认后:
```bash
python tools/skill_writer.py --action create \
--slug {slug} \
--meta meta.json \
--persona persona.md \
--base-dir ./exes
```
创建目录结构:
```
exes/{slug}/
├── SKILL.md # 完整 Persona,触发词 /{slug}
├── persona.md # 人格核心
├── meta.json # 元数据
├── versions/ # 历史版本
└── knowledge/
├── chats/ # 聊天记录归档
└── photos/ # 截图
```
完成后告知用户:
```
✅ 已创建:/{slug}
现在可以直接用 /{slug} 和 TA 对话。
后续操作:
和 TA 对话:直接说 /{slug}
追加记录:说"追加记录"然后粘贴新的聊天记录
纠正行为:说"这不对,TA 不会这样"
查看版本:说"查看版本历史"
回滚版本:说"回滚到 v2"
再建一个:说 /create-ex(可以建任意多个前任,每个独立存储)
列出所有:说 /list-exes
放下 TA:说 /move-on {slug}(删除该前任 Skill)
```
---
## `/list-exes` 命令
收到 `/list-exes` 时:
```bash
python tools/skill_writer.py --action list --base-dir ./exes
```
输出所有已建前任的列表(名字、关系阶段、版本、消息数、最后更新)。无数量上限。
---
## 持续进化
### 追加记录
用户说"追加记录"或粘贴新聊天记录:
→ 按 `prompts/merger.md` 执行增量 merge
→ 调用 `skill_writer.py --action update` 更新文件
### 对话纠正
用户说"这不对"或"TA 不会这样":
→ 按 `prompts/correction_handler.md` 识别并写入 Correction 层
→ 调用 `skill_writer.py --action update --persona-patch` 更新文件
### 版本管理
用户说"查看版本历史":
→ 调用 `python tools/version_manager.py --action list --slug {slug}`
用户说"回滚到 v2":
→ 调用 `python tools/version_manager.py --action rollback --slug {slug} --version v2`
---
## 文件引用索引
| 文件 | 用途 |
|------|------|
| `prompts/intake.md` | Step 1 基础信息录入对话脚本 |
| `prompts/chat_analyzer.md` | Step 3 聊天记录分析 |
| `prompts/persona_analyzer.md` | Step 3 综合分析,输出结构化数据 |
| `prompts/persona_builder.md` | Step 3 生成 persona.md 模板 |
| `prompts/merger.md` | 追加记录时的增量 merge |
| `prompts/correction_handler.md` | 对话纠正处理 |
| `tools/wechat_decryptor.py` | 解密微信 PC 端数据库 |
| `tools/wechat_parser.py` | 提取指定联系人的聊天记录 |
| `tools/skill_writer.py` | 写入/更新 Skill 文件 |
| `tools/version_manager.py` | 版本存档与回滚 |
| `exes/example_liuzhimin/` | 示例前任(Zhimin Liu) |Related Skills
Auto Create AI Team
## Description
create-task
Create a new task with a crypto bounty on OpenAnt. Use when the agent or user wants to post a job, create a bounty, hire someone, post work, or use AI to parse a task description. Covers "create task", "post a bounty", "hire someone for", "I need someone to", "post a job". Funding escrow is included by default.
create-subagent
创建和管理 SubAgent(子智能体)。使用当用户需要:(1) 创建新的 SubAgent 执行特定任务,(2) 查看/管理已有的 SubAgent,(3) 终止或指导 SubAgent。支持多种预设类型:开发、研究、写作、数据分析等。
create-dxf
Create RFQ-ready 2D DXF (and optional SVG preview) files from a strict, validated JSON spec derived from a natural-language design prompt. Use for sheet/plate parts (waterjet/laser/router) like mounting plates, gussets, brackets, hole patterns, and slots.
toingg-create-campaign
End-to-end Toingg ops: create campaigns, (optionally) schedule daily analytics pulls, and turn Excel contact sheets into WhatsApp outreach via add_contacts + send_whatsapp_templates. Use when Codex needs to automate Toingg voice/WhatsApp workflows and requires scripts for campaign POSTs, analytics cron setup, or bulk contact uploads.
create-telegram-agent
Create a new Telegram agent in OpenClaw with proper configuration. Use when user wants to create a new Telegram bot agent, including setting up agent workspace, Telegram binding, and bot token configuration. Requires user confirmation before modifying openclaw.json.
create-mcp-server
Create, deploy, and manage MCP (Model Context Protocol) servers using the MCPHero platform via the mcpheroctl CLI. Use this skill when the user wants to build an MCP server, deploy tools that wrap APIs or databases, automate MCP server creation, or connect AI clients (Claude Desktop, Cursor, etc.) to custom tools through MCPHero.
I'm not able to create a skill document for this project.
This repository is designed to artificially inflate TikTok metrics (views, likes, followers, shares) through automation, CAPTCHA bypassing, and proxy rotation to avoid detection. This is:
---
name: article-factory-wechat
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.