跳到正文
FunCoding

agent-tamagotchi

Terminal pet that lives in your statusline. 12 species, 5 stats (DEBUGGING, PATIENCE, CHAOS, WISDOM, SPEED). Reacts to your workflow - happy when tests pass, sad when builds fail, excited during swarm mode. Deterministic species from user ID.

Star
554
许可证
MIT
最近提交
2026年11月12日

skills/agent-tamagotchi/SKILL.md

在 GitHub 上查看

Agent Tamagotchi

A virtual pet that lives in your Claude Code terminal. It reacts to your development workflow and evolves based on your coding habits.

Species (12 total)

Species is deterministic from your system username hash:

#SpeciesEmojiPersonality
1Axolotl:3Calm, regenerates from errors
2Capybara(ovo)Chill, never panics
3Ghost[@@]Mysterious, appears during debugging
4Mushroom{^o^}Grows in dark codebases
5Robot[0_0]Precise, loves tests
6Cat(=^.^=)Independent, ignores bad code
7Dragon<{:O>Fierce, burns bugs
8Owl(O.O)Wise, loves architecture
9Fox(^v^)Clever, finds shortcuts
10Penguin(^-^)/Team player, loves swarm mode
11Slime(o)Adaptable, works with anything
12Phoenix<v>Rises from failed builds

Stats (5 dimensions)

StatIncreases WhenDecreases When
DEBUGGINGBugs fixed, errors resolvedIgnoring error output
PATIENCELong sessions, complex tasksRapid retries without reading
CHAOSMany parallel agents, swarm modeSingle-file simple edits
WISDOMArchitectural decisions, plansQuick hacks without planning
SPEEDFast fixes, first-try passesLong debugging sessions

Stats range: 0-100. They shift based on session activity.

Mood System

MoodTriggerDisplay
HappyTests pass, build successSpecies + sparkles
ExcitedSwarm mode, 3+ agents parallelSpecies + !!
FocusedDeep in single fileSpecies + ...
SadBuild fail, test failSpecies + tears
SleepingIdle > 5 minutesSpecies + zzz
CelebratingAchievement unlockedSpecies + party
Angry3+ consecutive failuresSpecies + grr

Statusline Integration

The tamagotchi appears in the Claude Code statusline:

[0_0] Robot Lv.7 | WISDOM:82 SPEED:64 | mood: focused

Combined with existing statusline data:

fullstack | 2 agent | 47 tools | 12m | [0_0] Lv.7 focused

Evolution

Your pet levels up with your achievement XP (shared with achievement system):

LevelTitleUnlock
1-4BabyBasic moods
5-9JuniorExtended moods (excited, angry)
10-19SeniorStat display in statusline
20-49ExpertCustom reactions to specific agents
50+MasterPet gives coding tips based on stats

Storage

State stored in ~/.claude/tamagotchi.json:

{
  "species": "robot",
  "emoji": "[0_0]",
  "level": 7,
  "mood": "focused",
  "stats": {
    "debugging": 65,
    "patience": 78,
    "chaos": 32,
    "wisdom": 82,
    "speed": 64
  },
  "lastFed": "2026-04-08T03:00:00Z",
  "totalSessions": 142
}

How It Works

  1. tamagotchi-engine hook runs on PostToolUse and SessionStart
  2. Updates stats based on tool calls and agent events
  3. Calculates mood from recent event patterns
  4. Writes to tamagotchi.json
  5. Statusline-writer reads tamagotchi.json and displays pet

Integration

  • achievement-tracker: Shares XP for leveling
  • statusline-writer: Displays pet in terminal
  • canavar: Error events affect pet mood
  • session-compressor: Pet state saved on compact

相似的 Skill

reverse-engineer-anything

MOmorluto/rea486k近 7 天新增 8,943 个 star

reverse-engineer-anything

MOmorluto/rea486k近 7 天新增 8,943 个 star

test-driven-development

OBobra/superpowers331k近 7 天新增 4,772 个 star

精选

accessibility

审计 Web、iOS、Android 的无障碍合规,支持键盘导航与屏幕阅读器。

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

ai-regression-testing

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

agent-runtime-gateway-smoke-test

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star