ClaudeMods
☰
JA
● 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 の一部です。

What it does

  • Medium moments は 1 発、big moments は 3 発。ツール失敗はバグの 1 発です。
  • 命中は目の高さを狙ってサボテンを消し、外れは腰だめでサボテンを削ります。サボテンは決闘の間に戻ります。
  • 決闘の合間には歩き、重心を移し、帽子を傾けます。タンブルウィードが通り、ハゲワシが旋回します。Claude が考えている間は銃に手を置きます。
  • 決闘の下に YOU 7 : 3 BUGS ▲ 4 ★ 6(スコア、連続命中、最高連続命中)を表示し、セッションをまたいで保持します。
  • /outlaw はスコアとルール、/outlaw draw は練習、/outlaw hide は隠し、/outlaw show は戻します。

Moments

各 Arcade ゲームが瞬間を自分で見つけるため、依存なしで単独インストールできます。コーディング中かどうかに関係なく、セッションには瞬間があります。

| Size | Moments | |---|---| | Small | ターン完了、ファイル保存、1 ターン内の 10 回ごとのツール呼び出し | | Medium | コミット、プッシュ、プルリクエスト、テスト成功、skill 実行、サブエージェント完了、プラン承認、送信・作成・投稿・公開を行う MCP ツール、長い文書、メッセージ内の称賛 | | Big | マージ、リリース(gh release create、npm publish)、本番デプロイ(vercel --prod、netlify deploy --prod、fly deploy など)、失敗後のテスト回復、成果物(PDF、DOCX、XLSX、PPTX、画像)、ページ公開、三つ以上のタスク完了、マラソンターン(10 分、30 ツール、エラーなし)、1 ターンで 3 サブエージェント完了、3、7、30、100 日連続、100、1,000、10,000 回目のツール呼び出し |

nothing to commit のコミットや Everything up-to-date のプッシュは数えません。サブエージェント内の呼び出しは数えず、完了だけを数えます。

Settings

設定はすべて任意で既定値は空です。/plugin または settings.json の pluginConfigs に設定します。big_skills、quiet_skills、big_commands、medium_commands、praise_words で判定を調整できます。

What it reads and does

  • Reads:ツール名と失敗、shell コマンド、変更なしの出力、書き込んだファイル名と行数、skill 名、称賛検出用のメッセージ、サブエージェントの開始と終了。
  • Keeps:スコアと状態をローカルの Claude Code plugin store に保存します。
  • Draws:プロンプト上部右端のブロックと通知を描画します。
  • Hooks:skill.prompt は実行された skill だけを記録し、command.run は /outlaw にだけ応答します。
  • Privacy:PRIVACY.md を参照。
  • Never:呼び出しやメッセージを変更・停止・遅延せず、ネットワークやテレメトリも使いません。書き込まれたファイルは行数以外を読みません。

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 では動きますが描画しません。複数のゲームを開けますが、/<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

関連作品