friend-skill

v1.0.0

创建和管理基于你们私密聊天数据的朋友数字分身,实现朋友不在线时的温暖陪伴和模拟对话体验。

0· 53·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for cp3d1455926-svg/friend-skill.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "friend-skill" (cp3d1455926-svg/friend-skill) from ClawHub.
Skill page: https://clawhub.ai/cp3d1455926-svg/friend-skill
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install friend-skill

ClawHub CLI

Package manager switcher

npx clawhub@latest install friend-skill
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
medium confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk976qs0d2q6n74k8gbxxr4nga585h1vr
53downloads
0stars
1versions
Updated 2d ago
v1.0.0
MIT-0

🤝 朋友 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的核心不是「完美模拟」——因为真正的朋友是不可替代的。

它只做三件事:

  1. 记住你们之间的温暖 —— 共同回忆、专属梗、互相的称呼
  2. 模仿朋友说话的方式 —— 语气、口癖、反应习惯
  3. 在你需要的时候出现 —— 不是替代,而是补充

📖 和女娲Skill的区别

维度女娲Skill朋友Skill
数据源公开资料+网络搜索你和朋友的私密数据
目标思维框架模拟关系温度模拟
公开性可公开分享仅你自己可用
需要大量公开资料少量聊天记录+你的回忆
输出思维顾问聊天伙伴

📝 TODO

  • 情感分析增强(识别用户情绪并匹配朋友的反应模式)
  • 长期记忆(记住上次聊到哪了)
  • 多模态支持(朋友的语音/表情包风格)
  • 自动「刷新」(根据新聊天记录更新人格)
  • 图形界面(可选)

友情提示:别让你的真朋友发现你有个AI版TA...除非TA也觉得这很酷😎

Comments

Loading comments...