My Office
Turns each Claude Code session into a character working a 3D office — walks to the library to read files, launches a rocket on deploy — and lets you approve its permission requests from the floor.
- Source repo
- khanh020905/my-office
- Stars
- ★ 311
- Last updated
- 17d ago
- FARS reviewed
- Dec 01, 2026
- License
- MIT
- Primary language
- JavaScript
- FA score
- 55/100 · Major gaps
At a glance
- Works with
- Platform-specificClaude CodeCodex (Partial support)
- You'll need
- Typical use
- Developers running several Claude Code sessions at once who need to see, at a glance, which one is running a command, which is waiting for an approval and which is stuck repeating the same error.
- Main limitation
- Capability is split by OS: opening a session's IDE window, quitting apps and the menu bar app are macOS only, so Windows and Linux get the server, the office and the 2D view.
- Website
- khanh020905.github.io/my-office ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-14+1.5 ★/day over 7 days
- Source review
- 55/100 · Major gaps
What does this agent do, and when should you use it?
My Office is a locally run 3D office dashboard that maps the Claude Code sessions on your machine onto characters at desks: they walk to the library to read files, type at their desk while editing, go to the server room to run commands and launch a rocket on a deploy. It is three pieces: a plain Node.js server (server/), a Next.js page (app/, src/components/) and a three.js scene (src/office/, one module per object). my-office install backs up ~/.claude/settings.json and adds three kinds of hooks — event hooks, approval hooks and a status line — which feed session state, permission requests, Claude's questions and plans, and your plan's usage into the page. Past visualization it is a working control surface: permission cards answered with Y/N/A or from a phone, risky commands (recursive deletes, force pushes, curl | sh, sudo, anything mentioning prod) marked red with no "Always allow", a stuck-loop blocker, and CI "Fix it" cards pulled through your gh login. Phones watch over the LAN or a Cloudflare quick tunnel behind a 6-digit PIN and can approve once the Mac allows it; the Mac panel covers RAM, CPU, disk, forgotten dev servers and worktrees with uncommitted work. Everything is stored under ~/.my-office, and each outbound call has an environment switch. It is MIT licensed and explicitly a community project, not affiliated with Anthropic.
After install, the hooks written into ~/.claude/settings.json feed Claude Code session events (SessionStart, PreToolUse, PermissionDenied and the rest) plus status-line data to a local server on 127.0.0.1:4310, which pushes them to the browser page; the 3D scene reacts — a commit prints a page on the printer, a push launches the rocket, a failing CI run shows a red notice, and each desk screen shows an editor, terminal, browser, chat or permission dialog. The page renders permission requests as cards (Allow / Always allow / Deny, keys Y, N, A), and Claude's questions and plans as cards with every option, free text and approve/keep editing. A synchronous PreToolUse hook blocks a fourth identical failing tool call and tells Claude to change course (it gives up after 0.3 s, so a closed office never holds Claude Code up). It reads the latest CI run of a session's repository with gh and turns a failure into a "Fix it" card that hands Claude the failing step's log; it warns in the team chat when two sessions edit the same file within 20 minutes or when a command hits EADDRINUSE. Usage breakdowns come from Claude Code's own OpenTelemetry counters (posted to /v1/metrics and /v1/logs, kept as daily sums in data/otel/ for 30 days), and the History vault re-reads transcripts every 3 hours, keeping words only, in data/vault. The CLI exposes install, uninstall, doctor, start and pin; doctor checks Node, the server, every hook and the background service.
- Developers running several Claude Code sessions at once who need to see, at a glance, which one is running a command, which is waiting for an approval and which is stuck repeating the same error.
- People who step away from the desk while Claude keeps working: turn on phone access and answer an approval, a question or a plan from the phone instead of walking back to the Mac.
- Mac users slowed down by forgotten dev servers and idle sessions: the Mac pill shows RAM, swap, CPU and disk, names what spilled to disk, and offers worktree cleanup for folders still holding uncommitted work.
- Anyone reviewing their own week: replay the timeline at up to ×120, export a Weekly recap card with hours, prompts, edits, commands and cost at API prices, or search the History vault for conversations older than Claude Code's 30-day deletion.
- Demoing or recording the setup: Streamer mode blurs commands, paths and chat; Photo mode saves a PNG up to 4K; a 15-second square or 9:16 clip with an in-browser lo-fi track is ready to post.
- Evaluating before adopting:
npm run devplus?demo, or the static GitHub Pages build, runs made-up projects with no Claude Code and no configuration changes.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npm install -g claude-my-officenpx claude-my-office startnpx claude-my-office install
- Environment variables
OFFICE_PORTOFFICE_DATA_DIR- Config files
~/.claude/settings.json~/.my-office- Runtime
- Node.js 20.9
- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
You need Node.js 20.9 or newer and an installed, signed-in Claude Code, on macOS, Linux or Windows. The machine panel reads each system its own way; opening a session's IDE window and quitting apps are macOS only.
Install globally, add the hooks and run the office at login:
npm install -g claude-my-office
my-office install --service
my-office doctorinstall backs up ~/.claude/settings.json before changing it and only adds My Office's own hooks, adding nothing twice on a rerun. An npm install keeps its data (settings, phone PIN, history vault) in ~/.my-office, so upgrading keeps it. To try it without a global install:
npx claude-my-office start
npx claude-my-office installFrom source, to change the code:
git clone https://github.com/khanh020905/my-office.git && cd my-office
npm install
node bin/cli.mjs install --serviceRestart after changing the code:
launchctl kickstart -k gui/$(id -u)/com.my-office
systemctl --user restart my-office(my-office doctor prints the right command for your system.) Remove everything again:
my-office uninstallHow do you use this agent?
Open <http://localhost:4310> after installing. A short tour on the first visit points at what you can click (the lamp, the light switch, the coffee machine, the printer, the cat, the bell, a person, walking in). On a permission card press Y to allow, N to deny, A to always allow; press P for photo mode; switch 3D and 2D in the top bar (or open ?view=2d) for a quiet list view that needs no WebGL; pick English or Vietnamese in Settings → Display.
Walk in with WASD and use what is in front of you with E.
For phones, turn on "Open on phones" in the phone window (or install with --lan), then sign in with the PIN on the same Wi-Fi; away from home, "Use it when you're out" starts a Cloudflare quick tunnel. Show or rotate the PIN:
my-office pin
my-office pin --new--new signs every phone out. To change the port, language or data folder, or to run in this terminal with phone access:
export OFFICE_PORT=4310
export OFFICE_LANG=en
export OFFICE_DATA_DIR=data/
my-office start --lanTo see the office with made-up projects and no Claude Code, run the dev server from a source checkout:
npm run devand open <http://localhost:4310/?demo>; scene flags such as ?liftservice, ?lunar=1, ?csgt, ?pickle, ?nhau and ?drill preview individual behaviours.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- A real approval surface rather than a viewer: permission cards, Claude's questions and plans, auto-mode refusals, stuck-loop blocking and CI "Fix it" cards, answered from the page, the menu bar panel, the editor sidebar or a phone.
- Reversible integration: install only appends My Office's own hooks after backing up
settings.json, anduninstallremoves exactly those keys, the telemetry settings and the background service. - Local-first by design: hooks post to
127.0.0.1, secrets-looking strings are masked before storage, phones need a 6-digit PIN (five wrong tries lock the address for 15 minutes), andOFFICE_USAGE,OFFICE_CI,OFFICE_TRANSLATE,OFFICE_VAULTswitch off each outbound call. - You can evaluate it before touching any config: the
?demomode and the static GitHub Pages build need neither Claude Code nor an install. - Unusually specific detail where it matters — cache-warmth countdowns per session, cost at API prices, a 2D fallback view that saves battery on machines without WebGL.
- Capability is split by OS: opening a session's IDE window, quitting apps and the menu bar app are macOS only, so Windows and Linux get the server, the office and the 2D view.
- Hard dependency on Claude Code: Node.js 20.9+ and a signed-in Claude Code are required, and without it only the demo mode remains.
- Plan usage comes from an undocumented Anthropic endpoint that the README says may change, and CI checks piggyback on your own
ghlogin. - It rewrites
~/.claude/settings.jsonand registers a login-time background service (launchd, a systemd user service, or the Windows Startup folder), which is a real intrusion to accept before adopting. - The behavioural surface is very large — office scenes, phone app layout, account switching, telemetry aggregation — so the codebase is sizeable to audit; the README is truncated here, so full configuration coverage is unverified.
- The UI ships in English and Vietnamese only.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| My Office This agent | 55 · Major gaps | — | ★ 311 | 17d ago | JavaScript | Claude Code |
| What's My Agent Doing (/myoffice Office Dashboard) | 72 · Some gaps | Agent plugin / skillFree | ★ 412 | 14d ago | JavaScript | Codex · Claude Code |
| MioIsland | 29 · Major gaps | Desktop appFree | ★ 548 | 1mo ago | Swift | Claude Code |
| Yardlet | 80 · Good | Desktop appFree | ★ 49 | today | Swift | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows the server binds to 127.0.0.1 by default, LAN mode requires a token/PIN, install backs up settings.json, and uninstall/undo modules exist. However, the product reads ~/.claude sessions and transcripts, installs hooks, and performs system actions such as cleanup and quitting apps, so its privilege scope is broad and confirmation for destructive system actions is not clearly evidenced. Dependencies are pinned but no audit step is shown; source attribution is only partial (marketplace owner is TODO). Therefore least_privilege, user_confirmation, external_effects, and source_attribution score low, while data_flow_transparency, sensitive_data_handling, and rollback score moderate.
README and package engines agree on Node >=20.9, CI covers multiple platforms, and doctor/logs provide failure information. But package.json version 0.6.0 conflicts with plugin/marketplace 0.1.0, and marketplace owner is TODO, reducing self-consistency. Dependencies are public npm packages with pinned versions, so availability is reasonable.
Clearly targets Claude Code users and documents macOS/Linux/Windows differences, --lan, --no-approve, and other boundaries; hook installation makes triggering fairly explicit. But this is not a skill/agent manifest, trigger precision depends on installation configuration, and environment fit still has OS limitations.
README is well structured, install notes are thorough, and the MIT license is complete. However, there is no CHANGELOG, version numbers are inconsistent, maintenance responsibility points only to the community/Discussions, and the marketplace owner is unfilled.
Provides 3D visualization, approvals, RAM/cleanup, and a tryable demo. But it requires global installation, a background service, hooks, and system permissions, so cost is high and marginal value for ordinary users is limited.
README makes many feature claims; some are corroborated by server/tests/CI, but 3D scenes and games cannot be verified from the sampled package. Version and owner information are inconsistent, and factual and fictional descriptions are mixed, so fact/inference separation is weak.
- The product reads Claude Code sessions and transcripts, installs hooks, and performs system actions such as cleanup and quitting apps; confirm this privilege scope is acceptable before installing.
- LAN mode expands exposure; although it requires a token/PIN, use it only on trusted networks.
- Evidence is insufficient to confirm whether destructive system actions such as cleanup and quitting apps have a second confirmation; validate in a test environment first.
- package.json version 0.6.0 conflicts with plugin/marketplace 0.1.0, and the marketplace owner remains TODO, so release metadata is incomplete.
- There is no CHANGELOG and no dependency audit step; publisher identity is unverified, so review changes and dependency security before upgrading.
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.