Skip to content
Code Generation
Skill

/ripwire-mcp

Wire ripwire into an agent as an MCP server — `ripwire wrap AGENT` (Claude Code, Cursor, Codex, Gemini…) — and choose the server verb mid-task. Also tool HEALTH: a symbol you expected is missing from the ranked output, the index feels stale after a rebase, 'is my ripwire setup

From plugin
ripwire
2.6k19 skills5 hooks1 MCP

Claude Code

$ npx -y skills add redhat-et/ripwire --skill ripwire-mcp --agent claude-code

SKILL.md

ripwire-mcp.SKILL.md
name: ripwire-mcp
description: >
  Wire ripwire into an agent as an MCP server — `ripwire wrap AGENT` (Claude Code, Cursor, Codex,
  Gemini…) — and choose the server verb mid-task. Also tool HEALTH: a symbol you expected is missing
  from the ranked output, the index feels stale after a rebase, 'is my ripwire setup broken?'
allowed-tools: Bash, Read

ripwire as an MCP server

> Routing: auditing somebody else's `.mcp.json` for safety → **ripwire-security-scan** · unsure → > **ripwire-router**.

The one call — `ripwire wrap <agent>` prints the recipe

ripwire wrap claude      # → claude mcp add ripwire -- ripwire --mcp --mcp-tools=no-edit
ripwire wrap cursor      # → JSON mcpServers stanza for .cursor/mcp.json (also: windsurf, gemini)
ripwire wrap codex       # → TOML stanza for ~/.codex/config.toml
ripwire wrap --all       # → auto-detect installed agents, emit each one's config in one run

`wrap` never edits config itself — it prints; you review and run. It first security-scans `./skills` and `.agents/skills`: a CRITICAL finding blocks the recipe (exit 1) unless `--force`. Bare `ripwire wrap` lists the supported agents (opencode, aider and more).

The server exposes **33 MCP verbs**: 17 read verbs, 13 flagship-reflex verbs and 3 edit verbs — `ripwire wrap codex --force` prints the live count.

Choosing the verb mid-task

Start a task with `explore`; an error → `from_trace`; before changing a symbol `impact` + `uses`; after an edit `edit_check`; before done `quality_delta`; several independent reads in one turn → `batch`. Every verb takes `path` (the repo root); a split checkout passes `paths: [dir1, dir2]`. `find_symbol` and `find_referencing_symbols` return a stable `handle=` instead of the body — `fetch_body` it only when you need it.

Tool health — is the answer trustworthy?

  • A symbol you expected is missing from the ranked output: `ripwire <dir> --skipped --legend=compact` (a size

ceiling dropped its file?), then `ripwire <dir> --doctor --legend=compact`.

  • Index feels stale after a rebase, or the wrong binary answers: `--doctor` (binary-vs-PATH staleness, grammar

compile, cache health); Codex: `ripwire <repo> --doctor --agent=codex`.

  • "no project root": `$HOME`, `/` and system directories are never a root over MCP — pass the project

directory. "memory limit reached" / `_memory_stop`: point `path=` at a smaller root or raise `--max-memory`.

The legend over MCP

The session's first answer defines its attributes inline; later answers carry a definition only the first time the session meets it. On the CLI the same saving is opt-in: read the core once (`ripwire --legend-dict=core`, 13 definitions, about 1.5 KB) and pass its `have=` as `--legend-have=`, or name the definitions you received with `--legend-seen=FILE` (both in `session-legend.md`).

Stop rule

Wiring is one `wrap` call; a health question is one `--doctor` run. Read a reference file only for the verb or transport you are actually using.

Reference files

| You need | Read | |---|---| | every wrap target, the Codex surface audit, memory-guard and root refusals | `wiring.md` | | each read verb and when it beats the CLI form | `read-verbs.md` | | remote `--listen` (Streamable HTTP) and editor `--lsp` transports | `transports.md` | | the lazy-body posture: names by default, bodies by handle | `read-verbs-lazy.md` | | the per-session legend in full | `session-legend.md` | | the 3 edit verbs and their safety contract | `edit-verbs.md` · full detail `mcp-reference.md` |

Read more
@redhat-et
Ships withripwire

The ripgrep of AI context. A map before your agent reads the repo — and a check on what it writes. Ranked, deterministic call graph: what to touch, what it breaks, which tests to run.

2.6k19 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.6k
Star history of redhat-et/ripwire on GitHub, a chart by star-history.com

Other skills on ripwire.

emitting-output

emitting-output

Writing or converting formatted output in ripwire's C++ source — std::print/std::format via rw::emitTo, emitRaw and formatTo,…

@redhat-et@redhat-etInstall Skill
ripwire-before-you-build

ripwire-before-you-bui…

Starting a FEATURE (multi-symbol work): the plan, the API boundary, the scope — how big does this change get — from the…

@redhat-et@redhat-etInstall Skill
ripwire-change-check

ripwire-change-check

Merge-SAFETY of an existing diff — yours before you push, or a PR you review: blast radius, tests to run, a broken contract…

@redhat-et@redhat-etInstall Skill
ripwire-find-bug

ripwire-find-bug

You have a SYMPTOM — crash, exception, wrong output, failing test, error string — and don't know which code is responsible. Ranks…

@redhat-et@redhat-etInstall Skill
ripwire-fresh-eyes

ripwire-fresh-eyes

Maintenance risk in code you did NOT write — inheriting a module, planning a refactor, a suspected god object, 'what's gnarly /…

@redhat-et@redhat-etInstall Skill

More skills from other plugins.

orval

orval

Generate type-safe API clients, TanStack Query/SWR hooks, Zod schemas, MSW mocks, Hono server handlers, MCP servers, and…

orval1d6.6k
@orval-labs@orval-labsInstall Skill
claude-api

claude-api

Use this skill when the user is building against Anthropic APIs or SDKs, including `@anthropic-ai/sdk`, `anthropic`, or Agent SDK…

@oboard@oboardInstall Skill
paper2code

paper2code

Converts an arxiv paper into a minimal, citation-anchored Python implementation. Trigger when user runs /paper2code with an arxiv…

paper2code13d1.5k

Questions about ripwire-mcp.

Which coding agents can use ripwire-mcp?
ripwire-mcp installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.