claude-office
CLAUDE.md548 starsChanged 10 months agoMITView on GitHub
Claude Office Visualizer transforms Claude Code operations into a real-time pixel art office simulation. A "boss" character (main Claude agent) manages work, spawns "employee" agents (subagents), and orchestrates tasks visually. See docs/architecture/ARCHITECTURE.md for system architecture and component details. Preferred: Use make dev-tmux - creates separate windows for backend/frontend. - Read logs: tmux capture-pane -t claude-office:backend -p - Switch windows: Ctrl-b n / Ctrl-b p - Hot reload enabled on both servers Debugging: Hook logs at ~/.claude/claude-office-hooks.log (enable with CLAUDE_OFFICE_DEBUG=1) See…
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- character-spriteSkill
- desk-accessorySkill
- office-spriteSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Preferred: Use make dev-tmux - creates separate windows for backend/frontend.
- Distinctive: line 54
Commit after every batch of work: Always commit after completing each logical unit.
- Distinctive: line 63
Keep all version locations in sync: when bumping versions:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Overview
Claude Office Visualizer transforms Claude Code operations into a real-time pixel art office simulation. A "boss" character (main Claude agent) manages work, spawns "employee" agents (subagents), and orchestrates tasks visually.
See docs/architecture/ARCHITECTURE.md for system architecture and component details.
Commands
# Root
make install # Install all dependencies
make dev-tmux # Run in tmux (recommended) - backend :8000, frontend :3000
make dev-tmux-kill # Kill tmux session
make checkall # Lint, typecheck, test all components
make simulate # Run event simulation
# Component-specific (run from backend/ or frontend/)
make dev # Start dev server
make checkall # Check single component (faster)
uv run pytest tests/test_file.py::test_name # Single backend test
# Hooks (cd hooks/)
./install.sh # Install hooks
./uninstall.sh # Remove hooks
# OpenCode Plugin (cd opencode-plugin/)
bun run build # Build plugin
bun run typecheck # Type checkDevelopment Workflow
Preferred: Use make dev-tmux - creates separate windows for backend/frontend.
- Read logs:
tmux capture-pane -t claude-office:backend -p - Switch windows:
Ctrl-b n/Ctrl-b p - Hot reload enabled on both servers
Debugging: Hook logs at ~/.claude/claude-office-hooks.log (enable with CLAUDE_OFFICE_DEBUG=1)
Project Skills
- /office-sprite - Generate office furniture sprites
- /character-sprite - Generate character sprite sheets
- /desk-accessory - Generate tintable desk items
See .claude/skills/*/SKILL.md for details.
Workflow Guidelines
Commit after every batch of work: Always commit after completing each logical unit.
Use subagents for validation: Spawn a Bash subagent to run make checkall and commit:
"Run 'make checkall' from the project root. If successful, commit with message: '<message>'"Version Management
Keep all version locations in sync when bumping versions:
| Location | File |
| Root package | pyproject.toml |
| Backend | backend/pyproject.toml |
| Backend OpenAPI | backend/app/config.py (VERSION — derived via importlib.metadata, no manual bump needed) |
| Hooks | hooks/pyproject.toml |
| Hooks CLI | hooks/src/claude_office_hooks/main.py (__version__ — derived via importlib.metadata, no manual bump needed) |
| Frontend package | frontend/package.json |
| Frontend display | frontend/src/app/page.tsx (header badge) |
| OpenCode plugin | opencode-plugin/package.json |
To bump all manual locations at once: make bump-version VERSION=x.y.z (rewrites the
manual rows above; the two derived rows — backend VERSION and hooks __version__ —
follow the installed package automatically). CI cross-check: make version-check (ARC-021).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

