phuclh/claude-halloween/tree/main/plugins/halloween
이 mod 소개
🎃 Claude Code 할로윈
Claude Code 터미널을 위한 할로윈 테마입니다.
<p align="center"> <img src="assets/demo.svg" alt="할로윈 테마가 적용된 Claude Code: 대화 위로 박쥐가 날아가고, 프롬프트는 깜빡이는 호박등과 나뭇잎, 해골로 둘러싸여 있습니다" width="100%"> </p>- 프롬프트를 둘러싼 유령 들린 프레임. 박쥐, 나뭇잎, 달이 프롬프트 위 보라색 테두리에 걸립니다. 아래에는 이끼 덩굴이 지나가고, 그 위에 호박등이 무작위 무리로 자라 덩굴에 깜빡이는 빛을 비춥니다. 가끔 유령이 위쪽을 지나가며 유령 물질을 끌고 갑니다. 세션마다 무작위 레이아웃이 적용됩니다.
- 대화를 가로지르는 박쥐. 작은 무리가 채팅 위를 한 번 가로지릅니다. 한쪽에서 들어와 반대쪽으로 나가고, 완만한 호를 따라 오르내리며, 천천히 나는 박쥐와 빠르게 질주하는 박쥐가 섞여 있습니다.
- 으스스한 문구. 스피너에 Brewing…, Summoning…, Stirring the cauldron… 같은 문구가 표시되고, 완료된 턴에는 Haunted for 12s가 표시됩니다.
- 용기가 있다면 으스스한 소리도. 키를 누를 때마다 박쥐 같은 삑 소리가 나고, 가끔 번개처럼 쩍 소리가 납니다. Enter로 답을 보내면 악당의 mwah-ha-ha, 마녀의 웃음, 악마의 웃음, 울부짖는 유령, 파이프 오르간 또는 천둥소리가 재생됩니다. Enter 소리는 모두 한 번씩 재생된 뒤 반복되며, 같은 소리가 연속으로 나오지 않습니다. 켜기 전에는 소리가 꺼져 있습니다.
설치
Claude Code에서:
/plugin marketplace add phuclh/claude-halloween
/plugin install halloween@phuclh-plugins
또는 셸에서:
claude plugin marketplace add phuclh/claude-halloween
claude plugin install halloween@phuclh-plugins
그다음 새 세션을 시작합니다.
사용
/halloween으로 테마를 켜고 끕니다. 선택은 세션 사이에 유지됩니다./halloween sounds로 소리를 켜고 끕니다. 이 설정도 기억됩니다. 소리는 macOS에서만 재생됩니다. Claude Code는afplay로 재생하고 Linux나 Windows에서는 아무 소리도 내지 않습니다.- 90초 동안 입력도 Claude의 작업도 없으면 애니메이션이 일시 중지되고 CPU 사용을 멈춥니다. 입력하거나 Claude가 작업을 시작하면 즉시 깨어납니다.
요구 사항
- 전체 화면 모드는 프레임과 박쥐를 표시하는 데 필요합니다.
~/.claude/settings.json에"tui": "fullscreen"을 설정하거나/tui로 전환하세요. 다른 화면에서는 으스스한 문구와 힌트 줄의 작은 화환이 표시됩니다. - 최근 버전의 Claude Code. 테마는 릴리스 사이에 바뀔 수 있는 Claude Code early-access function-hook API를 사용합니다. Claude Code 2.1.287에서 빌드하고 테스트했습니다.
성능
애니메이션 중에는 화면을 초당 8번 다시 그리며, 110×40 터미널에서 CPU 코어 하나의 약 8–11%를 사용합니다. 일시 중지되면 아무것도 사용하지 않습니다.
소리를 켜면 키를 누를 때마다 짧은 afplay가 시작되며, 최대 70 ms에 한 번입니다. 키 입력당 CPU 시간이 약 0.02 s 늘어나고, 입력하는 동안에만 발생합니다.
개발
claude --plugin-dir ./plugins/halloween # 이 폴더에서 실행
claude plugin validate ./plugins/halloween # 매니페스트와 hooks 확인
claude plugin test ./plugins/halloween # 테스트 실행
위 데모는 플러그인의 프레임 및 비행 코드로 그립니다. 변경 후 다시 렌더링하려면:
npx -p typescript tsc -p scripts
node .demo-build/scripts/render-demo.js > assets/demo.svg
소리는 scripts/render-sounds.ts에서 오실레이터, 노이즈, 필터로 합성하고, 웃음소리는 작은 포먼트 신시사이저에서 만듭니다. 녹음이나 샘플은 사용하지 않습니다. plugins/halloween/sounds/에 다시 렌더링하려면:
npx -p typescript tsc -p scripts
node .demo-build/scripts/render-sounds.js
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add phuclh/claude-halloween claude plugin install halloween
원문 / README
🎃 Halloween for Claude Code
A Halloween theme for the Claude Code terminal.
<p align="center"> <img src="assets/demo.svg" alt="Claude Code with the Halloween theme: bats fly across the conversation above a prompt framed by flickering jack-o'-lanterns, leaves and skulls" width="100%"> </p>- A haunted frame around the prompt. Bats, leaves and a moon perch on a violet edge above the prompt. Below it runs a moss vine where jack-o'-lanterns grow in random clumps and flicker their glow onto the vine. A ghost drifts along the top every so often, trailing ectoplasm. Every session gets its own random layout.
- Bats across the conversation. A small flock flies whole journeys over your chat: in from one side and out the other, rising or falling along a gentle arc, some cruising and some darting.
- Spooky words. The spinner says things like Brewing…, Summoning… or Stirring the cauldron…, and finished turns read Haunted for 12s.
- Spooky sounds, if you dare. Each keystroke squeaks like a bat or, now and then, cracks like lightning. Enter answers with a villain's mwah-ha-ha, a witch's cackle, a demon's laugh, a wailing ghost, a pipe organ or a thunderclap. Every Enter sound plays once before any repeats, and the same one never plays twice in a row. Sounds are off until you turn them on.
Install
In Claude Code:
/plugin marketplace add phuclh/claude-halloween
/plugin install halloween@phuclh-plugins
Or from a shell:
claude plugin marketplace add phuclh/claude-halloween
claude plugin install halloween@phuclh-plugins
Then start a new session.
Use
/halloweenturns the theme off and on. Your choice is remembered across sessions./halloween soundsturns the sounds on and off, and is remembered too. Sounds play on macOS only: Claude Code plays them withafplay, and plays nothing on Linux or Windows.- After 90 seconds with no typing and no work from Claude, the animation pauses and stops using CPU. It wakes as soon as you type or Claude starts working.
Requirements
- Fullscreen mode for the frame and the bats: set
"tui": "fullscreen"in~/.claude/settings.json, or switch with/tui. On other screens you get the spooky words and a small garland on the hint line. - A recent Claude Code. The theme uses Claude Code's early-access function-hook API, which may change between releases. Built and tested on Claude Code 2.1.287.
Performance
While animating, the theme redraws the screen 8 times a second, which costs about 8–11% of one CPU core on a 110×40 terminal. Once paused, it costs nothing.
With sounds on, each keystroke starts a short afplay, at most one every 70 ms. That adds about 0.02 s of CPU per keystroke, and only while you type.
Develop
claude --plugin-dir ./plugins/halloween # run it from this folder
claude plugin validate ./plugins/halloween # check the manifest and hooks
claude plugin test ./plugins/halloween # run the tests
The demo above is drawn by the plugin's own frame and flight code. To render it again after a change:
npx -p typescript tsc -p scripts
node .demo-build/scripts/render-demo.js > assets/demo.svg
The sounds are synthesized from oscillators, noise and filters by scripts/render-sounds.ts; the laughs come from a small formant synthesizer. Nothing is recorded or sampled. To render them again into plugins/halloween/sounds/:
npx -p typescript tsc -p scripts
node .demo-build/scripts/render-sounds.js
