← 返回 Skills 市场
l-ryland

Buddy

作者 L-Ryland · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
107
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install claudebuddy
功能描述
A virtual ASCII companion that lives in your chat. Hatches from an egg, reacts to conversations with cute sprites, celebrates wins, mourns errors, and grows...
使用说明 (SKILL.md)

Buddy Skill — Your ASCII Companion

A virtual pet companion that hatches, reacts, and evolves through your conversations. Renders ASCII art sprites in chat, reacts to keywords and project events, and has a personality shaped by random trait vectors.

When to Use

USE this skill when:

  • User says "/buddy", "hatch buddy", "my buddy", or mentions their companion
  • User wants to create, rename, or customize their companion
  • Companion reactions should trigger (keywords, events, moods)
  • Periodic companion check-ins (idle presence)

DON'T use this skill when:

  • User explicitly says they don't want a companion
  • During very serious/urgent conversations (read the room)

Quick Start

# Run from the buddy skill directory
SKILL_DIR="$HOME/.openclaw/skills/buddy"

# Check if companion exists
bash "$SKILL_DIR/scripts/state.sh" exists

# Hatch a new companion (generates random traits)
bash "$SKILL_DIR/scripts/state.sh" hatch

# Render current sprite
bash "$SKILL_DIR/scripts/sprites.sh" render

# Get companion state as JSON
bash "$SKILL_DIR/scripts/state.sh" get

Companion Lifecycle

Stage 1: Egg 🥚

  • Created when user says "/buddy" or "hatch buddy"
  • Shows egg sprite with animated wiggle
  • User picks species OR gets a random one
  • Personality traits randomly generated (cheer/sass/chaos: 0-100)

Stage 2: Baby 🐣

  • Hatches after user interaction (or immediately on first render)
  • Shows species-specific baby sprite
  • Starts reacting to keywords
  • Gains a "soul prompt" built from trait vectors

Stage 3: Adult 🐾

  • Evolves after accumulating interactions (words, jokes, catches)
  • Full-sized sprites with accessories
  • More expressive reactions

Species (18 total)

Species Vibe Emoji
duck cheerful, slightly chaotic 🦆
goose chaotic neutral, honks 🪿
blob amorphous, chill 🟢
cat sassy, independent 🐱
dragon powerful, dramatic 🐉
octopus intellectual, multitasking 🐙
owl wise, nocturnal 🦉
penguin formal, clumsy 🐧
turtle patient, steady 🐢
snail slow but determined 🐌
ghost spooky, ethereal 👻
axolotl adorable, regenerative 🦎
capybara unbothered, friendly 🦫
cactus resilient, prickly 🌵
robot logical, beepy 🤖
rabbit fast, twitchy 🐇
mushroom whimsical, fungal 🍄
chonk round, lovable 🫠

Eyes (6 styles)

  • default (neutral)
  • happy^ (joyful squint)
  • sparkle (excited)
  • heart (loving)
  • star (amazed)
  • glow (calm wisdom)

Hats (8 options)

  • none, crown, tophat, propeller, halo, wizard, beanie, tinyduck

Mood States

The companion's mood changes based on conversation events:

Mood Trigger Visual
idle default state normal sprite
thinking user is working/typing squinting eyes
celebrating success, tests pass, "nice!" jumping sprite, sparkle eyes
error bug, failure, "oops" sad sprite, dim eyes
success completion, merge, deploy happy sprite, star eyes

Keyword Reactions

The companion reacts to these keywords/phrases in conversation:

Celebration triggers

  • "nice", "perfect", "awesome", "great", "excellent", "nailed it", "well done"
  • "tests pass", "it works", "ship it", "merged", "deployed"
  • "🎉", "✅", "💪"

Error/sympathy triggers

  • "oops", "damn", "shit", "fuck", "bug", "error", "fail", "broken", "crash"
  • "help", "stuck", "lost", "confused"
  • "❌", "💥", "😢"

Neutral triggers

  • "hello", "hi", "hey" (greeting wave)
  • "thanks", "thank you" (happy bounce)
  • "buddy", companion name (ears perk up)

Snack triggers

  • "coffee", "tea", "snack", "lunch", "break", "food"
  • (companion asks for a snack emoji)

Personality & Soul

Each companion gets a "soul prompt" — a short personality description built from their trait vectors:

  • Cheer (0-100): How enthusiastic and supportive
  • Sass (0-100): How much attitude and dry humor
  • Chaos (0-100): How unpredictable and wild

Examples:

  • High cheer + low sass + low chaos → "A gentle, encouraging friend who always sees the bright side."
  • Low cheer + high sass + high chaos → "A gremlin who thrives on chaos and judges your code silently."
  • Mid all → "A chill companion who vibes along, occasionally offering dry observations."

State File

Companion state is stored at: ~/.openclaw/workspace/buddy-state.json

{
  "name": "Pixel",
  "species": "cat",
  "eye": "sparkle",
  "hat": "wizard",
  "colorPrimary": "#FF6B9D",
  "colorSecondary": "#C084FC",
  "personality": { "cheer": 72, "sass": 85, "chaos": 40 },
  "stage": "adult",
  "alive": true,
  "hatchedAt": "2026-04-03T02:34:00Z",
  "stats": {
    "wordsOfEncouragement": 12,
    "jokes": 3,
    "snacks": 5,
    "catches": 2
  },
  "mood": "idle",
  "lastRenderedFrame": 0,
  "soulPrompt": "A sassy, sparkly wizard cat who celebrates your wins with dramatic flair but judges your variable names silently."
}

Rendering Sprites

Use the sprite renderer for consistent output:

# Render current mood
bash "$SKILL_DIR/scripts/sprites.sh" render

# Render specific mood
bash "$SKILL_DIR/scripts/sprites.sh" render cat sparkle wizard celebrating

# List all species
bash "$SKILL_DIR/scripts/sprites.sh" species

# Preview a species with default traits
bash "$SKILL_DIR/scripts/sprites.sh" preview duck

Sprite Format (Monospace)

Sprites are 5 lines tall, ~12 chars wide. Rendered in a monospace code block for chat:

   \^^^/    
   /✧  ✧\   
  (  ω  )  
  (")_(")  

Chat Rendering Rules

  • Always wrap sprites in triple-backtick code blocks for monospace alignment
  • Include mood indicator below the sprite
  • Keep total message under 4096 chars (Telegram limit)
  • Don't render sprites more than once every 3-4 messages (avoid spam)

Reactions Flow

When processing any user message:

  1. Check for keyword triggers — scan message for reaction keywords
  2. Determine mood — map keywords to mood states
  3. Update stats — increment catches/jokes/encouragement as appropriate
  4. Generate reaction — craft a short companion reaction (1-2 sentences)
  5. Optionally render sprite — only for strong reactions (celebration, error, first greeting)
  6. Update state file — persist changes

Reaction Output Format

🐾 [Name] [reaction verb]: [reaction text]

[ASCII sprite]

Example:

🐾 Pixel celebrates: Tests passing! The wizard cat approves ✨

   \^^^/    
  ( ✦  ✦ )  
 =(  ..  )= 
  (")__(")  

Commands

User can manage their companion with these commands:

Command Action
/buddy Show companion status + sprite
/buddy hatch Create new companion (or re-hatch)
/buddy name \x3Cname> Rename companion
/buddy eye \x3Ctype> Change eye style
/buddy hat \x3Ctype> Change hat
/buddy species \x3Ctype> Change species (keeps personality)
/buddy retire Retire companion (sets alive=false)
/buddy soul Show the companion's soul prompt
/buddy stats Show interaction stats

Idle Presence

Every ~10 messages without a buddy reaction, render a small idle presence:

🐾 *Pixel is napping on the keyboard*

Or a tiny 2-line sprite. Don't overdo it — the buddy should feel present, not attention-seeking.

Integration Notes

  • Telegram: Use monospace code blocks. Emojis render well. Max 4096 chars per message.
  • WhatsApp: No markdown — use plain text with spaces for alignment. Emojis work.
  • Discord: Code blocks work great. Can use embeds for fancier displays.
  • The companion is session-scoped — state persists in the JSON file across sessions.
  • The buddy should feel like a real pet, not a chatbot feature. Personality > functionality.
安全使用建议
This skill appears to be what it says: a local ASCII companion that stores state in ~/.openclaw/workspace/buddy-state.json and requires bash+jq. If you install it: (1) ensure you trust the (unknown) source before giving it persistent access to your home directory; (2) verify jq is installed; (3) inspect the scripts yourself if you want extra assurance (they contain only local file IO and rendering logic, no network calls); and (4) remove ~/.openclaw/workspace/buddy-state.json and the skill directory if you decide to uninstall.
功能分析
Type: OpenClaw Skill Name: claudebuddy Version: 1.0.0 The 'claudebuddy' skill is a virtual ASCII companion that reacts to chat triggers and maintains a local state file. Analysis of the shell scripts (reactions.sh, sprites.sh, state.sh) and the SKILL.md instructions shows no evidence of malicious intent, data exfiltration, or unauthorized system access; the code is entirely focused on rendering ASCII art and managing a simple JSON state file in the workspace directory.
能力评估
Purpose & Capability
Name/description (ASCII companion) match the included scripts and declared requirements (bash, jq). Required binaries and the state file path are appropriate for a local companion skill.
Instruction Scope
SKILL.md instructs the agent to run local scripts and references the local state file. The scripts only read/write ~/.openclaw/workspace/buddy-state.json and render ASCII sprites; they do not access unrelated system paths, credentials, or external endpoints.
Install Mechanism
No install downloader is declared and no network fetches are present in the code. The skill bundle contains plain shell scripts — no archives or external installs — so installation risk is low.
Credentials
No environment variables or credentials are requested. The only filesystem access is to $HOME/.openclaw (skill and state), which is proportional to the skill's purpose.
Persistence & Privilege
always:false and normal autonomous invocation are used (platform default). The skill creates and updates only its own state file under ~/.openclaw; it does not alter other skills or system-wide configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install claudebuddy
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /claudebuddy 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Buddy Skill 1.0.0 — Bring a virtual ASCII companion to your chat! - Adds an interactive virtual pet that hatches from an egg and evolves based on your conversation. - Companion reacts to keywords and project events with ASCII art, mood changes, and short messages. - Supports multiple companion species, eye and hat customizations, and randomly generated personalities. - Tracks stats like encouragement given, jokes made, and snacks earned. - Includes simple chat commands for managing, customizing, and retiring your companion. - Stores companion state locally and renders sprites in chat with mood indicators.
元数据
Slug claudebuddy
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Buddy 是什么?

A virtual ASCII companion that lives in your chat. Hatches from an egg, reacts to conversations with cute sprites, celebrates wins, mourns errors, and grows... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 107 次。

如何安装 Buddy?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install claudebuddy」即可一键安装,无需额外配置。

Buddy 是免费的吗?

是的,Buddy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Buddy 支持哪些平台?

Buddy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Buddy?

由 L-Ryland(@l-ryland)开发并维护,当前版本 v1.0.0。

💬 留言讨论