ClaudeModsClaude Code 模組目錄
☰
● 0 人在線上 · 瀏覽 0 次
+ 提交作品
← 返回作品集
GitHub 儲存庫 · 主題與外觀

clawd-park — Claude Code 插件/外掛 · ClaudeMods

回報這個作品這是你的作品?認領

在 ClaudeMods 了解這款 Claude Code 插件/外掛,查看原始來源與所需權限。 在 Claude Code 的旋轉指示器下顯示像素恐龍公園的模組:珊瑚色暴龍演出代理的工作,每次測試失敗都會讓隕石更接近。不呼叫模型,不消耗 token。

YYair@finebutwhy

1/

It's a Claude Code mod, free and open source: claude plugin marketplace add falkoro/clawd-park claude plugin install clawd-park@clawd-park Repo: falkoro/clawd-park on GitHub PRs welcome, new dinos especially 🦕

已翻譯

關於這個 mod

clawd-park 在 Claude Code 旋轉指示器下繪製一座 8 列的像素恐龍公園。珊瑚色暴龍會對應代理的活動:思考時漫步、讀取時吃草、編輯時跺腳、執行指令時咆哮、子代理啟動時下蛋。測試失敗會讓隕石更接近,連續三次失敗會觸發滅絕事件;地面會持續記錄自上次滅絕以來的回合數。

透過外掛市集安裝:

/plugin marketplace add falkoro/clawd-park
/plugin install clawd-park@clawd-park

它透過 tool.call 與 turn.start/turn.complete 掛鉤觀察每一步,透過 Spinner 渲染位置繪製到每 50 ms 重繪一次的 Raster,並僅將分數儲存在自己的 $.store 中。不呼叫模型,不消耗 token,任何內容都不會離開本機。指令:/park、/park off、/park on。採用 MIT 授權。

安裝

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

claude plugin marketplace add falkoro/clawd-park
claude plugin install clawd-park
原文 / README

clawd-park

A Claude Code mod that puts a pixel dinosaur park under the spinner. A coral T-rex acts out what the agent is doing, and every failing test run brings the meteor closer.

A real Claude Code turn: the T-rex under the spinner as Claude runs a failing test three times, the meteor comes in and lands, then Claude reads the code and fixes the bug

A real turn in Claude Code, also as an MP4: three failing test runs bring the meteor down, then Claude finds the bug and fixes it.

It makes no model calls and costs no tokens. Nothing leaves your machine.

Install

In Claude Code:

/plugin marketplace add falkoro/clawd-park
/plugin install clawd-park@clawd-park

The park opens with your next turn. To try a checkout without installing it: claude --plugin-dir plugins/clawd-park.

What happens in the park

Rex acts out each step of the agent's work, tagged with what it is: [reading cart.ts], [running npm test].

| The agent is | Rex | | --- | --- | | thinking | wanders about | | reading or searching | walks to a fern and grazes | | editing or writing | stomps on the spot | | running a command | roars | | on the web | wanders while a pterodactyl flies laps overhead | | starting a subagent | lays an egg; the hatchling trails Rex until its helper is done, then walks off |

The meteor

A test run is a Bash command such as npm test, pytest, go test ./... or npx vitest run.

  • A failing run (a non-zero exit, or output like 2 failed or FAIL) brings the meteor in. It's tagged [tests failed 1x], then [tests failed 2x], closer each time.
  • A passing run breaks it up in a shower of sparks: [tests pass].
  • Three failing runs in a row bring it down. Flash, dust, and Rex is a fossil: EXTINCTION: 3 failing test runs in a row.

A run that never happened, because you rejected it or a hook blocked it, doesn't count either way.

The ground keeps score: 41 turns since the last extinction. Every turn that ends without one adds to it, an extinction sets it back to 0, and the count is kept between sessions.

Configure

  • /park shows the count and how close the meteor is.
  • /park off closes the park for the rest of the session, and /park on opens it again.
  • To close it for good, turn off "Show the park" in /plugin.

The park draws only in the terminal. On the desktop the spinner is left alone.

How it works

  1. Watching. tool.call gives the mod each step and its result, turn.start and turn.complete the turn around them. A subagent's own turns don't end the park's.
  2. Drawing. The Spinner render site (ui.render on Spinner) keeps the normal spinner line and adds an 8-row Raster below it. A 50 ms timer draws each frame and repaints the Raster in place with $.ui.blit.
  3. Keeping score. The count is the one thing saved, in the mod's own $.store.

Develop

claude plugin validate plugins/clawd-park --strict
claude plugin test plugins/clawd-park

The tests cover the step and verdict rules, the meteor, the drawing, and the mod against a stubbed engine: the Raster, the frame timer, the count, extinctions, /park and the options. CI runs the same commands.

Ideas and pull requests are welcome: a new step for Rex to act out, a new dinosaur, a bug.

License

MIT. Rex wears the coral of Clawd, the Claude Code mascot.

Showcase: It's a Claude Code mod, free and open source:

claude plugin marketplace add falkoro/clawd-park claude plugin install clawd-park@clawd-park

Repo: falkoro/clawd-park on GitHub

PRs welcome, new dinos especially 🦕 clawd-park:開源 Claude Code mod,可裝恐龍主題外掛

查看原始來源 ↗

更多類似作品