ClaudeMods
☰
ZH-CN
● 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.

更多类似作品