sidpremkumar

Claw Machine — Development skill for Claude Code

Development community

Picks Haiku, Sonnet or Opus for every Claude Code prompt and subagent, and learns from your corrections.

How to install Claw Machine

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sidpremkumar/claw-machine and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claw Machine does

Picks Haiku, Sonnet or Opus for every Claude Code prompt and subagent, and learns from your corrections.

Alternatives in Development

  • Claw Code Agent — Claw Code No Rust No TypeScript Only Python 543 ★
  • Claude Fable 5 Prompt Strategies — Use when composing prompts targeting Claude Opus 5 (Claude 디폴트), Fable 5, Opus 4.8, or Sonnet 5 — 최신 Claude 프롬 176 ★
  • Obsidian Claw — Obsidian Claw Skill for Claude and Openclaw 172 ★

README

claw-machine mascot: a cute fox-cat in a headset and hoodie at a claw machine, the claw hovering over a small, a medium and a big robot

claw-machine

Drop a prompt in, the claw picks the model.

**Stop running Opus for everything.** claw-machine is a Claude Code mod that picks Haiku, Sonnet or Opus, and an effort level, for every prompt and every subagent. It sends quick questions to Haiku, everyday edits to Sonnet, and hard, risky or architectural work to Opus. When it gets one wrong, you tell it in two keystrokes (`!up`) and it learns.

It runs inside Claude Code on your existing login: no proxy, no API key, no server. Everything it learns is a plain file on your machine that you can read and edit.

![How claw-machine picks a model for each prompt](docs/how-it-works.png)

The diagram's source is [`docs/how-it-works.excalidraw`](docs/how-it-works.excalidraw). Open it at [excalidraw.com](https://excalidraw.com) to edit it.

Install

You need Claude Code 2.1.332 or later (the version it is tested on). At the prompt of a terminal session:

/plugin install claw-machine --marketplace sidpremkumar/claw-machine

Answer `y` to add the marketplace, then pick a scope (user scope routes every session). The mod is active right away.

From a shell:

claude plugin install claw-machine --marketplace sidpremkumar/claw-machine

In the Claude desktop app, where `/plugin` doesn't run: click **+** next to the prompt box, then **Plugins** → **Add marketplace** with `sidpremkumar/claw-machine`, then **Add plugin**.

To turn it off for one session, type `/router off`. To turn it off everywhere, set `ROUTER=off` in your environment.

The tiers

Tier Model Effort For
T0 Haiku low questions, lookups, explanations, one-line changes
T1 Sonnet medium everyday edits: fix, add, rena