# pixel-agent-desk **Repository Path**: wurulan/pixel-agent-desk ## Basic Information - **Project Name**: pixel-agent-desk - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-15 - **Last Updated**: 2026-04-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Pixel Agent Desk [![CI](https://github.com/Mgpixelart/pixel-agent-desk/actions/workflows/test.yml/badge.svg)](https://github.com/Mgpixelart/pixel-agent-desk/actions/workflows/test.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![Electron](https://img.shields.io/badge/Electron-32+-47848F?logo=electron&logoColor=white)](https://www.electronjs.org/) > Real-time pixel avatar visualization for Claude Code CLI multi-agent sessions. Pixel Agent Desk is a standalone Electron app that listens to [Claude Code](https://docs.anthropic.com/en/docs/claude-code) hook events and renders each agent session as an animated pixel character — complete with a virtual office, activity heatmaps, and token usage analytics. ![Demo](docs/demo.gif) | | | | |---|---|---| | ![](docs/screenshot-1.png) | ![](docs/screenshot-2.png) | ![](docs/screenshot-4.png) | | ![](docs/screenshot-5.png) | | | ## Highlights - **Pixel Avatars** — Each agent session gets a unique sprite character with state-driven animations - **Virtual Office** — 2D pixel art office where characters walk between desks - **Agent Desk Dashboard** — Web-based monitoring panel with real-time stats (http://localhost:3000) - **Activity Heatmap** — GitHub-style contribution grid showing daily agent session frequency - **Token Analytics** — Per-session and aggregate token usage, cost estimates, model breakdowns - **Terminal Focus** — Click any avatar to bring its terminal window to the foreground - **PiP Mode** — Always-on-top floating window so your pixel office stays visible while you work - **Auto Recovery** — Running sessions are automatically restored on app restart - **Sub-agents & Teams** — Full support for Claude Code sub-agents and team mode ## Requirements - **Node.js** 20 or later - **Claude Code CLI** installed and configured - **OS:** Windows, macOS, or Linux ## Quick Start ```bash git clone https://github.com/Mgpixelart/pixel-agent-desk.git cd pixel-agent-desk npm install npm start ``` > `npm install` also auto-registers the required Claude Code hooks in `~/.claude/settings.json`. ## Scripts | Command | Description | |---------|-------------| | `npm start` | Launch the Electron app | | `npm run dev` | Development mode (DevTools enabled) | | `npm test` | Run tests | ## Troubleshooting **Avatars don't appear** - Check that hooks are registered in `~/.claude/settings.json` - Verify the hook server is up: `curl http://localhost:47821/hook` should return 404 **Ghost avatars persist** - Usually a PID detection issue on Windows — clears within 30 seconds automatically - Restarting the app clears all state **Dashboard won't load** - Make sure port 3000 is free ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines. ## License - **Source code:** [MIT License](LICENSE) - **Art assets** (`public/characters/`, `public/office/`): [Custom restrictive license](LICENSE-ASSETS) — not for redistribution or modification