# Repository Briefing: guluguludog0-commits/officepals
> Source: https://repoforai.com/repo/guluguludog0-commits/officepals (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/guluguludog0-commits/officepals
- **Official Docs / Website**: https://www.npmjs.com/package/officepals
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: HTML
- **License**: MIT
- **Engineering Health**: A (76/100 · Maintenance 35/35 · Adoption 1/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.10.0 (2026-12-04) — https://github.com/guluguludog0-commits/officepals/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI, Self-Hosted
- **Momentum**: 18 ★ total (+3 24h / +18 7d) · 0 forks
- **Topics**: `ai-agents`, `claude-code`, `codex`, `coding-agents`, `developer-tools`, `hooks`, `threejs`, `visualization`
- **When to Use**: Best for: Individual developers running several Claude Code and Codex sessions who want a local view of which session needs attention and how long it has waited. Skip if: You need remote team monitoring, centralized approvals, exact diffs or logs, or an MCP tool server rather than a local status display.

## Overview
```text
### Architecture & Core Mechanics
officepals is a local, hook-driven status monitor for Claude Code and Codex. An asynchronous Node.js relay converts hook events into display metadata and posts it over HTTP to a loopback server. The server streams updates to the office page using Server-Sent Events (SSE). The relay and server use plain Node.js; the single-page client bundles three.js and uses three-vrm for its avatars. The source CLI entry point is bin/officepals.mjs.

The integration boundary is each host's hook configuration, not MCP or a model API. The relay classifies shell activity and derives approval risk labels without sending the full command to the server. The server also reads conversation titles from local Claude Code session data and the Codex session index. This lets the UI show named sessions and activity without becoming a proxy for agent traffic.

### Key Capabilities & Differentiators
Each session gets an avatar whose location distinguishes broad activities: reading at the bookshelf, editing at a desk, testing at the test bench, or doing Git work at the mailbox. Session cards show the current activity, turn duration, tool usage, to-do progress, and how often the session waited. A blocked session moves to the user's desk and escalates visually after 20 seconds, one minute, and three minutes.

Daily wait totals survive restarts in ~/.officepals/stats.json. The weekly view compares weeks and breaks down waiting by day, hour, and project; a Monday notification summarizes the prior week when alerts are enabled. The Mac app surfaces waiting counts in the Dock and menu bar, and clicking its Dock icon can switch to the host app of the longest-waiting session or an unseen completed job. Approvals and replies still happen in the originating host.

### Trade-offs & Limitations
Compared with checking terminals individually, officepals makes it easier to see which sessions are working, finished, or blocked, but it cannot replace command output, diffs, or the originating approval prompt. Native host badges and notifications are simpler for a single host; the advantage here is a persistent, cross-host view. Default alerts focus on Claude Code sessions in terminals or editors to avoid duplicating notifications from Claude's desktop app and Codex. Risk labels are useful for triage, not as a substitute for reading the command before approval.

Loopback transport keeps the monitoring service local, but the data is not anonymous: metadata can include folder names, conversation titles, clipped to-do titles, and approval question text or plan titles. The MCP-toolkit classification should not be read as protocol support. The 3D client reduces rendering when idle and stops drawing when hidden, but there are no benchmarks to quantify its overhead. Code is MIT-licensed; check web/models/LICENSE.md separately before redistributing the bundled avatars.

### Hardware & Deployment Guide
Run npx officepals with Node.js 18+ and Claude Code and/or Codex. First launch asks permission to add hooks to ~/.claude/settings.json and, if Codex is present, ~/.codex/hooks.json; it backs up and preserves existing settings, then opens http://127.0.0.1:4747. Trust the Codex entries via /hooks in its CLI or Settings → Hooks in the app. Use --demo to try the interface without installing hooks, status to check installation, and uninstall to remove the hooks without touching other settings or data.

The monitoring stack runs locally and works offline. The CLI has been tested on macOS, and browser pop-out requires Chrome or Edge 116+. The v0.10.0 Apple Silicon DMG targets macOS 13+, bundles Node.js, and is unsigned; it may require explicit first-launch approval under macOS security settings. A local build via mac/build.sh requires Xcode Command Line Tools. The desktop app shares hooks with the CLI and can reuse an already-running office. v0.8.0 reworked camera controls; v0.10.0 adds Dock wait/completion cues and weekly reporting.
```

## Key Capabilities
```text
- Event pipeline: Asynchronous Node.js hooks post over loopback HTTP; the three.js page receives updates via SSE.
- Cross-host visibility: Claude Code and Codex sessions share one view, with stations for work such as testing, editing, and Git operations.
- Attention triage: Waiting avatars escalate visually at 20 seconds, one minute, and three minutes; default chimes avoid duplicating host alerts.
- Wait analytics: Daily totals persist in ~/.officepals/stats.json, and the weekly view breaks down wait time by day, hour, and project.
- Desktop integration: The Apple Silicon app provides a floating mini window, Dock and menu-bar counts, and a shortcut to the longest-waiting session's host app.
- Low-commitment trial: npx officepals --demo opens scripted sessions without installing hooks.
```

## Quick Start / Clone
```bash
npx officepals
```
