ripwire-graph-query SKILL.md skillA

ripwire-graph-query from redhat-et/ripwire is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add redhat-et/ripwire/ripwire-graph-query@git:20260913.30a5a3c

Pins git:20260913.30a5a3c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
redhat-et/ripwire
Path
skills/ripwire-graph-query/SKILL.md
Versions recorded
4
Latest version
git:20260913.30a5a3c, committed Sep 13, 2026
First version recorded
Jul 31, 2026
Size
4,508 bytes
Repository stars
2,530
License
Apache-2.0

A call-graph question the fixed verbs can't phrase — 'which high-complexity functions can reach X?', 'what has 10+ callers in src/?', 'untested symbols within one hop of main'. --graph-query: a small closed expression language — kind, complexity, fan-in, tested filters; a file or cluster; bounded hops; and/or/not.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Graph queries with ripwire

> One-hop questions have cheaper verbs — **ripwire-navigate** (`--callers`, `--callees`, `--uses`,
> `--path`, `--impact`). Reach for `--graph-query` only when you need to COMBINE conditions.
> Repo-wide architecture health (not one query) → **ripwire-layers**.

## Planning a refactor: find the cluster AND its blast radius

The refactor-planning question is always two conditions at once — "what's messy" AND "what would
touching it affect" — which is exactly what a single fixed verb can't phrase:

```
# the refactor short-list: high-complexity functions in the target area
ripwire <dir> --graph-query='and(cx(all,15),file(all,"src/"))' --legend=compact

# now the blast radius: everyone who transitively calls into that cluster (≤3 hops)
ripwire <dir> --graph-query='callers(and(cx(all,15),file(all,"src/")),3)' --legend=compact
```
(Verified on this repo's shape, not its exact numbers — `count=` drifts every commit: the first query returns
the high-cx symbols under `src/`, each `<s t= n= p=>` (kind/name/path); the second returns the transitive
caller set, typically smaller than the cluster itself because many hits are leaf-ish or call each other. Read
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add redhat-et/ripwire/ripwire-graph-query@sha256:b219b0318a5e020e

The line at the top of this page pins the label git:20260913.30a5a3c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_utvzaulyrhfwhaut.svg)](https://markdownregistry.com/a/art_utvzaulyrhfwhaut)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jul 31, 2026 and Sep 13, 2026, about one every 14 days.

versioncommittedcommitsizeaudit
git:20260913.30a5a3c latest2026-09-13 30a5a3c 4,508 BA view · diff
git:20260907.9e1e9f92026-09-07 9e1e9f9 4,355 BA view · diff
git:20260810.cc63a3b2026-08-10 cc63a3b 4,503 BA view · diff
git:20260731.3315fb12026-07-31 3315fb1 4,471 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4508 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

redhat-et/ripwire · 2,530 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_utvzaulyrhfwhaut
GET https://markdownregistry.com/api/v1/resolve?ref=redhat-et/ripwire/ripwire-graph-query
GET https://markdownregistry.com/api/v1/blob/b219b0318a5e020ecf8cfaf9daeed1fa95631218bb572c5f7bc587aeda080e54

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from redhat-et/ripwire

emitting-output SKILL.md skill
redhat-et/ripwire · .claude/skills/emitting-output/SKILL.md · Writing or converting formatted output in ripwire's C++ source — std::print/std::format via rw::emitTo, emitRaw and…
git:20260910.b46909b · audit A · 2,530 stars
AGENTS.md AGENTS.md file
redhat-et/ripwire · AGENTS.md
git:20260925.02fad65 · audit A · 2,530 stars
CLAUDE.md CLAUDE.md file
redhat-et/ripwire · CLAUDE.md
git:20260925.02fad65 · audit A · 2,530 stars
ripwire-repo-map SKILL.md skill
redhat-et/ripwire · skills/hermes/ripwire-repo-map/SKILL.md · Use ripwire CLI to map a repo before reading it.
v1.0.0 · audit A · 2,530 stars
ripwire-before-you-build SKILL.md skill
redhat-et/ripwire · skills/ripwire-before-you-build/SKILL.md · Starting a FEATURE (multi-symbol work): the plan, the API boundary, the scope — how big does this change get — from the…
git:20260913.30a5a3c · audit A · 2,530 stars
ripwire-change-check SKILL.md skill
redhat-et/ripwire · skills/ripwire-change-check/SKILL.md · Merge-SAFETY of an existing diff — yours before you push, or a PR you review: blast radius, tests to run, a broken…
git:20261015.fde5074 · audit A · 2,530 stars
ripwire-find-bug SKILL.md skill
redhat-et/ripwire · skills/ripwire-find-bug/SKILL.md · You have a SYMPTOM — crash, exception, wrong output, failing test, error string — and don't know which code is…
git:20260914.d09bb1b · audit A · 2,530 stars
ripwire-fresh-eyes SKILL.md skill
redhat-et/ripwire · skills/ripwire-fresh-eyes/SKILL.md · Maintenance risk in code you did NOT write — inheriting a module, planning a refactor, a suspected god object, 'what's…
git:20261007.d4da24e · audit A · 2,530 stars
ripwire-handoff SKILL.md skill
redhat-et/ripwire · skills/ripwire-handoff/SKILL.md · Brief someone ELSE on a subsystem — 'hand this area off' to a successor, teammate or fresh session: purpose, the 2-3…
git:20261009.455b2c7 · audit A · 2,530 stars
ripwire-layers SKILL.md skill
redhat-et/ripwire · skills/ripwire-layers/SKILL.md · Architecture HEALTH and ENFORCEMENT — 'is this a dependency mess / does the UI reach into the database / enforce module…
git:20261031.5b44124 · audit A · 2,530 stars
ripwire-mcp SKILL.md skill
redhat-et/ripwire · skills/ripwire-mcp/SKILL.md · Wire ripwire into an agent as an MCP server — `ripwire wrap AGENT` (Claude Code, Cursor, Codex, Gemini…) — and choose…
git:20261106.c3a4d07 · audit A · 2,530 stars
ripwire-navigate SKILL.md skill
redhat-et/ripwire · skills/ripwire-navigate/SKILL.md · You can NAME the symbol: who calls it, what it calls, the path from A to B, its full body, or an exact literal/regex…
git:20261028.de9d903 · audit A · 2,530 stars

Every file in redhat-et/ripwire

Browse by kind, by grade A, or by owner.