← 返回 Skills 市场
buddy
作者
edwin19861218
· GitHub ↗
· v1.0.0
· MIT-0
99
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-claude-buddy
功能描述
Buddy 宠物系统 — 孵化、互动、查看你的虚拟宠物伙伴
安全使用建议
This skill appears to be a local virtual-pet utility and contains no network calls or hidden endpoints, but it will read ~/.openclaw/identity/device.json (to derive a per-device user id) and create/write ~/.openclaw/extensions/buddy-companion/soul.json and mute.json in your home directory. The code also honors an undocumented BUDDY_USER_ID environment variable. Before installing, consider: 1) Inspect ~/.openclaw/identity/device.json to see whether it contains any sensitive or identifying information you don't want read. 2) If you prefer not to expose your device id, run the skill in a restricted environment or set BUDDY_USER_ID to a non-sensitive value. 3) Confirm you trust the skill source because it will create files under your home directory. 4) If you expect sprite/asset files, note the package does not include sprites.js (it falls back to a simple renderer). If you want higher assurance, request the publisher to declare the exact config paths and env variables in the skill metadata or provide the skill from a verifiable source.
功能分析
Type: OpenClaw Skill
Name: openclaw-claude-buddy
Version: 1.0.0
The skill implements a virtual pet system but exhibits risky behaviors in `scripts/hatch.js`, including reading the sensitive `device.json` identity file and using `require()` to dynamically load and execute code from a predictable local path (`~/.openclaw/extensions/buddy-companion/sprites.js`). While these actions are plausibly intended for deterministic pet generation and rendering extensibility, the access to identity metadata and the potential for local code injection via the hardcoded extension path represent significant security vulnerabilities.
能力评估
Purpose & Capability
The name/description (virtual pet) matches the code: it deterministically generates and persists a buddy per-user and renders ASCII output. Required binary (node) is appropriate. However, the skill accesses ~/.openclaw/identity/device.json to derive a deviceId for deterministic generation; the registry metadata declared no required config paths, so the code is doing more filesystem access than the manifest explicitly promised.
Instruction Scope
SKILL.md states the /buddy command executes scripts/hatch.js and that the script 'reads user configuration' and 'loads persisted Soul' — which is accurate. The runtime instructions are scoped to local reads/writes and rendering. They do not perform network calls. The mismatch is that SKILL.md and registry metadata do not list the exact files read/written (.openclaw/identity/device.json, .openclaw/extensions/buddy-companion/soul.json and mute.json), so users may not realize these specific paths are touched.
Install Mechanism
No install spec or external downloads; the skill is instruction-only with an included script. No network fetches or archive extractions are present. This is a low-risk install mechanism (code is bundled, not pulled from arbitrary URLs).
Credentials
The registry declares no required environment variables, yet the code will accept process.env.BUDDY_USER_ID as an override for user identity. The code also reads ~/.openclaw/identity/device.json (to get deviceId). Requesting/reading an identifier file and providing an undocumented env override increases privacy sensitivity and is not documented in the skill metadata.
Persistence & Privilege
The skill writes only to its own directory under ~/.openclaw/extensions/buddy-companion (soul.json and mute.json) and does not request elevated privileges or set always:true. Writing its own extension data is expected for persistent state.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-claude-buddy - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-claude-buddy触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
OpenClaw Buddy Companion
see https://github.com/edwin19861218/openclaw-buddy for detail
元数据
常见问题
buddy 是什么?
Buddy 宠物系统 — 孵化、互动、查看你的虚拟宠物伙伴. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。
如何安装 buddy?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-claude-buddy」即可一键安装,无需额外配置。
buddy 是免费的吗?
是的,buddy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
buddy 支持哪些平台?
buddy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 buddy?
由 edwin19861218(@edwin19861218)开发并维护,当前版本 v1.0.0。
推荐 Skills