ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 choaticpixels

Haunted Repo

一个万圣节主题的 Claude Code 模组,会把被删除的文件变成萦绕提示符的幽灵,直到文件恢复前一直低语丢失代码的片段,并提供降灵会、驱魔和隐藏秘密。

choaticpixels@choaticpixels

choaticpixels/HauntedClaudeMod/tree/main/plugins/haunted-repo

原帖图片1
已翻译

关于这个 mod

Claude 删除的每个文件都会作为幽灵回来。它飘在提示符上方,低语丢失代码中的真实行;每低语一次就会逐渐淡去,直到你恢复文件、让它获得自由。删除文件夹或 node_modules 会召来一个 LEGION 幽灵("for we are many"),而删掉 10+ 行的编辑会留下丢失代码的幽灵残片。幽灵会跨会话跟随你。命令:/haunt-demo(召唤 3 个演示幽灵)、/graveyard(带墓志铭的 ASCII 墓碑)、/seance [ghost] [question](幽灵以自己的角色回答,并使用 Haiku)、/exorcise [name|all](驱逐幽灵;有些幽灵会拒绝,并把自己绑定到你的仓库)。许多彩蛋藏在词语、时间(3 AM、午夜、13 号星期五、10 月 31 日)以及强制推送或硬重置等操作中。通过 /plugin marketplace add choaticpixels/HauntedClaudeMod 安装,再执行 /plugin install haunted-repo@claude-mods。许可证为 MIT。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add choaticpixels/HauntedClaudeMod
claude plugin install haunted-repo
原文 / README

👻 Haunted Repo

A Claude Code mod, just in time for Halloween.

Every file Claude deletes comes back as a ghost. It drifts above your prompt and whispers real lines of its lost code, fading a little with every whisper, until you restore the file and set it free.

 ·    👻           👥                 ⛓          ⚰ 3 · witching hour
  “// TODO: write unit tests (never happened)  …from beyond” — sacrifice.js

Haunted Repo demo

→ Quick Start

Install

/plugin marketplace add choaticpixels/HauntedClaudeMod
/plugin install haunted-repo@claude-mods

What haunts you

| Event | What happens | | --- | --- | | rm, git rm, del, Remove-Item, emptying a file | 👻 The file's ghost rises, carrying its code | | Deleting a folder, a glob or node_modules | 👥 LEGION rises: "for we are many" | | An Edit that cuts 10+ lines | ∿ A wisp of the lost code lingers | | Restoring the file | ✨ The ghost is laid to rest | | A new session | Ghosts follow you there |

Commands

  • /haunt-demo: summon three demo ghosts and see the haunting right away (no files are touched)
  • /graveyard: a pane of ASCII tombstones with dates and epitaphs
  • /seance [ghost] [question]: the ghost answers in character, quoting its own code (uses Haiku)
  • /exorcise [name|all]: banish a ghost. Some refuse, and bind themselves to your repo ⛓

Easter eggs

There are a lot of them. Some hints:

  • Some words are worth typing alone: a scare, a sneeze of respect, a doorstep question.
  • Who are you gonna call?
  • Never say her name three times.
  • Force-pushing is how poltergeists are born.
  • Keep an eye on your status line every so often. 🐈‍⬛
  • The dead are louder at certain hours, and on one particular night.
  • Old-school gamers know a code that lets the dead speak.
<details><summary>Spoilers</summary>

boo · who you gonna call · bloody mary ×3 · trick or treat · spooky · f · up up down down left right left right b a (Ghost Mode) · git push --force · git commit -m "fix…" · git reset --hard · every 13th tool call · 13 ghosts · deleting a file named ghost · 3 AM · midnight · October 31 · Friday the 13th

</details>

License

MIT

更多类似作品