ripwire-handoff
Skill2.4k starsChanged 3 months agoApache-2.0View on GitHub
Brief someone ELSE on a subsystem — 'hand this area off' to a successor, teammate or fresh session: purpose, the 2-3 entry points with bodies, the design docs that say WHY, hotspot/bus-factor risk — a compact pasteable brief, not a wall of source. Understanding it yourself → orient.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about redhat-et/ripwire
- A Hacker News story“ripwire: ripgrep of AI context (CLI+MCP) giving coding agents a map of any repo”Hacker News · Sep 7, 2026 · 19 points
- @icecodenew.bsky.social“#TIL github.com/redhat-et/ri... > Point it at any repository and your agent gets a ranked, deterministic …”Bluesky · Sep 6, 2026 · 3 likes
- A Hacker News story“The Ripgrep of AI Context”Hacker News · Sep 8, 2026 · 2 points
- @akanoa.bsky.social“On se débarrasse enfin du code! On descend à l'AST et bientôt plus bas. Ce n'est qu'une question de temps. …”Bluesky · Sep 8, 2026 · 1 likes
- @hn100.bsky.social“ripwire: ripgrep of AI context (CLI+MCP) giving coding agents a map of any repo Discussion”Bluesky · Sep 7, 2026 · 1 likes
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub, Bluesky and Hacker News (14 times).
On GitHub · 9
- Oct 3, 2026agent-skills.github.redhat-et.ripwire: 0.6.2 → 0.6.5 — sudosubin/agents.nix0 reactions
- Oct 1, 2026agent-skills.github.redhat-et.ripwire: init at 0.6.2 — sudosubin/agents.nix0 reactions
- Sep 29, 2026ripwire: 0.6.1 -> 0.6.5 — NixOS/nixpkgs0 reactions · 1 comment
- Sep 24, 2026docs(non-cc): screenshot-lead research batch 13 (plan 0008 row 20) — qte77/ai-agents-research0 reactions
- Sep 21, 2026feat(setup): the ripwire hint names the upstream repository, in setup and both installers (D178) — dimitritholen/tasqx0 reactions · 3 comments
4 more on GitHub
- Sep 20, 2026Candidate: ripwire, a repo map for coding agents — cinjoff/firehorse0 reactions
- Sep 19, 2026ripwire: 0.5.0 -> 0.6.1 — NixOS/nixpkgs0 reactions · 4 comments
- Sep 10, 2026Static analyzer flags prompt-injection example text inside fenced code blocks as CRITICAL — runkids/skillshare0 reactions · 2 comments
- Sep 7, 2026Qualify ripwire as local code-intelligence/context source candidate — TheHalfMoon/Golam0 reactions
On Bluesky · 3
- Sep 6, 2026#TIL github.com/redhat-et/ri... > Point it at any repository and your agent gets a ranked, deterministic call graph — what to touch, what… — @icecodenew.bsky.social3 likes and reposts · 1 reply
- Sep 8, 2026On se débarrasse enfin du code! On descend à l'AST et bientôt plus bas. Ce n'est qu'une question de temps. github.com/redhat-et/ri... — @akanoa.bsky.social1 likes and repost · 1 reply
- Sep 7, 2026ripwire: ripgrep of AI context (CLI+MCP) giving coding agents a map of any repo Discussion — @hn100.bsky.social1 likes and repost
On Hacker News · 2
- Sep 7, 2026ripwire: ripgrep of AI context (CLI+MCP) giving coding agents a map of any repo19 points · 14 comments
- Sep 8, 2026The Ripgrep of AI Context2 points
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- emitting-outputSkill
- ripwire-repo-mapSkill
- ripwire-before-you-buildSkill
- ripwire-change-checkSkill
- ripwire-find-bugSkill
- ripwire-fresh-eyesSkill
- ripwire-graph-querySkill
- ripwire-layersSkill
- ripwire-mcpSkill
- ripwire-navigateSkill
- ripwire-opt-remarksSkill
- ripwire-orientSkill
- ripwire-perf-targetSkill
- ripwire-quality-barSkill
- ripwire-reuse-firstSkill
- ripwire-routerSkill
- ripwire-security-scanSkill
- ripwire-write-testsSkill
The file
Files
Handoff with ripwire
Nearest neighbours: • You need to UNDERSTAND the subsystem yourself first (not brief someone else) → ripwire-orient. • You need ONE symbol's full contract, not a whole-subsystem brief → ripwire-navigate (
--expand). • The recipient needs an architecture/layering read specifically → ripwire-layers.
Trigger: you're handing a subsystem to another agent or developer and want to give them a fast, accurate brief — not a wall of source code.
<dir> = repo root. SUBSYSTEM = the area in plain words (e.g. "ingest pipeline",
"graph ranking", "MCP server loop").
- Task-relevant symbols —
ripwire <dir> --for="SUBSYSTEM" --top-k=20Output:<sigs>ranked by relevance. The top 10 are the symbols the recipient most needs to know. Note their file paths, complexity (cx=), and reuse count (in=). - Expand the key symbols —
ripwire <dir> --expand=SYM1,SYM2,SYM3 --legend=compact(Pick the top 3 by rank from step 1.) Output: full bodies + callee signatures. This is the actual contract — paste it into the handoff verbatim rather than paraphrasing. Bodies are redacted by default — high-confidence credentials (API keys, tokens, connection strings) are masked before you see them, so pasting this straight into a handoff doc is safe as-is; pass--no-redactonly if you deliberately need the verbatim secret (e.g. auditing the credential-handling code itself). - Design rationale —
ripwire <dir> --recall="SUBSYSTEM"Output: most relevant markdown docs (planning/design notes, READMEs) in full. Read and summarize the key decisions — why this design, not another. That's what the recipient most needs and least gets from reading code. Also checkripwire <dir> --notes --legend=compactfor this subsystem's symbols/files — any gotcha a prior agent already pinned (<note d="date">…</note>) surfaces automatically on the symbols step 1/2 emit; fold it into the brief instead of letting the recipient rediscover it. Before you hand off,--note-add="SYM_or_path: text"any trap you found yourself that isn't already written down — the cheapest thing you can leave the successor. If the same symbol has collected several notes across handoffs, that's a signal to graduate it out of prose entirely, into a--quality-ackreason or a standing--archdeny rule. - Maintenance risk, scoped to the subsystem — point
--hotspotsstraight at the subsystem instead of filtering the whole-repo list:ripwire <subdir> --hotspots(verified: subdir scoping works, same as--dead-code=DIR). If the subsystem isn't a clean subdirectory, keep the repo root and--excludethe rest (repeatable flag) to fence the scan to just the area you're briefing on. Also worth a look:ripwire <dir> --hotspots --legend=compact(whole-repo, no scoping) to see whether any subsystem file also lands in the global top-10 — a file can be locally worst-in-subsystem and still unremarkable repo-wide, or vice versa; that distinction matters to the recipient. Tell them: "this file is gnarly — high churn, high complexity — be careful and run tests after any change here."
Calibration — what's fact vs framing here
- Steps 1–3 are direct reads (ranked signatures, full bodies, doc text) — trustworthy as far as the
underlying call graph goes (name-based edges; a symbol with high
amb=in--expand's<calls>block means some of ITS calls were ambiguous — don't present those as certain in the brief, flag them).--recallreturns doc text, not a verified fact — summarize what the docs claim, not what's provably still true; a stale design doc will still get picked up. - Step 4 (hotspots) is
churn × cognitive complexity— a maintenance-pain signal, not a defect count. Frame it to the recipient as "developers keep touching this, tread carefully," not "this file has bugs."
Stamp the commit you measured at — at="<sha>[+dirty]"
A brief is read hours or days later, against a HEAD that has moved. Every number you quote must carry the commit it was measured at, or the recipient cannot tell a stale finding from a live one.
Several repo-reading verbs now do this for you: the header carries at="<sha>", and at="<sha>+dirty"
when the working tree had uncommitted changes at measure time. Real output from this repo:
<quality-delta baseline="git-HEAD" regressions="0" … gating="0" at="f0a45e43d">+dirty is the important half. A stamp ending in +dirty means the numbers describe a working tree
that exists on exactly one machine and is not recoverable from the sha — it is not reproducible by the
recipient. Either commit first and re-measure, or say so explicitly in the brief.
What actually carries a stamp today (verified by running each verb — do not assume it is universal):
| verb | stamp |
--quality-delta · --pr-context · --test-gate · --map-diff · --doc-drift | at="<sha>[+dirty]" |
--stray-content | head="<sha>" — different attribute name, and no +dirty suffix |
--situ · --cochange · --owners | none — record the sha yourself (git rev-parse --short HEAD) |
Two traps: the attribute is head= rather than at= on --stray-content, so a script grepping only for
at= silently gets nothing; and in --doc-drift the name at= is overloaded — the header at= is a
git sha, but each drift ROW's at= is a file path (at="src/mcp.h"). Anchor on the header, not the
first match.
Output
Handoff brief: (1) what the subsystem does in 2 sentences, (2) the 3 key entry-point symbols
with file:line and their signatures (from --expand), (3) the design decisions the recipient
must know (from --recall), (4) any hotspot files to be careful with, flagged if churn/complexity data
looks stale (no git history, non-git root). Aim for under 600 tokens.
Mid-task session handoff — --handoff
Handing off an INTERRUPTED WORKING SESSION (not a subsystem summary)? ripwire <dir> --handoff --legend=compact emits
the whole continuation packet in one deterministic call: a <verified> section (branch, HEAD sha with
+dirty marker, changed files + their symbols, transitive blast-radius size, tests-to-run) that is pure
disk truth, and a <heuristic> section (co-change partners not in the diff, committed --note-add
notes on the touched files, plan/design doc pointers ranked by a branch+commit-subject query) that is
labeled suggestion, never presented as fact. Composes with --token-budget=N — heuristic rows drop
tail-first and the header discloses withheld=; verified rows never drop. Single-root only; paste the
packet to the next agent as-is.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

