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

outlaw

Claude Code mod:提示行上方右侧的一色 Atari Outlaw 对决。你的枪手会在值得庆祝的时刻开枪,工具失败时虫子会还击。它属于 claude-plugins 中的 Claude Code Arcade。

mutlumehmet@mutlumehmet

mutlumehmet/claude-plugins/tree/main/plugins/outlaw

原帖图片1
已翻译

关于这个 mod

outlaw

Claude Code mod:提示行上方右侧的一色 Atari Outlaw 对决。你的枪手会在值得庆祝的时刻开枪,工具失败时虫子会还击。它属于 claude-plugins 中的 Claude Code Arcade。

它做什么

  • 中等时刻让枪手开一枪,重大时刻开三枪;工具失败时由虫子开一枪。
  • 命中瞄准眼睛高度并清掉仙人掌;未命中从腰间射击,在仙人掌上打出缺口,仙人掌会在对决之间长回来。
  • 对决之间两边踱步、调整重心、压帽檐;风滚草经过,秃鹫盘旋。Claude 思考时,他们会把手放在枪上。
  • 对决下方显示 YOU 7 : 3 BUGS ▲ 4 ★ 6(分数、连续命中、本局最佳连续命中),并在会话之间保留。
  • /outlaw 显示分数和规则;/outlaw draw 是练习对决;/outlaw hide 收起,/outlaw show 恢复。

Moments

每个 Arcade 游戏会自行识别值得庆祝的时刻,因此可单独安装,不需要依赖。无论是否写代码,会话都有这些时刻。

| 大小 | 时刻 | |---|---| | Small | 回合完成、文件保存、一个回合中的每第 10 次工具调用 | | Medium | 提交、推送、打开拉取请求、测试通过、运行任意 skill、子代理完成、计划获批、会发送或创建内容的 MCP 工具、写完长文档、消息中的赞美 | | Big | 合并、发布(gh release create、npm publish)、生产部署(vercel --prod、netlify deploy --prod、fly deploy 等)、失败后测试恢复通过、交付物完成(PDF、DOCX、XLSX、PPTX、图片)、页面发布、完成三个或更多项目的任务清单、马拉松回合(10 分钟、30 个工具、无错误)、三个子代理在一个回合完成、连续 3、7、30 或 100 天、 第 100、1,000 或 10,000 次工具调用 |

nothing to commit 的提交或 Everything up-to-date 的推送不计分。子代理内部的工具调用不计入,只计完成。

Settings

设置都可选,预设为空。可在 /plugin 的插件设置或 settings.json 的 pluginConfigs 中设置。big_skills 指定重大时刻的 skill;quiet_skills 指定静默 skill;big_commands 和 medium_commands 是命令正则;praise_words 增加赞美词。

What it reads and does

  • Reads:工具名称及失败状态、shell 命令和是否没有变化、文件名和行数、skill 名称、消息文字(只用于识别赞美)、子代理开始与完成。
  • Keeps:自己的分数和状态保存在本机 Claude Code 插件储存库。
  • Draws:提示行上方右侧的方块和偶尔出现的提示。
  • Hooks:skill.prompt 只记录 skill;command.run 只回答自己的 /outlaw 命令。
  • Privacy:见 PRIVACY.md。
  • Never:不改变、阻止或延迟工具调用或消息;不进行网络调用或遥测;不读取 Claude 写入的文件内容,只统计行数。

Install

需要 Claude Code 2.1.287 或更高版本,已在 2.1.289 测试。

/plugin marketplace add mutlumehmet/claude-plugins
/plugin install outlaw@mehmetmutlu

mod 在 Claude Code 权限下运行。它会在终端和 Desktop app 的 Code 标签中绘制;在 VS Code chat panel 和 claude -p 中运行但不绘制。多个 Arcade 游戏可同时打开,/<command> hide 收起,/<command> show 恢复。

Known gaps

  • 对决使用方块字符;行距较高的终端会在行之间显示细缝。

About

Mehmet Mutlu: work that's shipped, at mehmetmutlu.dev

Made by Mehmet Mutlu,属于 claude-plugins。更多作品见 mehmetmutlu.dev。

License

MIT

安装

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

claude plugin marketplace add mutlumehmet/claude-plugins
claude plugin install outlaw
原文 / README

outlaw

A Claude Code mod: a one colour Atari Outlaw duel at the right end of the line above the prompt. Your gunslinger fires at the moments worth celebrating, the bug fires back when a tool fails. Part of the Claude Code Arcade in claude-plugins.

What it does

  • Medium moments are one shot for your gunslinger, big moments three. A failed tool is a shot for the bug.
  • A hit is aimed at eye level and clears the cactus; a miss is from the hip and takes a chunk out of the cactus, which grows back between duels.
  • Between duels the two pace, shift their weight and tip their hats, a tumbleweed rolls by and a vulture circles; while Claude thinks they stand with a hand on the gun.
  • Under the duel: YOU 7 : 3 BUGS ▲ 4 ★ 6 (score, your run of hits, your best run). Kept between sessions.
  • /outlaw shows the score and rules; /outlaw draw is a practice duel; /outlaw hide puts it away and /outlaw show brings it back.

Moments

Every Arcade game spots the moments worth celebrating on its own, so each one installs alone with no dependency. Coding or not, a session has them.

| Size | Moments | |---|---| | Small | A finished turn, a file saved, every 10th tool call in a turn | | Medium | A commit, a push, a pull request opened, tests passing, any skill run, a subagent finished, a plan approved, an MCP tool that sends, creates, posts or publishes, a long document written, praise in your message | | Big | A merge, a release (gh release create, npm publish), a production deploy (vercel --prod, netlify deploy --prod, fly deploy and others), tests back to green after failing, a deliverable made (PDF, DOCX, XLSX, PPTX, images), a published page, a finished task list of three or more, a marathon turn (10 minutes, 30 tools, no errors), three subagents done in one turn, a 3, 7, 30 or 100 day streak, the 100th, 1,000th or 10,000th tool call |

A commit that says "nothing to commit" or a push that says "Everything up-to-date" counts for nothing. Tool calls inside subagents do not count; their finishing does.

Settings

All optional; every one is empty by default. Set them in /plugin (the plugin's settings) or in settings.json under pluginConfigs.

| Setting | What it is for | Example | |---|---|---| | big_skills | Skills whose run is a big moment (every other skill is medium) | release-notes, publish-report | | quiet_skills | Skills that celebrate nothing | commit | | big_commands | A regular expression of shell commands whose success is big | make ship | | medium_commands | A regular expression of shell commands whose success is medium | terraform apply | | praise_words | Extra words that count as praise, on top of the built-in list (thanks, great, perfect and a few in other languages) | nice one, cheers |

What it reads and does

  • Reads: the name of each tool Claude runs and whether it failed; for shell commands, the command line and whether its output says nothing changed; for file writes, the file name and its line count; skill names; the words of your message (only to spot praise); subagent start and finish.
  • Keeps: its own score and state in Claude Code's plugin store on your machine.
  • Draws: one block at the right end of the line above the prompt, and an occasional notice.
  • Hooks: skill.prompt only notes which skill ran, so a finished skill can count as a moment; it passes the skill's prompt on unchanged. command.run answers its own /outlaw command and no other.
  • Privacy: see PRIVACY.md.
  • Never: changes, blocks or delays a tool call or a message; sends anything anywhere (no network calls, no telemetry); reads file contents beyond counting lines of a file Claude writes.

Install

Needs Claude Code 2.1.287 or later (mods). Tested on 2.1.289.

/plugin marketplace add mutlumehmet/claude-plugins
/plugin install outlaw@mehmetmutlu

A mod runs inside Claude Code with your permissions. Read the code before you install any mod.

It draws in a terminal (including an editor's integrated terminal) and in the Code tab of the Desktop app; in the VS Code chat panel and claude -p it runs but draws nothing. Several Arcade games can be open at once, but the line above the prompt fills up: /<command> hide puts one away, /<command> show brings it back.

Known gaps

  • The duel is drawn with block characters; a terminal with tall line spacing shows thin gaps between rows.

About

Mehmet Mutlu: work that's shipped, at mehmetmutlu.dev

Made by Mehmet Mutlu, part of claude-plugins. More of his work at mehmetmutlu.dev.

License

MIT

更多类似作品