ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
Reddit 貼文 · 發布者 caloripher

我做了一個住在 Claude Code 提示列上方的七款遊戲街機,還有六個長時間工作用的小工具

Reddit 使用者 caloripher 分享了一套 Claude Code mod:在提示列上方繪製七款小遊戲(吃角子老虎、Tamagotchi、俄羅斯方塊、章魚破壞城市、Duck Hunt 等),會依回合完成、工具失敗、工具執行等事件觸發,並用 /arcade 指令切換或固定遊戲。另外附帶六個長時間工作用的小工具,例如脈絡快滿警告、破折號守門器、避免兩個工作階段覆寫同一檔案,以及要求更簡短或更白話回答的按鈕。作者表示全部免費開源、資料不離開本機,安裝指令放在第一則留言。

已翻譯

關於這個 mod

這則 Reddit 貼文介紹一套 Claude Code 外掛,利用可繪製終端機介面的 mod,在提示列上方即時顯示七款小遊戲。遊戲由 Claude Code 的實際工作事件驅動:完成一個回合就拉動吃角子老虎的拉桿、工具呼叫失敗時進行雅達利風格對決、閒置太久時 Tamagotchi 會餓、每次工具執行都掉下一塊俄羅斯方塊、編輯檔案時章魚會破壞城市,Duck Hunt 則在順利時擊落鴨子。非程式事件(例如寄信或完成待辦清單)也會計入。每個新終端機會隨機分配一款遊戲,可用 /arcade octopus 固定,或用 /arcade rotate 輪換。同一組工具還有六個長時間工作用的小工具:脈絡快滿時的警告、阻止破折號進入文件的守門器、避免兩個工作階段同時覆寫同一檔案的防護,以及要求更短或更白話回答的按鈕。作者強調免費開源、資料不離開本機,並表示安裝指令位於第一則留言。

安裝

安裝方式請查看原始來源。

原文 / README

I spend most of my day in Claude Code, and at some point I wanted the waiting to feel a bit more alive. When mods came out (plugins that can draw in the terminal), I started with a tiny dragon above the prompt that breathes fire when I commit. Then it got out of hand. There are seven little games now, and my actual work plays them. A finished turn pulls a slot machine lever. A failed tool lets the bug win an Atari style duel. A Tamagotchi gets hungry if I don't do anything for a while. Every tool Claude runs drops a Tetris piece. An octopus wrecks a city while Claude edits files, and in Duck Hunt the good moments shoot the ducks down. It counts non code stuff too, like sending an email or finishing a task list, which I liked because half my sessions aren't coding at all. Each new terminal gets one game at random. I mostly keep the octopus pinned (/arcade octopus), but /arcade rotate cycles them if you can't decide. Along the way I also made six small tools for my own long sessions: a warning before the context fills up, a guard that stops em dashes sneaking into my docs, one that stops two sessions overwriting the same file, and a couple of buttons to ask for a shorter or plainer answer. It's all free and open source, nothing leaves your machine. Built the whole thing with Claude Code. Install commands are in the first comment. Curious what you'd make with mods. submitted by /u/caloripher [link] [comments]

更多類似作品