Eggs
Multi-user desktop pet
Features
- Multiple pets — Compatible with Codex pet packs.
- Custom pet states — Define arbitrary states per pet.
- Multiplayer remote sessions — Sync pet status and chat with peers.
- Agent hooks — Render local hook events as pet bubbles.
- Skills — Built-in compatibility with the community Skills ecosystem.
- Plugins — Claude Code and Codex plugin packages with built-in hook bubbles for prompts, tool calls, permissions, and stop events.
Install as a Skill (Agent-Managed)
If you drive Eggs through Claude Code, Codex, or another agent that supports the community Skills ecosystem, install it as a skill and let the agent run the commands for you:
npx skills add larchliu/eggs
That drops the eggs skill into your agent's skills directory. The skill ships a tiny launcher (./eggs on macOS/Linux, eggs.cmd on Windows) — on first use it downloads the right prebuilt binary into ~/.eggs/bin/ and caches it. No Rust toolchain, Python, or local build required.
From then on, ask the agent in plain language and it will map the request to the skill's CLI:
| You say | Agent runs |
|---|
/eggs or "spawn the desktop pet" | ./eggs start |
| "stop eggs" / "kill the pet" | ./eggs stop |
| "is eggs running?" | ./eggs status |
| "switch eggs to waving" | ./eggs state waving |
| "use local kebo" | ./eggs pet local kebo |
| "join remote random match" | ./eggs remote |
| "join remote room ABC123" | ./eggs remote room ABC123 |
| "leave the remote room" | ./eggs remote leave |
./eggs start and ./eggs restart must run unsandboxed (the GUI has to reach WindowServer / X / Wayland); in Claude Code that means dangerouslyDisableSandbox: true on the launching Bash call. Pure state mutations (state, pet, remote, install, stop, status) are safe to run sandboxed.
See eggs/SKILL.md for the full surface the agent has access to.
Install as a Plugin (Hooks-Enabled)
The skill-only install lets an agent drive Eggs on demand. The plugin install goes one step further: it also wires up hooks so that prompt submissions, tool calls, permission requests, and stop events from the agent automatically show up as pet bubbles on the desktop — no manual prompting required.
Two plugin packages ship from this repo:
- claude-plugin/ — Claude Code plugin (
SessionStart, UserPromptSubmit, Notification, PreToolUse matcher per tool, Stop, SubagentStop)
- codex-plugins/ — Codex plugin (
UserPromptSubmit, PostToolUse, PermissionRequest, Stop)
Both plugins bundle the full eggs skill internally, so installing the plugin gives you both the agent-driven CLI surface and the live hook bubbles.
Claude Code
The repo ships a Claude marketplace manifest at .claude-plugin/marketplace.json. Inside a Claude Code session:
/plugin marketplace add larchliu/eggs
/plugin install eggs@eggs
Restart the session if prompted. After install:
/eggs launches the desktop companion via the bundled skill.
- Hook events fire automatically — every
UserPromptSubmit, PreToolUse (Bash / Read / Write|Edit / Grep|Glob / WebSearch / WebFetch / mcp__*), Notification, Stop, and SubagentStop is rendered as a bubble by claude-plugin/hooks/eggs-claude-notify.js.
- Hook commands resolve via
${CLAUDE_PLUGIN_ROOT}, so the install path is portable.
To remove: /plugin uninstall eggs@eggs (and /plugin marketplace remove eggs if you also want to drop the marketplace entry).
Codex
The Codex plugin manifest lives at codex-plugins/.codex-plugin/plugin.json, exposed via the marketplace at .agents/plugins/marketplace.json with installation: AVAILABLE.
-
Add the marketplace from your shell:
codex plugin marketplace add larchliu/eggs
-
Launch Codex by running codex in your terminal.
-
Inside Codex, open the plugin browser:
/plugins
-
Pick the Eggs marketplace, then the Eggs plugin, and confirm install.
After install: