OpenBuddy 电子宠物

v1.0.0

OpenBuddy 电子宠物系统 - 在你的终端中孵化、养成和互动虚拟宠物伙伴

0· 96·0 current·0 all-time
byoldsword@wltgithub

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for wltgithub/openbuddy.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "OpenBuddy 电子宠物" (wltgithub/openbuddy) from ClawHub.
Skill page: https://clawhub.ai/wltgithub/openbuddy
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: node
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 openbuddy

ClawHub CLI

Package manager switcher

npx clawhub@latest install openbuddy
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (terminal electronic pet) match what the files do. The only required runtime is node and the code implements hatch/pet/card/talk commands. Nothing asks for unrelated cloud credentials or system services.
Instruction Scope
SKILL.md instructs the agent to run the included buddy.js commands and documents optional env vars (OPENBUDDY_USER_ID, OPENBUDDY_DIR). The runtime instructions and code only read/write the skill's data file and render ASCII output; they do not access network endpoints or other system secrets.
Install Mechanism
There is no install spec (instruction-only with bundled JS files). The provided JS files will be executed by node from the skill directory; no remote downloads or obscure installers are present.
Credentials
The skill declares no required environment variables. The code optionally honors OPENBUDDY_USER_ID and OPENBUDDY_DIR (documented in SKILL.md) to override user ID and storage location — this is reasonable for reproducible pets and configurable storage. No tokens/credentials or unrelated env access are requested.
Persistence & Privilege
The skill persists a small JSON file (~/.openbuddy/buddy-soul.json by default) for the pet 'soul' and creates the directory if missing. always is false and the skill does not modify other skills or system-wide agent config. File writes are limited to the skill's directory (when running) and the user-owned data directory.
Assessment
This skill appears to be what it claims: a local terminal pet implemented in Node. Before installing or running, review the two JS files (they're included) to confirm you are comfortable executing local code. Note: it will create ~/.openbuddy/buddy-soul.json (or whatever you set via OPENBUDDY_DIR) and can change the deterministic pet by setting OPENBUDDY_USER_ID. There is no network activity or secret exfiltration in the code. If you want extra caution, run the script in a sandboxed environment or inspect the files locally before executing.

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

Runtime requirements

OSmacOS · Linux · Windows
Binsnode
ascii-artvk9798hyv08axvr3tcbkhxpj98x844kspfunvk9798hyv08axvr3tcbkhxpj98x844ksplatestvk9798hyv08axvr3tcbkhxpj98x844ksppetvk9798hyv08axvr3tcbkhxpj98x844ksptamagotchivk9798hyv08axvr3tcbkhxpj98x844kspvirtual-petvk9798hyv08axvr3tcbkhxpj98x844ksp
96downloads
0stars
1versions
Updated 3w ago
v1.0.0
MIT-0
macOS, Linux, Windows

OpenBuddy 电子宠物系统

OpenBuddy 是一个运行在终端中的电子宠物系统,灵感来源于 Claude Buddy。它为你的 AI 编程体验增添趣味和个性。

核心概念

骨骼 vs 灵魂(防作弊设计)

  • 骨骼(物种、稀有度、属性、帽子):每次会话从用户 ID 确定性计算,永不持久化,无法通过修改文件作弊
  • 灵魂(名字、性格、孵化日期、抚摸次数):孵化时生成一次,持久化到 ~/.openbuddy/buddy-soul.json
  • 合并顺序:{ ...灵魂, ...骨骼 },骨骼永远覆盖灵魂

18 种宠物

分类物种
经典鸭子、鹅、猫、兔子
智慧猫头鹰
企鹅
悠闲乌龟、蜗牛
神话
水生章鱼
异国情调蝾螈
幽灵幽灵
科技机器人
抽象团子
植物仙人掌
真菌蘑菇
胖猫
特殊水豚

稀有度系统

稀有度概率星星属性下限
普通60%5
稀有25%⭐⭐15
罕见10%⭐⭐⭐25
史诗4%⭐⭐⭐⭐35
传说1%⭐⭐⭐⭐⭐50

闪光变异:1% 独立概率(约万分之一)

五种属性

  • DEBUGGING(调试):发现并修复 bug 的能力
  • PATIENCE(耐心):面对复杂代码时的冷静程度
  • CHAOS(混乱):创造力和不可预测性
  • WISDOM(智慧):代码知识和架构理解
  • SNARK(毒舌):吐槽代码的犀利程度

使用方法

当用户提到以下关键词时触发此 skill:

  • "buddy"、"宠物"、"伙伴"、"电子宠物"
  • "孵化"、"抚摸"、"属性卡"
  • 或用户明确询问 OpenBuddy 相关功能

可用命令

通过执行 node buddy.js <command> 运行,脚本位于此 skill 目录中。

命令说明
hatch孵化你的 OpenBuddy(首次)
card查看完整的属性卡片
pet抚摸你的伙伴
mute静音伙伴
unmute取消静音
off隐藏伙伴
on重新显示伙伴
status查看简要状态
talk <消息>和伙伴对话

执行方式

node <此skill目录>/buddy.js hatch
node <此skill目录>/buddy.js card
node <此skill目录>/buddy.js pet
node <此skill目录>/buddy.js talk "你好"

互动指南

  1. 首次互动:引导用户运行 hatch 命令孵化宠物
  2. 日常互动:展示 pet 命令的爱心动画和随机反应
  3. 查看属性:使用 card 命令展示完整的 ASCII 精灵图和属性
  4. 个性展示:每次互动时展示宠物的 ASCII 精灵图
  5. 对话模式:使用 talk 命令让宠物回应用户的消息

环境变量

  • OPENBUDDY_USER_ID:设置用户 ID(用于确定性生成)
  • OPENBUDDY_DIR:设置数据存储目录(默认 ~/.openbuddy

注意事项

  • 宠物的物种和稀有度由用户 ID 决定,同一用户永远获得相同的宠物
  • 无法通过修改配置文件来改变稀有度(骨骼每次重新计算)
  • 闪光宠物极其稀有(约 1/10000),值得炫耀

Comments

Loading comments...