Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By LarchLiuv0.4.4MITIn 1 marketplace
Integrates Claude Code with the Eggs animated desktop companion. Shows real-time notifications for user prompts, tool usage, permissions, and agent responses as interactive bubbles on your desktop pet.
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
desktop-companion, notifications, hooks, eggs, pet, sprite, animation
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
将 Claude Code 与 Eggs 动画桌面宠物集成,实时显示 Claude 的工作状态。
/eggs 命令启动、停止、管理动画桌面宠物# 在项目目录中测试
claude --plugin-dir ./eggs-claude-plugin
# 复制到 Claude plugins 目录
cp -r eggs-claude-plugin ~/.claude/plugins/eggs
# 在 ~/.claude/settings.json 中启用
{
"plugins": ["eggs"]
}
在项目的 .claude/settings.json 中配置:
{
"plugins": ["eggs-companion"]
}
在 Claude Code 中输入:
/eggs
或者直接说:"启动桌面宠物"
首次运行会自动下载预编译的二进制文件(约 10 MB)并缓存到 ~/.eggs/bin/。
# 启动宠物
/eggs start
# 停止宠物
/eggs stop
# 查看状态
/eggs status
# 重启宠物
/eggs restart
# 改变宠物状态
/eggs state idle
/eggs state running
/eggs state waving
/eggs state jumping
# 切换宠物
/eggs pet builtin kebo-a
/eggs pet local noir-webling
该插件通过 Claude Code 的 hooks 系统监听以下事件:
每个事件都会:
无需 Python、编译器或其他运行时依赖!
Hook 脚本会自动查找 Eggs 可执行文件,按以下顺序:
desktop/src-tauri/target/debug/eggs (开发版本)~/.eggs/bin/eggs (已安装版本)desktop/src-tauri/target/release/eggs (发布版本)eggs你可以通过设置 EGGS_BIN_DIR 环境变量来自定义查找路径。
插件会智能格式化不同类型的操作:
插件包含了一套 Swift 工具用于处理桌面宠物的精灵图。
./skill/tools/build_tools.sh
工具会被安装到 ~/.eggs/bin/。
提取带边框的网格精灵图:
~/.eggs/bin/extract_sprite input.png output-dir
提取无边框的规则网格:
~/.eggs/bin/extract_sprite input.png output-dir \
--grid uniform \
--columns 8 \
--rows 9
强制统一帧尺寸:
~/.eggs/bin/extract_sprite input.png output-dir --frame-size 251
合并多个精灵图:
~/.eggs/bin/merge_spritesheets output-dir sheet-a.json sheet-b.json
Eggs 支持可选的远程宠物互动功能。
/eggs remote server http://localhost:8787
/eggs remote upload kebo-a
/eggs remote
# 创建/加入房间
/eggs remote room ABC123
# 离开房间
/eggs remote leave
# 禁用远程功能
/eggs remote off
ps aux | grep eggsls -l eggs-claude-plugin/hooks/eggs-codex-notify.js/hooksls ~/.eggs/bubble-spool/echo '{"prompt":"test"}' | node eggs-claude-plugin/hooks/eggs-codex-notify.js user_prompt_submit
ls -l ~/.eggs/bin/eggs~/.eggs/bin/eggs startls -lh ~/.eggs/bin/which curl wget~/.eggs/bin/eggsexport EGGS_RELEASE_URL=<your-mirror>eggs-claude-plugin/
├── .claude-plugin/
│ └── plugin.json # 插件清单(包含 skill 注册)
├── hooks/
│ ├── hooks.json # Hooks 配置
│ └── eggs-codex-notify.js # Hook 脚本
├── skill/
│ ├── SKILL.md # Skill 定义
│ ├── eggs # POSIX 启动器(macOS/Linux)
│ ├── eggs.cmd # Windows 启动器
│ ├── agents/ # 代理配置
│ ├── scripts/ # 旧版 Python/Swift 脚本
│ └── tools/ # 精灵图处理工具(Swift)
├── .gitignore
└── README.md
编辑 hooks/eggs-codex-notify.js:
// 修改消息格式
function formatHookMessage(payload) {
// 你的自定义逻辑
}
// 修改消息长度限制
function shorten(text, limit = 110) {
// 默认 110 字符
}
pet.json 配置文件~/.eggs/pets/:
/eggs install /path/to/your-pet-dir
/eggs pet local your-pet-name
EGGS_RELEASE_URL - 自定义下载源(默认:GitHub Releases)EGGS_BIN_DIR - 自定义缓存目录(默认:~/.eggs/bin)EGGS_APP_DIR - 自定义应用数据目录(默认:~/.eggs)EGGS_VERIFY_INTERVAL - SHA256 校验间隔秒数(默认:600)EGGS_SKIP_VERIFY=1 - 跳过版本校验(离线/CI 模式)MIT License
Alex.Liu
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground