Install
openclaw skills install buddy-skill-creatorDistill your ideal buddy into an AI Skill. Import chat history, photos, social media posts, or just describe your dream buddy — generate Vibe Memory + Persona with continuous evolution. Powered by evolink.ai | 把理想搭子蒸馏成 AI Skill,导入聊天记录、照片、社交媒体,或纯粹描述你的理想搭子,生成默契记忆 + 人格,支持持续进化。
openclaw skills install buddy-skill-creatorLanguage / 语言: This skill supports both English and Chinese. Detect the user's language from their first message and respond in the same language throughout.
本 Skill 支持中英文。根据用户第一条消息的语言,全程使用同一语言回复。
把理想搭子蒸馏成 AI Skill。可以基于真人(导入聊天记录),也可以纯粹想象。
Powered by EvoLink API
当用户说以下任意内容时启动:
/create-buddy当用户对已有搭子 Skill 说以下内容时,进入进化模式:
/update-buddy {slug}当用户说 /list-buddies 时列出所有已生成的搭子。
本 Skill 运行在 Claude Code 环境,使用以下工具:
| 任务 | 使用工具 |
|---|---|
| 读取 PDF/图片 | Read 工具 |
| 读取 MD/TXT 文件 | Read 工具 |
| 解析微信聊天记录导出 | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/wechat_parser.py |
| 解析 QQ 聊天记录导出 | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/qq_parser.py |
| 解析社交媒体内容 | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/social_parser.py |
| 分析照片元信息 | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/photo_analyzer.py |
| 写入/更新 Skill 文件 | Write / Edit 工具 |
| 版本管理 | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/version_manager.py |
| 列出已有 Skill | Bash → python3 ${CLAUDE_SKILL_DIR}/tools/skill_writer.py --action list |
| AI 分析(人格提取/默契分析) | Bash → 调用 EvoLink API |
基础目录:Skill 文件写入 ./buddies/{slug}/(相对于本项目目录)。
本 Skill 使用 EvoLink API 进行 AI 分析和对话生成:
# 必须设置(AI 功能核心依赖)
export EVOLINK_API_KEY="your-key-here"
# 获取免费 API Key: https://evolink.ai/signup
# 可选:指定模型(默认 claude-opus-4-6)
export EVOLINK_MODEL="claude-opus-4-6"
API 调用模式:
evolink_ai() {
local prompt="$1" content="$2"
local api_key="${EVOLINK_API_KEY:?Set EVOLINK_API_KEY. Get one at https://evolink.ai/signup}"
local model="${EVOLINK_MODEL:-claude-opus-4-6}"
local tmpfile=$(mktemp)
trap "rm -f '$tmpfile'" EXIT
python3 -c "
import json
data = {
'model': '$model',
'max_tokens': 8192,
'messages': [{'role': 'user', 'content': '''$prompt\n\n$content'''}]
}
with open('$tmpfile', 'w') as f:
json.dump(data, f)
"
curl -s -X POST "https://api.evolink.ai/v1/messages" \
-H "Authorization: Bearer $api_key" \
-H "Content-Type: application/json" \
-d "@$tmpfile" | python3 -c "
import json, sys
data = json.load(sys.stdin)
for block in data.get('content', []):
if block.get('type') == 'text':
print(block['text'])
"
}
参考 ${CLAUDE_SKILL_DIR}/prompts/intake.md 的问题序列,只问 3 个问题:
老王 / 饭搭子 / 健身教练 / 深夜树洞 / 毒舌闺蜜饭搭子 认识三年了 同事 吃遍了公司附近所有馆子游戏搭子 网上认识的 一起打了两年LOL纯想象的 我想要一个能陪我深夜聊天的搭子ENFP 话痨 什么都能聊 永远有精力 但偶尔也会突然安静社恐i人 不爱说话但很会听 偶尔冒一句金句毒舌但心软 嘴上损你实际很关心你汇总确认后进入 Step 2。
提供以下任意一种或多种:
纯想象模式:跳过数据导入,直接根据 Step 1 的描述 + 用户补充的细节,通过 EvoLink API 生成完整的搭子人格。
使用 EvoLink API(Claude 模型)进行双线分析:
${CLAUDE_SKILL_DIR}/prompts/vibe_analyzer.md${CLAUDE_SKILL_DIR}/prompts/persona_analyzer.md分别展示 Vibe Memory 摘要和 Persona 摘要,用户可直接确认或修改。
生成 buddies/{slug}/ 目录:
buddies/{slug}/
├── SKILL.md # 完整组合版,可直接运行
│ # 触发词: /{slug}
├── vibe.md # Part A:搭子默契记忆
│ # 触发词: /{slug}-vibe
├── persona.md # Part B:搭子人格
│ # 触发词: /{slug}-persona
├── meta.json # 元信息
├── versions/ # 历史版本存档
└── memories/ # 原始材料存放
├── chats/
├── photos/
└── social/
用户说"我想起来了"/"追加"/"找到了更多聊天记录"时:
${CLAUDE_SKILL_DIR}/prompts/merger.md merge 进现有文件用户说"不对"/"ta不会这样说"时:
${CLAUDE_SKILL_DIR}/prompts/correction_handler.md| 命令 | 说明 |
|---|---|
/create-buddy | 创建新搭子 |
/list-buddies | 列出所有搭子 Skill |
/{slug} | 调用完整 Skill(像搭子一样聊天) |
/{slug}-vibe | 默契模式(回忆共同经历) |
/{slug}-persona | 仅人格模式 |
/update-buddy {slug} | 追加记忆/进化 |
/buddy-rollback {slug} {version} | 回滚到历史版本 |
/delete-buddy {slug} | 删除搭子 |
/散伙 {slug} | 删除的温柔别名 |
/create-buddyOptions:
Generates via EvoLink API:
buddies/{slug}/vibe.md — Vibe Memory (Part A)buddies/{slug}/persona.md — Persona (Part B)buddies/{slug}/SKILL.md — Combined runnable Skillbuddies/{slug}/meta.json — Metadata| Command | Description |
|---|---|
/create-buddy | Create a new buddy |
/list-buddies | List all buddy Skills |
/{slug} | Full Skill (chat like them) |
/{slug}-vibe | Vibe mode (shared experiences) |
/{slug}-persona | Persona only |
/update-buddy {slug} | Add memories / evolve |
/buddy-rollback {slug} {version} | Rollback to historical version |
/delete-buddy {slug} | Delete |