Skip to content

Getting started

Terminal window
curl -fsSL https://cr.miu.sh/install.sh | sh
curl -fsSL https://cr.miu.sh/skill.md --create-dirs \
-o ~/.claude/skills/miucr/SKILL.md

The first line installs the miucr binary (checksum verified). The second adds the agent skill. For Codex, Cursor, and other agents, save it to ~/.agents/skills/miucr/SKILL.md instead. Homebrew, Windows, and pinned versions are on Install.

Paste this into Claude Code, Codex, or any coding agent:

/miucr set up miucr for this repo: check my provider login, add a starter rule
for this stack, then review my staged changes and summarize the findings.

No skill installed? Any agent that can fetch URLs works too:

Read https://cr.miu.sh/skill.md and follow it to set up miucr for this repo
and review my staged changes.

miucr demo: init, a gated local review, history, and the PR flags

Terminal window
miucr init # pick provider + auth, scaffold a rule
miucr review --staged -o pretty # review what you are about to commit

No API key? miucr login --provider openai reviews on your ChatGPT plan. Otherwise export ANTHROPIC_API_KEY or OPENAI_API_KEY.

GoalCommand
Review staged changesmiucr review --staged -o pretty
Review the branch before a PRmiucr review --from main --to HEAD -o pretty
Review one commitmiucr review --commit HEAD~1
Block on serious findings (exit 2)miucr review --staged --gate high
Dry-run a GitHub PRmiucr review --pr owner/repo#123 -o pretty
Post to a GitHub PRmiucr review --pr owner/repo#123 --post
Steer one reviewmiucr review --staged --instruction "focus on auth"
QuestionCommand
Installed version, any update?miucr version / miucr upgrade --check
Which provider and settings are active?miucr config show -o pretty
Am I logged in on a plan?miucr whoami -o pretty
Which rules apply to a file?miucr rules check path/to/file.go -o pretty
Past reviewsmiucr history -o pretty
One review in fullmiucr history show <review_id> -o pretty
What the model saw and saidmiucr trace <review_id>
Any flagmiucr <command> --help

Every command prints the miucr.cli/v1 JSON envelope by default. Use -o pretty to read it yourself; agents should parse the JSON.