← 返回 Skills 市场
friend-skill
作者
cp3d1455926-svg
· GitHub ↗
· v1.0.0
· MIT-0
67
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install friend-skill
功能描述
创建和管理基于你们私密聊天数据的朋友数字分身,实现朋友不在线时的温暖陪伴和模拟对话体验。
使用说明 (SKILL.md)
🤝 朋友 Skill · 数字分身制造术
让你的朋友住进你的AI里。
🌟 这是什么?
把女娲Skill的「人格提炼」和Yourself-Skill的「私人数据注入」合并,专为朋友场景优化的Skill。
它不代替你的朋友,而是在朋友不在线时,给你一个温暖的陪伴。
🚀 快速开始
1. 创建你的第一个朋友分身
cd friend-skill
node scripts/friend-builder.js
按提示输入朋友的信息,等待几秒,你就拥有了一个数字朋友!
2. 和朋友聊天
node scripts/chat-demo.js 张三
# 把"张三"换成你朋友的名字
🎮 使用场景
| 场景 | 适合 |
|---|---|
| 😂 吐槽日常 | 想找朋友吐槽但TA不在线 |
| 💡 征求意见 | 模拟朋友对某事的看法 |
| 📝 练习对话 | 不知道怎么说出口的话,先和数字朋友排练 |
| 🎭 角色扮演 | 用朋友的视角看问题 |
| 🗃️ 回忆录 | 记录和朋友的共同记忆,不会忘记 |
📂 项目结构
friend-skill/
├── SKILL.md # Skill定义文件
├── scripts/
│ ├── friend-builder.js # 朋友分身构建器(核心)
│ └── chat-demo.js # 聊天测试器
├── friends/ # 生成的朋友分身文件(自动创建)
│ └── 张三-friend.json # 示例输出
└── references/
└── friend-template.json # 朋友数据模板
🧩 进阶用法
从聊天记录文件导入
把你和朋友的聊天导出为 .txt 文件(每行一条消息),构建器会自动分析:
# 在交互模式中选择导入聊天记录
# 或者直接用JSON构建
node scripts/friend-builder.js --build data.json
JSON构建格式
{
"name": "张三",
"records": [
"今天好烦啊",
"哈哈哈笑死我了",
"一起去吃饭吗"
],
"personality": {
"traits": ["搞笑", "暖男"]
},
"relationship": {
"role": "损友",
"yourName": "小老弟"
},
"interests": {
"love": ["游戏", "电影"],
"hate": ["数学", "早起"]
},
"voice": {
"greeting": "你咋来了",
"laugh": "哈哈哈你认真的?"
}
}
🔒 隐私保护
这是最重要的部分!
- ✅ 所有数据在本地处理 —— 朋友的信息不会上传到任何服务器
- ✅ 聊天记录只用于分析 —— 分析完后可以删除原文件
- ✅ 你控制一切 —— 生成的分身文件你可以随时删除
- ⚠️ 只导你和朋友的对话 —— 不要导入群聊或包含其他人隐私的记录
🧠 设计哲学
朋友Skill的核心不是「完美模拟」——因为真正的朋友是不可替代的。
它只做三件事:
- 记住你们之间的温暖 —— 共同回忆、专属梗、互相的称呼
- 模仿朋友说话的方式 —— 语气、口癖、反应习惯
- 在你需要的时候出现 —— 不是替代,而是补充
📖 和女娲Skill的区别
| 维度 | 女娲Skill | 朋友Skill |
|---|---|---|
| 数据源 | 公开资料+网络搜索 | 你和朋友的私密数据 |
| 目标 | 思维框架模拟 | 关系温度模拟 |
| 公开性 | 可公开分享 | 仅你自己可用 |
| 需要 | 大量公开资料 | 少量聊天记录+你的回忆 |
| 输出 | 思维顾问 | 聊天伙伴 |
📝 TODO
- 情感分析增强(识别用户情绪并匹配朋友的反应模式)
- 长期记忆(记住上次聊到哪了)
- 多模态支持(朋友的语音/表情包风格)
- 自动「刷新」(根据新聊天记录更新人格)
- 图形界面(可选)
友情提示:别让你的真朋友发现你有个AI版TA...除非TA也觉得这很酷😎
安全使用建议
This package appears to operate locally and match its description, but you should still: 1) inspect the full contents of all shipped JS files (the provided dump showed a truncation) to confirm there are no network calls or hidden modules; 2) run the scripts in an isolated environment (e.g., a disposable VM or container) the first time; 3) avoid importing group chats or third-party private data as the README warns; 4) verify Node version and run with least privilege (no elevated rights); and 5) delete generated persona files when you no longer want them or keep them encrypted if they contain sensitive information.
能力评估
Purpose & Capability
Name/description (create/manage friend digital doubles from private chat data) match the code and SKILL.md. The code manipulates local chat records, extracts tone/frequency features, generates persona JSON, and provides local chat tooling — all coherent with the stated purpose.
Instruction Scope
SKILL.md tells the user to run local Node scripts (friend-builder.js, chat-demo.js) and to import local .txt/.json chat exports. The scripts shown read/write files under the project (friends/), use only filesystem and readline, and do not instruct reading unrelated system files or contacting remote endpoints.
Install Mechanism
No install specification (instruction-only plus shipped JS files). That is low-risk and consistent with a Node-based local utility; nothing is downloaded or installed automatically.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code uses only fs/path/readline and stores persona JSON locally — requested permissions are proportional to functionality.
Persistence & Privilege
Flags: always=false and the skill does not request persistent platform privileges. It reads/writes its own files under the project (friends/), which is expected for this purpose and does not modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install friend-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/friend-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
friend-skill 1.0.0
- 首次发布,结合女娲Skill的人格提炼和Yourself-Skill的私人数据注入,专为朋友陪伴场景设计
- 支持通过脚本快速创建和体验数字朋友分身
- 聊天记录和JSON文件多种数据导入方式
- 注重隐私保护,所有数据本地存储与处理
- 个性化模拟朋友的语言风格、兴趣与关系特征
- 已包含多种常见朋友使用场景和后续待开发功能预告
元数据
常见问题
friend-skill 是什么?
创建和管理基于你们私密聊天数据的朋友数字分身,实现朋友不在线时的温暖陪伴和模拟对话体验。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。
如何安装 friend-skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install friend-skill」即可一键安装,无需额外配置。
friend-skill 是免费的吗?
是的,friend-skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
friend-skill 支持哪些平台?
friend-skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 friend-skill?
由 cp3d1455926-svg(@cp3d1455926-svg)开发并维护,当前版本 v1.0.0。
推荐 Skills