refinement-advisor SKILL.md skillA
refinement-advisor from swingerman/engineer is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add swingerman/engineer/refinement-advisor@git:20260923.5520e1ePins git:20260923.5520e1e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- swingerman/engineer
- Path
engineer/skills/refinement-advisor/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260923.5520e1e, committed Sep 23, 2026
- First version recorded
- Sep 23, 2026
- Size
- 10,763 bytes
- Repository stars
- 162
- License
- MIT
Use to decide which refinement and hardening tools are worth running on a set of changes — refine, crap-analyzer, arch-check, introversion scan, mutation testing, TLA+ model checking, Lean proofs — and on which files, with the invariant to check. Triggers — "/engineer.refinement-advisor", "what should we harden", "which checks fit this diff", "is this worth TLA+ / Lean", "should we model-check this", "how do I harden this change". Called by /engineer.harden at CP8; also usable ad hoc on any…
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
# refinement-advisor Reads a diff and recommends which of the DAE refinement/hardening tools to run, where, and why. It **advises; it does not run the tools.** The expensive ones (TLA+, Lean) cost real minutes each, and running every tool on every diff buries the one finding that matters under noise from checks that never fit the code. The advice is only as good as its reading of the code: read the changed functions, not just filenames or the diff stat. ## When to use - Called by `/engineer.harden` (CP8) to pick that checkpoint's tools. - Ad hoc: "which checks fit this change?", before a risky merge, or when deciding whether a piece of code deserves formal verification. **Not for:** running the tools (`harden`, or the tools' own skills), or reviewing code quality itself (`refine`). ## Inputs - **Scope** — a feature dir (diff = feature branch vs its branch point), a fix record, a PR, or an explicit ref range. Default: current branch vs its merge-base with the default branch. - **Stage** (optional) — `refine`, `verify`, `harden`, or `any` (default). Limits the recommendations to that stage's tools. - **Prior results** (optional) — if a CP7 handoff exists, read its …
Read the whole file at its exact version.
How to install
mdr add swingerman/engineer/refinement-advisor@sha256:9fb8758eb3e0afb2The line at the top of this page pins the label git:20260923.5520e1e, 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.
[](https://markdownregistry.com/a/art_azga3wbismtbcdm6)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Sep 23, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260923.5520e1e latest | 2026-09-23 | 5520e1e | 10,763 B | A | view · diff |
| git:20260923.37de0f0 | 2026-09-23 | 37de0f0 | 9,447 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10763 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
swingerman/engineer · 162 stars · license MIT · pushed 2026-10-27 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_azga3wbismtbcdm6 GET https://markdownregistry.com/api/v1/resolve?ref=swingerman/engineer/refinement-advisor GET https://markdownregistry.com/api/v1/blob/9fb8758eb3e0afb20aaa7368faab00d68451810297756f83a31710fc8d094fef
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.