✳ClaudeModsClaude Code 模組目錄
☰
● 0 人在線上 · 瀏覽 0 次
+ 提交作品
← 返回作品集
GitHub 儲存庫 · Git 與程式碼審查

nibbl

nibbl:Nibbl:一個住在你提示上方的迷你像素寵物,會啃食你的 bug

nnuromirzak@nuromirzak
已翻譯

關於這個 mod

Nibbl

一隻迷你像素寵物,住在你的 Claude Code 提示上方。在 10 個已回應的回合後,它會從蛋中孵化,並對你的工作階段中真正發生的事做出反應(發生錯誤時出現一隻 bug,測試通過時它吃掉 bug,提交時它扛著一個箱子,Claude 工作時它外出探險,你不在時它睡覺),並在數個月內成長。它從不花費模型 token,也從不打擾你。

安裝

/plugin marketplace add https://getnibbl.pages.dev/marketplace.json
/plugin install nibbl@nibbl

指令

| 指令 | 作用 | |---|---| | /nibbl | 名稱、序號、階級、等級、XP、愛心、最稀有特質、卡片和排行榜連結 | | /nibbl pet | 從提示中撫摸它 | | /nibbl name <text> | 重新命名你的寵物(每週一次,最多 16 個字元) | | /nibbl label <text> | 設定標籤(最多 24 個字元);單獨使用 /nibbl label 可清除 | | /nibbl odds | 孵化機率及你寵物每個特質的機率 | | /nibbl export | 顯示將你的寵物搬到另一台機器的密碼 | | /nibbl import <code> | 將寵物搬到本機 | | /nibbl hide | 隱藏或顯示該列;寵物繼續生活 |

輸入 /nibbl pet,或用 ctrl+x tab 聚焦該列並按 p(在全螢幕終端機中點擊 [♥] 也可以)。每小時五次撫摸可獲得 XP;之後它依然愛你,只是不再給 XP。

機率

每個蛋都在伺服器上擲出,每台機器一次,所有人的機率相同:普通 40%,罕見 30%,稀有 18%,史詩 9%,傳奇 3%。閃亮在任何階級之上額外有 4%(傳奇閃亮約為 830 分之一)。每隻寵物還會擲出一個標記,機率為 24 分之一(4.17%),所以每隻都有一個比 5% 更稀有的特質。/nibbl odds 會顯示你的。

離開你機器的內容

  • machineHash:你的硬體 id 加上 "nibbl" 的 SHA-256。id 本身從不離開。
  • 你寵物的序號和權杖。
  • 你用 /nibbl name 和 /nibbl label 設定的名稱和標籤。它們會顯示在你寵物的公開卡片和排行榜上。
  • 事件:僅類型(turn、check_pass、commit、error、pet、hide)及每個事件的時間。絕不包含你的提示、指令、檔案路徑或輸出。

所有內容都只傳送到 https://getnibbl.pages.dev,不會傳送到其他地方。匯出碼是密碼:任何擁有它的人都擁有你的寵物,所以它只繪製在你的螢幕上,絕不傳送給模型。

本機測試

用 pnpm -C apps/api dev 執行 API,並透過 NIBBL_API=http://localhost:8787 將模組指向它(或

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add nuromirzak/nibbl
claude plugin install nibbl
原文 / README

Nibbl

A tiny pixel pet that lives above your Claude Code prompt. It hatches from an egg after 10 answered turns, reacts to what really happens in your session (a bug appears on an error, it eats the bugs when your tests pass, it carries a box when you commit, it goes on an expedition while Claude works and sleeps when you are away) and grows over months. It never costs a model token and never interrupts you.

Install

/plugin marketplace add https://getnibbl.pages.dev/marketplace.json
/plugin install nibbl@nibbl

Commands

| Command | What it does | |---|---| | /nibbl | Name, serial, tier, level, XP, hearts, rarest trait, card and leaderboard links | | /nibbl pet | Pets it from the prompt | | /nibbl name <text> | Rename your pet (once a week, up to 16 characters) | | /nibbl label <text> | Set a label (up to 24 characters); /nibbl label alone clears it | | /nibbl odds | Hatch odds and the odds of each of your pet's traits | | /nibbl export | Shows the secret code that moves your pet to another machine | | /nibbl import <code> | Moves a pet to this machine | | /nibbl hide | Hides or shows the band; the pet keeps living |

Type /nibbl pet, or focus the band with ctrl+x tab and press p (a click on [♥] works in the fullscreen terminal). Five pets an hour give XP; after that it still loves you, it just gives no XP.

Odds

Every egg is rolled on the server, once per machine, with the same odds for everyone: common 40%, uncommon 30%, rare 18%, epic 9%, legendary 3%. Shiny is 4% on top of any tier (a legendary shiny is about 1 in 830). Every pet also rolls a mark with odds of 1 in 24 (4.17%), so each one has a trait rarer than 5%. /nibbl odds shows yours.

What leaves your machine

  • machineHash: the SHA-256 of your hardware id plus "nibbl". The id itself never leaves.
  • Your pet's serial and token.
  • The name and label you set with /nibbl name and /nibbl label. They show on your pet's public card and the leaderboard.
  • Events: only the type (turn, check_pass, commit, error, pet, hide) and the time of each. Never your prompts, commands, file paths or outputs.

All of it goes to https://getnibbl.pages.dev and nowhere else. The export code is a secret: anyone who has it owns your pet, so it is drawn on your screen only and never sent to the model.

Local testing

Run the API with pnpm -C apps/api dev and point the mod at it with NIBBL_API=http://localhost:8787 (or the Nibbl server option in /config).

查看原始來源 ↗

更多類似作品