A low-poly 3D office that shows your AI coding agents' live status — idle agents sneak off to play Minecraft (no tokens used).
# Add to your Claude Code skills
git clone https://github.com/jefferysha0627/agent-office-3dGuides for using ai agents skills like agent-office-3d.
See how agent-office-3d compares with popular alternatives.
agent-office-3d is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by jefferysha0627. A low-poly 3D office that shows your AI coding agents' live status — idle agents sneak off to play Minecraft (no tokens used). It has 59 GitHub stars.
agent-office-3d's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/jefferysha0627/agent-office-3d" and add it to your Claude Code skills directory (see the Installation section above).
agent-office-3d is primarily written in JavaScript. It is open-source under jefferysha0627 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agent-office-3d against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
把你的 AI Coding Agent 變成一間 3D 辦公室裡的員工:誰在工作、誰閒著、誰卡在權限確認,一眼就看得到。閒著的員工會去倒咖啡、上跑步機、摸貓,或是偷玩 Minecraft。
Turn your AI coding agents into staff in a little 3D office. See at a glance who is working, who is idle and who is stuck on a permission prompt. Idle staff grab coffee, hit the treadmill, pet the cat, or sneak in a round of Minecraft.
English ・ Built with Claude Code ・ Made by SparCode studio

畫面都是示範模式(demo),員工、任務、專案和金額全部是虛構的。
下載這個 repo 後,在資料夾裡打開你的 AI Coding Agent(Claude Code、Codex、Cursor…),直接貼上這句話:
請讀這個 repo 的 AGENTS.md,幫我把 Agent Office 裝好並打開麥塊示範。
Agent 會照 AGENTS.md 先跑 npm run doctor 檢查環境,再幫你安裝、啟動示範,並詢問要不要接 Herdr、怎麼客製公司名稱和員工。安裝 Node.js、Java 這類系統軟體前,它會先問你;Minecraft EULA 一定要你自己輸入 yes,Agent 不會代為同意。Claude Code 使用者也可以直接輸入 /setup-office。
不用接自己的 Agent,兩個指令就能看到示範員工偷玩 Minecraft(需要 Node.js 20 以上、Java 21 以上):
npm ci
npm run demo:minecraft
第一次執行會先跑 minecraft:setup:檢查 Java、請你同意 Minecraft EULA、從 Mojang 官方下載伺服器並驗證。產生世界約 1~2 分鐘,機器人進世界後自動打開瀏覽器,幾秒內就會有員工開始玩。按 Ctrl+C 停止,世界會先存檔。
為什麼要你自己輸入 yes? Minecraft 伺服器軟體屬於 Mojang,執行前必須由使用者本人同意 Minecraft EULA。這個 repo 不能也不會替你同意,所以不附任何 Mojang 檔案,也不會跳過這一步;你不同意的話,就不會下載任何東西。
只想看辦公室(不需要 Java):npm start。
⭐ 覺得有趣的話,歡迎幫這個 repo 點個星星,讓更多人看到! ⭐ If you find this fun, a star on the repo would mean a lot!
| 布告欄 | 書架專案介面 |
|---|---|
![]() |
![]() |
支援平台:macOS、Linux。Windows 為實驗性支援:CI 會在 Windows 上跑安裝、語法檢查與示範模式測試,但作者沒有 Windows 實機驗證過,Minecraft 在 Windows 上也還沒實測。
git clone https://github.com/jefferysha0627/agent-office-3d.git agent-office-3d
cd agent-office-3d
npm ci
npm start
git clone https://github.com/jefferysha0627/agent-office-3d.git agent-office-3d
cd agent-office-3d
npm ci
npm start
啟動後會自動打開 http://127.0.0.1:4870/ 。預設是示範模式:不需要任何 Agent,員工狀態會自動輪播,讓你先看到效果。按 Ctrl+C 停止。
把 office.config.example.json 複製成 office.config.json 再修改(office.config.json 不進版控)。沒有 office.config.json 時會直接用範例設定。
cp office.config.example.json office.config.json # macOS/Linux
Copy-Item office.config.example.json office.config.json # Windows PowerShell
| 欄位 | 說明 |
|---|---|
port |
連接埠,預設 4870 |
openBrowser |
啟動後是否自動開瀏覽器 |
company.name |
公司名稱(標題列) |
company.currency |
布告欄的貨幣符號,例如 $、NT$ |
company.logo |
牆上招牌的 Logo(寬版圖,SVG/PNG/JPG),路徑相對於專案資料夾 |
company.mark |
小圖示(標題列、網頁圖示、制服徽章),建議正方形 |
owner.name、owner.title |
坐在主管桌的人(你)的名字與職稱。主管桌只是擺設,不接任何狀態 |
cat.name |
貓的名字 |
staff[] |
員工清單:id(Agent 名稱,要和狀態來源裡的名字一樣)、title(職稱)、color(制服滾邊顏色)。最多 8 位,依序坐前排再坐後排;剩下的座位給清單以外的 Agent |
source.type |
狀態來源:demo(假狀態輪播,預設)或 herdr |
source.herdr.bin |
Herdr 執行檔,預設找 PATH 上的 herdr;也可以寫完整路徑 |
source.herdr.args |
加在每個 herdr 指令前面的參數(一般不用設) |
data.board |
布告欄資料,預設 data/board.json(第一次啟動從 data/board.example.json 複製) |
data.projects |
書架的專案資料夾,預設 data/projects |
data.tasks |
任務清單資料夾,預設 data/tasks |
minecraft.enabled |
是否啟動 Minecraft,預設 false |
minecraft.java |
Java 執行檔,預設 java |
minecraft.memory |
Minecraft 伺服器記憶體上限,預設 2G |
minecraft.guests |
可以進遊戲看員工的真人玩家名稱(陣列),預設空的;也可以用環境變數 MC_GUESTS=name1,name2 |
布告欄與書架的資料格式見 docs/board-format.md。
Herdr 是給 Coding Agent 用的終端機多工工具。用 Herdr 開好你的 Agent 之後:
office.config.json 的 source.type 改成 "herdr"。staff[].id 改成你在 Herdr 裡的 Agent 名稱。npm start。辦公室只會呼叫 Herdr 的唯讀指令(herdr agent list、herdr agent read),程式裡有白名單擋住其他指令,不會送鍵、不會替你按確認。Herdr 在 Windows 上目前是 beta;Herdr 模式在 Windows 上未經實測。
想接其他工具?在 lib/sources.js 加一個 adapter,回傳同樣格式的員工清單(名稱、狀態、終端最後幾行)即可。
員工閒置時會進同一個 Minecraft 世界:挖礦、砍樹、蓋小屋。每位員工一個 Mineflayer 機器人,畫面用 prismarine-viewer 串到他桌上的螢幕。

npm run minecraft:setup
這個指令會依序:
yes 才會寫入 eula=true。輸入其他內容就取消,不會下載任何東西。127.0.0.1 的 server.properties(白名單只有辦公室的機器人)。完成後把 office.config.json 的 minecraft.enabled 改成 true,再 npm start。第一次產生世界約需 1~2 分鐘。只想先看示範的話,用 npm run demo:minecraft 就好(示範員工+Minecraft,不用改設定檔)。
有 Minecraft Java 版的話,可以自己進同一個世界,飛到員工旁邊看他們挖礦、砍樹、蓋房子。
把你的 Minecraft 玩家名稱(3~16 個英數字或底線,下面用 YourName 舉例)加進設定:office.config.json 的 "minecraft": { "guests": ["YourName"] },或是啟動時用環境變數:
MC_GUESTS=YourName npm run demo:minecraft # macOS/Linux
$env:MC_GUESTS="YourName"; npm run demo:minecraft # Windows PowerShell
終端機會印出連線方式。在同一台電腦打開 Minecraft Java 版,版本選 1.21.4,多人遊戲 → 直接連線 → localhost:25570。
進來後會自動變成觀察者模式:可以飛、穿牆,不會碰到世界。按數字鍵 1(或滑鼠中鍵打開觀察者選單)選員工,就能跳到他身上看。
想拍影片時,可以加上 DEMO_ALL_IDLE=1(只在示範模式有效),讓所有示範員工一直閒置、持續在 Minecraft 裡活動。
設定的名稱會跟機器人一起放進白名單,不在名單上的人連不進來。
提醒:這個伺服器是離線模式(機器人不需要正版帳號),而且只綁
127.0.0.1,只能在這台電腦上使用。不要改綁定位址或開放對外連線。
minecraft/,不進版控。npm start 的終端機輸入文字會轉給 Minecraft 主控台(例如 time set day、list)。玩 Minecraft 會耗 Token 嗎? 不會。Minecraft 裡的員工是照規則跑的 Mineflayer 機器人(找樹、挖礦、蓋東西),不會呼叫任何 AI 模型。只有你的 Agent 真的在工作時才會用到 Token,而且那跟這個辦公室無關。
辦公室會替我的 Agent 下指令嗎?
不會。辦公室只讀狀態和終端畫面;唯一的寫入是在布告欄勾選待辦(寫進 data/board.json)。
不用接自己的 Agent 也看得到嗎?
看得到。npm start 是示範辦公室,npm run demo:minecraft 是示範員工加上 Minecraft,都不需要任何 Agent。之後想接真的 Agent,再看下面的「Herdr 模式」。
為什麼我的員工都「不在線」?
Herdr 模式下,staff[].id 要和 herdr agent list 裡的名稱完全一樣。
127.0.0.1,並檢查 Host 標頭(防 DNS rebinding)。不要改成對外開放,也不要用反向代理或通道把它公開到網路上。127.0.0.1,並開啟白名單。npm run doctor # 唯讀環境檢查(結束碼 0 全部就緒、2 Minecraft 未就緒、1 辦公室不能跑;加 -- --json 輸出 JSON)
npm run check # 所有 JS 語法檢查+ JSON 格式檢查
npm run smoke # 示範模式冒煙測試(啟動伺服器、打 API、關閉)
網址參數(開發用):?fast(動作加速)、?idle=coffee(閒置員工都做某個動作,名稱見 public/behavior.js)、?cat=nap(貓的行程)。
server.js 本機伺服器(只綁 127.0.0.1)
lib/config.js 讀設定檔
lib/sources.js 狀態來源 adapter(demo、herdr)
lib/board-store.js 布告欄資料
lib/projects-store.js 書架專案資料庫(只讀)
public/ 前端(Three.js)
mc/ Minecraft 機器人與畫面串流
scripts/ doctor、minecraft:setup、demo:minecraft、語法檢查、冒煙測試
AGENTS.md 給 AI Agent 的安裝流程與硬性界線(CLAUDE.md、.claude/commands/setup-office.md 指向它)
data/ 範例資料(全部虛構)
本專案以 MIT License 授權,著作權人 Jeffery Sha。
| 套件 | 授權 | 用途 |
|---|---|---|
| three | MIT | 3D 辦公室 |
| mineflayer | MIT | Minecraft 機器人 |
| mineflayer-pathfinder | MIT | 機器人尋路 |
| prismarine-viewer | MIT | 機器人第一人稱畫面 |
| socket.io(透過 prismarine-viewer) | MIT | 畫面串流 |
其他間接相依套件以 MIT、BSD、ISC、Apache-2.0 為主,完整清單見 package-lock.json,各套件授權見 node_modules/<套件>/LICENSE。prismarine-viewer 套件內附的方塊材質屬於 Mojang,受 Minecraft 使用條款約束;本 repo 本身不包含任何 Mojang 檔案。
本專案與 Mojang、Microsoft 無關,也未獲其認可。Minecraft 是 Mojang Synergies AB 的商標。
Agent Office 3D renders your AI coding agents as staff in a small low-poly 3D office running on your own machine.
Clone the repo, open your AI coding agent (Claude Code, Codex, Cursor, …) in the folder and paste:
Read this repo's AGENTS.md and set up Agent Office for me, then open the Minecraft demo.
The agent follows AGENTS.md: it runs npm run doctor, installs and starts the demo, then asks whether to connect Herdr and how to customize the company name and staff. It asks before installing system software such as Node.js or Java, and it will never accept the Minecraft EULA for you: you type yes yourself. Claude Code users can also type /setup-office.