ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 theonly1me

pocket-familiar

一个 Claude Code 插件,其中一只狐狸精灵在您的工作旁边生活,以通过的测试和完成的回合为食,并在空闲时玩耍。

theonly1me@theonly1me

theonly1me/claude-code-mods/tree/main/plugins/pocket-familiar

原帖图片1
已翻译

关于这个 mod

Pocket Familiar 是一个 Claude Code 插件,它将一只像素艺术狐狸精灵放置在您的工作流程旁边的山丘上。当测试命令通过时,饱食度会上升;当回合完成或 Claude 创建文件时,快乐度会增加;长时间会话期间能量会耗尽;错误会使其出汗,连续三次失败会带来一只橡皮鸭。这个精灵会通过上下文动画反映 Claude 的活动,并在空闲时自行玩耍,尽管玩耍不会影响统计数据。XP 会从成功的工具调用、通过的测试和完成的回合中积累,将一个斑点蛋孵化成一只小狐狸,然后是一只狐狸精灵,它会生长出额外的尾巴,直到在 5,500 XP 时成为一只九尾狐。命令包括 /pet、/pet on|off 和 /pet stats。它在全屏布局中停靠在脚本旁边,否则会位于提示上方的一个窗格中,并在每次新会话中返回,直到被隐藏。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add theonly1me/claude-code-mods
claude plugin install pocket-familiar
原文 / README

Pocket Familiar

A fox spirit lives on a small hill beside your work. Your work is the only thing that feeds it, and while you are quiet it plays.

Pocket Familiar preview

claude plugin marketplace add theonly1me/claude-code-mods
claude plugin install pocket-familiar@claude-code-mods

Register the marketplace once. Run /reload-plugins in an open session after installing. Requires Claude Code 2.1.289 or later; no build step or runtime dependencies.

How to use

The familiar is hidden until you ask for it.

  • /pet shows the familiar. Run it again to hide it.
  • /pet on and /pet off do the same without toggling.
  • /pet stats prints its mood, stat bars, and the XP it needs for the next stage, and leaves the scene as it is.

When you show it, it comes back in each new session until you hide it again. Only one game shows at a time: showing the familiar hides any other game from this marketplace, and showing another game hides the familiar.

In the fullscreen layout (CLAUDE_CODE_NO_FLICKER=1 claude) the familiar docks beside the transcript, with its stats and a short log of what it did under the scene. Otherwise it sits in a pane above the prompt. A pane that opens by itself at session start needs a terminal 144 columns wide; on a narrower one it waits until you run /pet. The desktop app shows a one-line summary.

How it plays

Work feeds it:

  • Fullness goes up when a test command passes. It drops slowly while you work and about 4 points an hour while you are away.
  • Joy goes up when a turn finishes and when Claude creates a new file. It fades about 2 points an hour while you are away.
  • Energy drains during long sessions and comes back while it sleeps or while you are away.
  • An error makes it sweat. Three failures in a row and it brings you a rubber duck, which stays until something works.

It mirrors what Claude is doing: a book while Claude reads, a laptop while Claude edits, a magnifier while tests run, and thought dots while it paces during a turn. Any tool call stops its play, and it walks home to help.

While nothing runs, it never stands still. It chases butterflies, pounces on falling leaves, bats a ball of yarn, chases its own tail until it is dizzy, grooms, digs up shiny pebbles, stretches and yawns, watches shooting stars at night and birds by day, and takes short naps. Play is only for show: it never changes fullness, joy, energy, or XP. After five quiet minutes it falls asleep for real, and any prompt or tool call wakes it.

How it grows

Every successful tool call gives 1 XP, a passing test gives 5, and a finished turn gives 3. The speckled egg hatches at 20 XP into a round fox kit. At 120 XP it becomes a fox spirit, and it grows one more tail at each milestone, up to a nine-tailed kitsune at 5,500 XP. A toast tells you each time it grows. The sky follows your local time of day, with fireflies at night.

See the marketplace README for configuration, privacy, updates, and removal.

更多类似作品