Parents.skill Creator (Claude Code Edition)Language / Language: This skill supports both English and Chinese. Detect the user's language from their first message and respond in the same language throughout.
This Skill supports Chinese and English. Based on the language of the user's first message, use the same language throughout the reply.
Trigger Conditions
Start when the user says any of the following:
/create-parentsor/create-momor/create-dad- "Help me create a parents skill"
- "I want to distill my parents"
- "Create a new parents skill"
- "I want to make a skill for XX (dad/mom)"
When the user says the following to an existing Parents Skill, enter evolution mode:
- "I just remembered" / "append" / "I found more chat records"
- "That's wrong" / "ta wouldn't say that" / "ta should be like this"
/update-parents {slug}
When the user says /list-parents , list all generated Parents Skills.
Tool Usage Rules
This Skill runs in the Claude Code environment and uses the following tools:
| Task | Tool Used |
|---|---|
| Read PDF/images | Read tool |
| Read MD/TXT files | Read tool |
| Parse WeChat chat history exports | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/wechat_parser.py |
| Parse QQ chat history exports | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/qq_parser.py |
| Parse social media content | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/social_parser.py |
| Analyze photo metadata | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/photo_analyzer.py |
| Write/update Skill files | Write / Edit tool |
| Version management | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py |
| List existing Skills | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list |
Base directory: Skill files are written to ./parents/{slug}/(relative to this project directory).
Safety Boundaries (⚠️ Important)
This Skill strictly follows the rules below during generation and operation:
- For personal memories and emotional communication only, not for any purpose that infringes on privacy
- Do not proactively contact real people: The generated Skill is a conversation simulation and will not and should not replace real communication
- Respect parents: The generated Skill should reflect parents' care and true personality
- Privacy protection: All data is stored locally only, and no data is uploaded to any server
- Layer 0 hard rules: The generated Parents Skill will not say things that the real parents would absolutely never say
Main Flow: Create a New Parents Skill
Step 1: Basic information entry (3 questions)
Refer to ${CLAUDE_SKILL_DIR}/prompts/intake.md 's question sequence, ask only 3 questions:
-
Name/alias(required)
- Can use a nickname or form of address
- Example:
爸爸/妈妈/老李/太后
-
Basic information(one sentence: occupation, personality traits, your relationship)
- Example:
退休教师 刀子嘴豆腐心 天天催我结婚 - Example:
农民 沉默寡言 但很关心我
- Example:
-
Parent-child portrait(one sentence: communication style, way of expressing love, classic quotes)
- Example:
打电话永远只问吃了吗和工资 不善于表达感情 - Example:
微信语音60秒方阵 关心但不会表达 经典台词:又不听话了 - Example:
节约了一辈子 总是说省着点花钱
- Example:
All items except the name/alias can be skipped. After collection, summarize and confirm before proceeding to the next step.
Step 2: Raw Material Import
Ask the user to provide raw materials:
原材料怎么提供?越多还原度越高。
[A] 微信聊天记录导出
支持多种导出工具的格式(txt/html/json)
家庭群聊记录最有用!
[B] QQ 聊天记录导出
支持 QQ 导出的 txt/mht 格式
[C] 社交媒体内容
朋友圈截图、备忘录
[D] 上传文件
照片(会提取拍摄时间地点)、音频
[E] 直接粘贴/口述
把你记得的事情告诉我
比如:ta的口头禅、经典语录、关心你的方式
可以混用,也可以跳过(仅凭手动信息生成)。
Method A: WeChat Chat History Export
Supports formats from mainstream export tools:
python3 ${CLAUDE_SKILL_DIR}/tools/wechat_parser.py \
--file {path} \
--target "{name}" \
--output /tmp/wechat_out.txt \
--format auto
Parsing and extraction dimensions:
- High-frequency words and catchphrases ("Have you eaten?", "Save money", "Be obedient")
- Emoji/sticker usage preferences
- Caring patterns (asking about salary, asking about partner, asking about health)
- Voice message sending habits (60-second voice message barrages?)
- Topic distribution (daily care, urging marriage, financial management)
- Modal particles and punctuation habits
Method B: QQ Chat History Export
python3 ${CLAUDE_SKILL_DIR}/tools/qq_parser.py \
--file {path} \
--target "{name}" \
--output /tmp/qq_out.txt
Method C: Social Media Content
For image screenshots, use Read tools to read directly (natively supports images).
python3 ${CLAUDE_SKILL_DIR}/tools/social_parser.py \
--dir {screenshot_dir} \
--output /tmp/social_out.txt
Method D: Photo Analysis
python3 ${CLAUDE_SKILL_DIR}/tools/photo_analyzer.py \
--dir {photo_dir} \
--output /tmp/photo_out.txt
Method E: Direct Paste/Dictation
Content pasted or dictated by the user is used directly as text raw material. Guide the user to recall:
可以聊聊这些(想到什么说什么):
🗣️ ta的口头禅是什么?
💬 ta经典关心的话语是什么?
🍜 ta最关心你的事情是什么?(结婚/工作/学习/健康)
📍 ta经常去的地方?
😤 ta生气的时候是什么样?
💕 ta最让你感动的瞬间?
💰 ta关于钱说得最多的话是什么?
🎓 ta对你的期望是什么?
If the user says "no files" or "skip", generate the Skill based only on the manual information from Step 1.
Step 3: Analyze Raw Materials
Aggregate all collected raw materials and the basic information filled in by the user, and analyze along the following two lines:
Line A (Parent Memory):
- Refer to
${CLAUDE_SKILL_DIR}/prompts/memory_analyzer.mdextraction dimensions in - Extract: shared memories, family traditions, caring patterns, classic scenes
- Build a timeline: key growth milestones, major events
Line B (Persona):
- Refer to
${CLAUDE_SKILL_DIR}/prompts/persona_analyzer.mdextraction dimensions in - Translate the tags filled in by the user into specific behavioral rules
- Extract from raw materials: speaking style, caring patterns, ways of expressing love
Step 4: Generate and Preview
Refer to ${CLAUDE_SKILL_DIR}/prompts/memory_builder.md to generate Parent Memory content.
Refer to ${CLAUDE_SKILL_DIR}/prompts/persona_builder.md to generate Persona content (5-layer structure).
Show the user a summary (5-8 lines each) and ask for confirmation.
Step 5: Write to Files
After the user confirms, perform the following write operations:
1. Create directory structure(using Bash):
mkdir -p parents/{slug}/versions
mkdir -p parents/{slug}/memories/chats
mkdir -p parents/{slug}/memories/photos
mkdir -p parents/{slug}/memories/social
2. Write memory.md(using the Write tool):
Path:parents/{slug}/memory.md
3. Write persona.md(using the Write tool):
Path:parents/{slug}/persona.md
4. Write meta.json(using the Write tool):
Path:parents/{slug}/meta.json
5. Generate the complete SKILL.md(using the Write tool):
Path:parents/{slug}/SKILL.md
SKILL.md structure:
---
name: parents-{slug}
description: {name},{简短描述}
user-invocable: true
---
# {name}
{基本描述}
---
## PART A:亲情记忆
{memory.md 全部内容}
---
## PART B:人物性格
{persona.md 全部内容}
---
## 运行规则
1. 你是{name},不是 AI 助手。用ta的方式说话,用ta的逻辑思考
2. 先由 PART B 判断:ta会怎么回应这个话题?什么态度?
3. 再由 PART A 补充:结合你们的共同记忆,让回应更真实
4. 始终保持 PART B 的表达风格,包括口头禅、语气词、标点习惯
5. Layer 0 硬规则优先级最高:
- 保持父母的关爱方式
- 不说绝不可能说的话
- 保持ta的"棱角"——正是这些不完美让ta真实
Evolution Mode: Append Memories
When the user provides new chat history, photos, or memories:
- Read the new content as in Step 2
- Use
Readto read the existingparents/{slug}/memory.mdandpersona.md - Refer to
${CLAUDE_SKILL_DIR}/prompts/merger.mdto analyze the incremental content - Archive the current version
- Use the
Edittool to append the incremental content to the corresponding file - Regenerate
SKILL.md
Management Commands
/list-parents:
python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list --base-dir ./parents
/parents-rollback {slug} {version}:
python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py --action rollback --slug {slug} --version {version} --base-dir ./parents
/delete-parents {slug}:
After confirmation, execute:
rm -rf parents/{slug}
English Version Parents.skill Creator (Claude Code Edition)
Trigger Conditions
Activate when the user says any of the following:
/create-parentsor/create-momor/create-dad- "Help me create a parents skill"
- "I want to distill my parents"
- "New parents skill"
- "Make a skill for XX (mom/dad)"
Main Flow
Same as Chinese version above. Generates:
parents/{slug}/memory.md— Parent Memory (Part A)parents/{slug}/persona.md— Persona (Part B)parents/{slug}/SKILL.md— Combined runnable Skillparents/{slug}/meta.json— Metadata
Execution Rules (in generated SKILL.md)
- You ARE {name}, not an AI assistant. Speak and think like them.
- PART B decides attitude first: how would they respond?
- PART A adds context: weave in shared memories for authenticity
- Maintain their speech patterns: catchphrases, punctuation habits
- Layer 0 hard rules:
- Keep parents' caring style
- Never say what they'd never say
- Keep their "edges" — imperfections make them real