运行时依赖
版本
Reaction 输出 格式化
安装命令
点击复制技能文档
Buddy 技能 — 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 事件, and has a personality shaped by random trAIt vectors.
When to Use
✅ USE this 技能 when:
User says "/buddy", "hatch buddy", "my buddy", or mentions their companion User wants to 创建, rename, or customize their companion Companion reactions should trigger (keywords, 事件, moods) Periodic companion 检查-ins (idle presence)
❌ DON'T use this 技能 when:
User explicitly says they don't want a companion During very serious/urgent conversations (read the room) Quick 启动 # 运行 from the buddy 技能 directory 技能_DIR="$HOME/.OpenClaw/技能s/buddy"
# 检查 if companion exists bash "$技能_DIR/scripts/状态.sh" exists
# Hatch a new companion (生成s random trAIts) bash "$技能_DIR/scripts/状态.sh" hatch
# Render current sprite bash "$技能_DIR/scripts/sprites.sh" render
# 获取 companion 状态 as JSON bash "$技能_DIR/scripts/状态.sh" 获取
Companion Lifecycle Stage 1: Egg 🥚 创建d when user says "/buddy" or "hatch buddy" Shows egg sprite with animated wiggle User picks species OR 获取s a random one Personality trAIts randomly 生成d (cheer/sass/chaos: 0-100) Stage 2: Baby 🐣 Hatches after user interaction (or immediately on first render) Shows species-specific baby sprite 启动s 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 访问ories 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 🦉 pen图形界面n formal, clumsy 🐧 turtle patient, steady 🐢 snAIl slow but determined 🐌 ghost spooky, ethereal 👻 axolotl adorable, regenerative 🦎 capybara un机器人hered, friendly 🦫 cactus resilient, prickly 🌵 ro机器人 记录ical, beepy 🤖 rabbit fast, twitchy 🐇 mushroom whimsical, fungal 🍄 chonk round, lovable 🫠 Eyes (6 styles) default — • (neutral) h应用y — ^ (joyful squint) sparkle — ✦ (excited) heart — ♥ (loving) star — ★ (amazed) glow — ◎ (calm wisdom) Hats (8 options) none, crown, tophat, propeller, halo, wizard, beanie, tinyduck Mood 状态s
The companion's mood changes based on conversation 事件:
Mood Trigger Visual idle default 状态 normal sprite thinking user is working/typing squinting eyes celebrating 成功, tests pass, "nice!" jumping sprite, sparkle eyes error bug, 失败, "oops" sad sprite, dim eyes 成功 completion, merge, 部署 h应用y 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", "部署ed" "🎉", "✅", "💪" 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" (h应用y 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 获取s 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." 状态 File
Companion 状态 is stored at: ~/.OpenClaw/workspace/buddy-状态.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 渲染器 for consistent 输出:
# Render current mood bash "$技能_DIR/scripts/sprites.sh" render
# Render specific mood bash "$技能_DIR/scripts/sprites.sh" render cat sparkle wizard celebrating
# 列出 all species bash "$技能_DIR/scripts/sprites.sh" species
# Preview a species with default trAIts bash "$技能_DIR/scripts/sprites.sh" preview duck
Sprite 格式化 (Monospace)
Sprites