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.

Install it, pinned
mdr add skillberry-ai/cap-evolve/diagnose@git:20261010.2b56481

Pins 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

The exact contents, by fingerprint
mdr add skillberry-ai/cap-evolve/diagnose@sha256:ef0eb2fc3cf971ea

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_a4wdiju7irwsnjap.svg)](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.

versioncommittedcommitsizeaudit
git:20261010.2b56481 latest2026-10-10 2b56481 10,270 BA view · diff
git:20260901.278a3752026-09-01 278a375 10,272 BA view · diff
git:20260822.842cfb92026-08-22 842cfb9 9,160 BA view · diff
git:20260629.8c0dac82026-06-29 8c0dac8 12,631 BA view · diff
git:20260629.88dc8292026-06-29 88dc829 12,639 BA view · diff
git:20260625.58eaaa62026-06-25 58eaaa6 12,432 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 (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

GitHub

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

CLAUDE.md CLAUDE.md file
skillberry-ai/cap-evolve · CLAUDE.md
git:20261005.6af27e2 · audit A · 66 stars
my_skill SKILL.md skill
skillberry-ai/cap-evolve · examples/tau2_custom/blackbox/seed_capability/my_skill/SKILL.md
git:20260924.bafd81b · audit C · 66 stars
my_skill SKILL.md skill
skillberry-ai/cap-evolve · examples/tau2_sierra_airline/blackbox/seed_capability/my_skill/SKILL.md
git:20261013.01104a5 · audit C · 66 stars
arithmetic-answers SKILL.md skill
skillberry-ai/cap-evolve · examples/toy_skill/seed_capability/SKILL.md · Answers a short arithmetic question with just the number. Use when the user asks to compute a sum, difference, or…
git:20260822.f0fb098 · audit A · 66 stars
llms.txt llms.txt file
skillberry-ai/cap-evolve · llms.txt
git:20260924.bafd81b · audit A · 66 stars
agent-optimize SKILL.md skill
skillberry-ai/cap-evolve · skills/algorithms/agent-optimize/SKILL.md · Free-form optimization algorithm for agent orchestration mode: the conversational agent owns the whole search — reading…
git:20261013.db330d5 · audit A · 66 stars
evograph SKILL.md skill
skillberry-ai/cap-evolve · skills/algorithms/evograph/SKILL.md · Deprecated agent-mode algorithm (evo-graph port): a weakness-graph search that dispatched one solver agent per failure…
git:20260904.802badb · audit A · 66 stars
gepa SKILL.md skill
skillberry-ai/cap-evolve · skills/algorithms/gepa/SKILL.md · Runs the GEPA optimization loop (arXiv:2507.19457) — sample-efficient reflective Pareto search. A cheap train-minibatch…
git:20260822.02a1a1d · audit A · 66 stars
hill-climb SKILL.md skill
skillberry-ai/cap-evolve · skills/algorithms/hill-climb/SKILL.md · Runs a global hill-climb optimization loop where the parent is always the current best candidate and the val…
git:20261012.bf14385 · audit A · 66 stars
skillopt SKILL.md skill
skillberry-ai/cap-evolve · skills/algorithms/skillopt/SKILL.md · Runs the SkillOpt single-lineage optimization loop, which organizes a hill-climb into epochs over mini-batches of train…
git:20260822.02a1a1d · audit A · 66 stars
mcp-tool SKILL.md skill
skillberry-ai/cap-evolve · skills/capabilities/mcp-tool/SKILL.md · Optimize the tool surface of an EXTERNAL MCP server — one the agent talks to but does not implement. Use when an agent…
git:20260822.10e53e1 · audit A · 66 stars
skill-package SKILL.md skill
skillberry-ai/cap-evolve · skills/capabilities/skill-package/SKILL.md · Optimize an Agent Skill package itself — its SKILL.md (frontmatter + body), its references, and its bundled scripts…
git:20261008.03e3727 · audit A · 66 stars

Every file in skillberry-ai/cap-evolve

Other files named diagnose

diagnose SKILL.md skill
github/awesome-copilot · skills/diagnose/SKILL.md · Perform a systematic diagnostic scan of an AI workflow across 5 quality dimensions — prompt quality, context…
git:20260506.7f59e01 · audit A · 40,226 stars
diagnose SKILL.md skill
pedrohcgs/claude-code-my-workflow · .claude/skills/diagnose/SKILL.md · Root-cause a failing or wrong empirical result with a disciplined reproduce → minimise → hypothesise → instrument → fix…
git:20260927.6535de7 · audit A · 1,666 stars
diagnose SKILL.md skill
kerberosclaw/kc_ai_skills · diagnose/SKILL.md · Use when the user reports misbehaving software to investigate — a bug, crash, wrong output, flaky behavior, or…
v0.3.0 · audit A · 79 stars
diagnose SKILL.md skill
tserentserenov/fmt-exocortex-template · .claude/skills/diagnose/SKILL.md · Диагностика ступени мастерства (Диагност R28, FORM.089 §6.1 v5.0) прямо в VS Code / claude.ai. До 6 вопросов, ~3 мин…
v5.0.0 · audit A · 63 stars
diagnose SKILL.md skill
anantys-oss/koan · koan/skills/core/diagnose/SKILL.md · Analyze the last mission failure and queue a fix attempt
v1.0.0 · audit A · 47 stars
diagnose SKILL.md skill
mycelium-hq/ai-brain-starter · skills/diagnose/SKILL.md · Use when an AI Brain vault needs a health check or something feels off: Claude ignores CLAUDE.md, journal entries…
git:20260816.6ac8364 · audit A · 47 stars
diagnose SKILL.md skill
timharris707/skills · skills/run/diagnose/SKILL.md · The disciplined bug-fixing loop: no fix ships without a cause the fixer can state in one plain sentence, with evidence…
git:20261008.0b04f1c · audit A · 44 stars
diagnose SKILL.md skill
rustyrazorblade/skills · plugins/cassandra-expert/skills/diagnose/SKILL.md · Systematic troubleshooting for Apache Cassandra clusters. Use when diagnosing performance issues, latency problems…
git:20260407.324e497 · audit A · 44 stars

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