diagnose SKILL.md skillA
diagnose from skillberry-ai/cap-evolve is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add skillberry-ai/cap-evolve/diagnose@git:20261010.2b56481Pins git:20261010.2b56481 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- skillberry-ai/cap-evolve
- Path
skills/phases/diagnose/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261010.2b56481, committed Oct 10, 2026
- First version recorded
- Jun 25, 2026
- Size
- 10,270 bytes
- Repository stars
- 66
- License
- Apache-2.0
Extract the learning signal from execution traces — the textual analogue of a gradient. Use between evaluation and proposing edits. Reads a candidate's rollouts and traces, separates good signals to keep from bad signals to fix, builds a reflective dataset (per failing task — Inputs, Generated Outputs, Feedback) and clusters the failures by a (failure-site, violated-expectation) signature, ranked by the score each cluster can recover, so the optimizer knows what to change and why.
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
# diagnose — failures into actionable side information
A scalar reward says *how much* a candidate failed; it does not say *why*, and "why"
is the only thing an editor can act on. Where RL back-propagates a scalar into
weights, natural-language feedback back-propagates into prompt/tool/skill edits —
and the richer it is, the larger the update extractable from a handful of rollouts.
## What it produces
```json
{
"split": "val", "tag": "cand_003",
"reflective_dataset": [
{"task_id": "t12", "Inputs": "<what the task asked>",
"Generated Outputs": "<what the agent produced>",
"Feedback": "<the scorer's diagnosis>",
"Trajectory": "<path to this task's full trace>"}
],
"clusters": [
{"signature": "confirm write", "tasks": ["t12", "t19"], "score_lost": 1.6,
"tag": "BEHAVIORAL", "blast_radius": ["t3", "t7"]}
],
"kept_good": ["t1", "t4"]
}
```
`scripts/run.py` emits everything except `tag` (one of KNOWLEDGE, BEHAVIORAL,
DECISION / PERMISSION, CAPABILITY-GAP) and `blast_radius`, which it leaves `null`
because they need judgement — filling them in is the work below. `kept_good` is the
set the gate's no-regression check protects.
…Read the whole file at its exact version.
How to install
mdr add skillberry-ai/cap-evolve/diagnose@sha256:ef0eb2fc3cf971eaThe line at the top of this page pins the label git:20261010.2b56481, 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_a4wdiju7irwsnjap)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jun 25, 2026 and Oct 10, 2026, about one every 21 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261010.2b56481 latest | 2026-10-10 | 2b56481 | 10,270 B | A | view · diff |
| git:20260901.278a375 | 2026-09-01 | 278a375 | 10,272 B | A | view · diff |
| git:20260822.842cfb9 | 2026-08-22 | 842cfb9 | 9,160 B | A | view · diff |
| git:20260629.8c0dac8 | 2026-06-29 | 8c0dac8 | 12,631 B | A | view · diff |
| git:20260629.88dc829 | 2026-06-29 | 88dc829 | 12,639 B | A | view · diff |
| git:20260625.58eaaa6 | 2026-06-25 | 58eaaa6 | 12,432 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 (10270 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
skillberry-ai/cap-evolve · 66 stars · license Apache-2.0 · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_a4wdiju7irwsnjap GET https://markdownregistry.com/api/v1/resolve?ref=skillberry-ai/cap-evolve/diagnose GET https://markdownregistry.com/api/v1/blob/ef0eb2fc3cf971eae63f377b3e318664d617e17c2aa70de79557e825b24ff677
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 skillberry-ai/cap-evolve
Every file in skillberry-ai/cap-evolve