Download & install

The same reviewed recipes are reachable from the web, your terminal, or any MCP-compatible agent host. Pick the surface that fits your workflow.

Fastest path: one command detects your agent harness — Claude Code, Codex CLI, or OpenCode — and registers the MCP server and agent skill.

npx @codewright/install

Web

Search and browse recipes straight from the site — no install required.

open "https://codewright.tools/search"

Quick start

  1. Open the search page and describe the task you're stuck on.
  2. Pick a result and review the risk level, undo path, and steps.
Web docs

Companion CLI

Run recipes from your terminal with preview, confirm, and verify built in.

npx @codewright/cli search "undo last commit"

Quick start

  1. Run the command above to search for a task.
  2. codewright show <id> to preview the full recipe.
  3. codewright run <id> to execute it with confirm + undo.
Companion CLI docs

MCP client

Add Codewright's tools to any MCP-compatible agent host.

{"mcpServers":{"codewright":{"command":"npx","args":["-y","@codewright/mcp"]}}}

Quick start

  1. Paste the config above into your MCP host's settings.
  2. Restart the host so it picks up the codewright server.
  3. Ask your agent to search or run a recipe by task.
MCP client docs

Agent skill

Give a coding agent the search → confirm → verify workflow directly.

pnpm --filter @codewright/agent-skill recipe search "undo last commit"

Quick start

  1. Run the command above from your agent's shell tool.
  2. Confirm the risk level before the agent executes anything.
Agent skill docs

Claude Code plugin

Install the MCP server and agent skill together, entirely from inside Claude Code — no terminal needed.

/plugin marketplace add highnet/codewright-plugin
/plugin install codewright@codewright

Quick start

  1. Paste both lines above into a Claude Code session.
  2. Ask Claude to search or run a recipe by task.
Claude Code plugin docs