---
title: "crab-buddy"
url: "https://claudemods.dev/zh-cn/builds/crab-buddy-038af1"
source: "https://github.com/ziedgithub/claude-code-mods/tree/main/crab-buddy"
source_type: "github"
repo: "https://github.com/ziedgithub/claude-code-mods/tree/main/crab-buddy"
author: "ziedgithub"
author_handle: "ziedgithub"
stars: 0
category: "仪表盘与 HUD"
categories: ["hud"]
tags: ["animation", "claude-code", "hud", "pixel-art", "plugin", "subagents", "terminal-ui"]
permission_level: 0
scan_complete: true
install: "claude plugin marketplace add ziedgithub/claude-code-mods\nclaude plugin install crab-buddy@zied-mods"
added: "2026-10-05T01:48:35.607Z"
updated: "2026-11-19T00:25:59Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# crab-buddy

一只像素风 Claude 螃蟹住在提示列上方的横带中，陪你度过整个 session；每个子 agent 还有一只小螃蟹。

## Description

crab-buddy 是一个 Claude Code 插件，会在提示列上方绘制一只像素风螃蟹。螃蟹有五种心情——idle、working、thinking、happy 和 sleeping——与 session 状态绑定，并会相应地眨眼、在笔记本电脑上打字、举起思考气泡、带着火花跳跃，或打起瞌睡。每个子 agent 都有一只反映相同心情的小螃蟹，最多显示 8 只，超出的数量会显示为 +N。当子 agent 向主对话发送消息时，一个信封会从它的螃蟹飞向大螃蟹。每种 agent 类型都有自己的颜色（general-purpose 蓝色、Explore 绿色、Plan 紫色、claude-code-guide 黄色、statusline-setup 青绿色、claude 粉色、forks 橙色），备用调色板颜色会跨 session 记住。

安装：

claude plugin marketplace add ziedgithub/claude-code-mods && claude plugin install crab-buddy@zied-mods

然后重新启动 Claude Code。螃蟹只会绘制在终端中。

## Install

```
claude plugin marketplace add ziedgithub/claude-code-mods
claude plugin install crab-buddy@zied-mods
```

## Original README

# crab-buddy

A pixel-art Claude crab lives in the band above the prompt and goes through your session with you. Each subagent gets a small crab of its own.

![crab-buddy in action](../docs/crab-buddy.gif)

## Moods

![The five moods, each small crab beside the big one](../docs/moods.png)

| Mood | When | What it does |
| --- | --- | --- |
| idle | between turns | blinks, glances left and right |
| working | while Claude works | types on a laptop with its logo glowing |
| thinking | while thinking streams | raises a claw beside a growing thought bubble |
| happy | for 5 seconds after an answer | jumps with its claws up, sparks flying |
| sleeping | after a minute with nothing to do | slumps, eyes shut, `z`s rising |

## Subagents

Every subagent gets a small crab, left of the big one, that lives through the same moods for its own agent:

- It works and thinks while its agent runs.
- It cheers once the agent is done, then leaves.
- It nods off after a minute of waiting.

Up to eight are drawn, and any more are counted as `+N`.

When a subagent messages the main conversation, or sends back its final report, a small envelope flies in an arc from its crab to the big one.

Each kind of agent has its own color, so you can tell at a glance what is running:

| Agent type | Color |
| --- | --- |
| general-purpose | blue |
| Explore | green |
| Plan | purple |
| claude-code-guide | yellow |
| statusline-setup | teal |
| claude | pink |
| a fork | the crab's own orange |

Any other type, such as one of your own agents or a plugin's, gets the next free color from a spare palette. That color is remembered across sessions, so the type keeps it.

The crab draws in the terminal only.

## Install

```sh
claude plugin marketplace add ziedgithub/claude-code-mods && claude plugin install crab-buddy@zied-mods
```

Then restart Claude Code.

See the [repository README](../README.md) for running it from a clone.
