ripwire-opt-remarks SKILL.md skillA

ripwire-opt-remarks 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-opt-remarks@git:20260925.02fad65

Pins git:20260925.02fad65 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-opt-remarks/SKILL.md
Versions recorded
6
Latest version
git:20260925.02fad65, committed Sep 25, 2026
First version recorded
Aug 8, 2026
Size
12,652 bytes
Repository stars
2,530
License
Apache-2.0

Triage clang optimization remarks (-Rpass, -Rpass-missed, opt-record YAML) while editing ripwire's OWN C++: 'loop not vectorized', 'will not be inlined' — worth a diff, or is LTO/PGO the real fix? Contributor-only: about compiling this tool, never about running it.

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

# Triaging clang optimization remarks in this repo

> Nearest neighbours:
> • A measured slow operation, any codebase → **ripwire-perf-target**. Do that FIRST; remarks are the
>   second question, not the first.
> • Maintenance risk / complexity in a subsystem → **ripwire-fresh-eyes**. Different axis entirely.

Full record of the pass this skill came from, with every number: **`docs/OPTREMARKS.md`**.

## The one rule

**A remark is an observation, not a defect.** Clang is reporting a decision, usually the right one.
The pass that produced this skill read ~1.1 M remarks over `src/`. **Zero of them justified a source
edit.** Two justified a BUILD change (LTO, then PGO), and the best-looking source-level candidate was
implemented, verified to do exactly what the remark asked, measured, and reverted. Budget your
attention accordingly: on this codebase, the answer to a remark is far more often a compiler flag
than a diff.

## Step 0 — profile first, or you will optimize a millisecond

```bash
cmake -S . -B build_prof -DRIPWIRE_PROFILE=ON && cmake --build build_prof -j 6
./build_prof/ripwire . --no-cache 2>&1 >/dev/null | sed -n '/hottest scopes/,/PROF_TSV/p'
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add redhat-et/ripwire/ripwire-opt-remarks@sha256:47898595491b6eba

The line at the top of this page pins the label git:20260925.02fad65, 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_jg3asdxanaexh4lw.svg)](https://markdownregistry.com/a/art_jg3asdxanaexh4lw)

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

Versions

The registry has recorded 6 versions of this file, between Aug 8, 2026 and Sep 25, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20260925.02fad65 latest2026-09-25 02fad65 12,652 BA view · diff
git:20260910.baded5f2026-09-10 baded5f 12,594 BA view · diff
git:20260907.9e1e9f92026-09-07 9e1e9f9 11,956 BA view · diff
git:20260907.a8c71a02026-09-07 a8c71a0 12,292 BA view · diff
git:20260809.7c5761c2026-08-09 7c5761c 12,270 BA view · diff
git:20260808.d2f0c8e2026-08-08 d2f0c8e 12,264 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 (12652 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_jg3asdxanaexh4lw
GET https://markdownregistry.com/api/v1/resolve?ref=redhat-et/ripwire/ripwire-opt-remarks
GET https://markdownregistry.com/api/v1/blob/47898595491b6ebaca9e42d4cbc5289cc8ebcb80a25f07904670e6f0614015f8

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-graph-query SKILL.md skill
redhat-et/ripwire · skills/ripwire-graph-query/SKILL.md · A call-graph question the fixed verbs can't phrase — 'which high-complexity functions can reach X?', 'what has 10+…
git:20260913.30a5a3c · 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

Every file in redhat-et/ripwire

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