ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 theonly1me

night-feast

Night Feast 是一款 Claude Code 外掛遊戲:每當 Claude 完成一次工具呼叫,吸血鬼就會進食,而月亮會隨著上下文視窗的使用量移動。

theonly1me@theonly1me

theonly1me/claude-code-mods/tree/main/plugins/night-feast

原貼文圖片1
已翻譯

關於這個 mod

Night Feast

一隻吸血鬼在你的 transcript 旁邊追捕小村莊,而夜空就是你的上下文視窗。

Night Feast 預覽

claude plugin marketplace add theonly1me/claude-code-mods
claude plugin install night-feast@claude-code-mods

只需註冊一次市集。安裝後,在已開啟的工作階段中執行 /reload-plugins。需要 Claude Code 2.1.289 或更新版本;不需要建置步驟或執行階段相依套件。

使用方式

遊戲在開啟前會保持隱藏。

  • /feast 顯示夜景。再次執行即可隱藏。
  • /feast on 和 /feast off 可直接設定開關。
  • /feast stats 會列出夜景、上下文填充量、血量、你的進食次數和大蒜命中次數,同時維持面板目前的狀態。

開啟夜景後,它會在每個新工作階段中持續顯示,直到你將它關閉。一次只會顯示一個遊戲 mod:如果你開啟另一個遊戲(例如 /dojo 或 /farm),夜景會關閉,另一個遊戲會在下一個工作階段中重新出現。

在全螢幕模式(CLAUDE_CODE_NO_FLICKER=1)下,如果終端機寬度至少為 110 欄,夜景會停靠在 transcript 旁的欄位中,場景下方還會顯示吸血鬼行動的記錄。否則,它會顯示在提示列上方的面板中。工作階段開始時自動開啟的面板需要寬度為 144 欄的終端機;/feast 可在任何寬度下顯示面板。使用關閉標記關閉面板也會關閉夜景。桌面應用程式會顯示一行摘要。

不需要進行任何操作。遊戲會自行執行。

遊戲方式

你的工作會推動分數變化:

  • 上下文逐漸填滿時,月亮會橫越夜空。達到 80% 時,地平線開始變暖;達到 90% 時,黎明將近。一則提示訊息會提醒你在太陽升起前執行 /compact。
  • Claude 完成的每次工具呼叫都是一頓飯:吸血鬼會變成蝙蝠,俯衝撲向村民,並填滿血瓶。村民會頭暈目眩地走開。
  • 失敗或遭拒絕的工具呼叫就是大蒜。吸血鬼會退縮並失去血量。
  • 你送出的每則提示都會讓一名新村民來到街上。
  • Claude 完成一輪時,吸血鬼會在城堡前展開斗篷,蝙蝠在周圍盤旋。
  • 壓縮會結束這一夜。天空重設為黃昏,新的夜晚隨之開始。

兩頓飯之間,村莊從不靜止。吸血鬼沿著小路悄悄走下去,棲息在城堡塔樓上觀察街道,低低掠過屋頂,躲進陰影裡只露出雙眼,還會埋伏等待一名提燈人跑向最近的門。雲朵飄過月亮,枯樹上的貓頭鷹轉動腦袋,蝙蝠繞著月亮盤旋,黑貓在屋頂上巡遊。這些環境動作只是展示效果:血量、進食、大蒜命中和夜晚,只有真實工作與上下文視窗才會改變。

設定、隱私、更新和移除方式請參閱 市集 README。

安裝

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

claude plugin marketplace add theonly1me/claude-code-mods
claude plugin install night-feast
原文 / README

Night Feast

A vampire hunts a small village beside your transcript, and the night sky is your context window.

Night Feast preview

claude plugin marketplace add theonly1me/claude-code-mods
claude plugin install night-feast@claude-code-mods

Register the marketplace once. Run /reload-plugins in an open session after installing. Requires Claude Code 2.1.289 or later; no build step or runtime dependencies.

How to use

The game is hidden until you turn it on.

  • /feast shows the night. Run it again to hide it.
  • /feast on and /feast off set it directly.
  • /feast stats prints the night, the context fill, the blood level, your feeds, and garlic hits, and leaves the pane as it is.

When you turn the night on, it comes back in each new session until you turn it off. Only one game mod shows at a time: if you turn on another game (for example /dojo or /farm), the night closes, and the other game is the one that comes back next session.

In fullscreen mode (CLAUDE_CODE_NO_FLICKER=1) on a terminal 110 columns or wider, the night docks in a column beside the transcript, with a log of what the vampire did under the scene. Otherwise it sits in a pane above the prompt. A pane that opens by itself at session start needs a wide terminal (144 columns); /feast shows it at any width. Closing the pane with its close mark also turns the night off. The desktop app shows a one-line summary.

There is nothing to control. The game plays by itself.

How it plays

Your work drives the score:

  • The moon moves across the sky as the context fills. At 80% the horizon starts to warm, and at 90% dawn is near. A toast tells you to run /compact before the sun comes up.
  • Each tool call Claude finishes is a meal: the vampire turns into a bat, swoops down on a villager, and fills its blood vial. The villager wanders off dizzy.
  • A failed or denied tool call is garlic. The vampire recoils and loses blood.
  • Each prompt you send brings a new villager into the street.
  • When Claude finishes a turn, the vampire spreads its cape in front of the castle while bats circle.
  • A compaction ends the night. The sky resets to dusk and a new night begins.

Between meals the village never stands still. The vampire stalks down the lane, roosts on the castle tower to watch the street, swoops low over the rooftops, hides in the shadows with only its eyes showing, and lies in wait for a lantern bearer who runs for the nearest door. Clouds drift across the moon, an owl on a dead tree turns its head, bats circle the moon, and a black cat prowls the rooftops. This ambient action is only for show: blood, feeds, garlic, and nights change only from real work and the context window.

See the marketplace README for configuration, privacy, updates, and removal.

更多類似作品