causal-diagnosis
Skill236 starsChanged 3 months agoMITView on GitHub
Use before proposing a mutation to diagnose measured failures from evaluator outcomes, traces, history, and the controlling candidate surfaces.
In this repository12 other files it gives its agents.
- src/autosaddler/v1/proposer/autosaddler/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- capability-patchSkill
- diagnoseSkill
- history-analysisSkill
- patch-verificationSkill
- steering-patchSkill
- capability-patchSkill
- patch-verificationSkill
- steering-patchSkill
- history-analysisSkill
- verification-baselineSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill before proposing any mutation.
- Distinctive: line 19
Read the evaluator outcome and complete available training trace across all repetitions.
- Distinctive: line 26
Follow the relevant prompt, description, schema, configuration, implementation, hook, or loop path end to end.
- Distinctive: line 54
distinct: does not repeat a failed prior explanation without new evidence.
- Distinctive: line 57
If any item is unsupported, state the uncertainty.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Causal Diagnosis (Core)
Purpose (Core)
Use this skill before proposing any mutation. Diagnosis identifies why the current candidate produced a measured failure and which candidate surface most directly controls it. A symptom summary or evaluator paraphrase is not a diagnosis.
Procedure (Core)
For every target failure:
- Read the evaluator outcome and complete available training trace across all repetitions.
- State required behavior and observed behavior separately.
- Locate the first decision, action, output, or runtime boundary where they diverge.
- Identify exactly what the agent or system could observe and do at that point.
- Follow the relevant prompt, description, schema, configuration, implementation, hook, or loop path end to end.
- Explain the causal chain from visible input to decision, runtime effect, and evaluator result.
- Compare repetitions and note consistent or conflicting observations.
- Cross-check prior attempts and lessons for the same case, failure pattern, and changed unit.
- Classify the cause as behavior or description, missing capability, implementation, configuration, or infrastructure.
Intervention Test (Core)
List the plausible mutation surfaces allowed by the plugin. Choose the approach that most robustly repairs the causal boundary and generalizes beyond the sampled case. The diagnosis must explain:
- why this intervention can change the observed behavior;
- which passing behavior, callers, or companion surfaces could be affected;
- how the proposed effect can be checked before evaluation.
Quality Checklist (Core)
A useful diagnosis is:
- specific: identifies the exact divergence and controlling surface;
- causal: explains why the candidate produced the outcome;
- evidence-cited: relies only on staged training evidence and code;
- actionable: implies a permitted, testable intervention;
- distinct: does not repeat a failed prior explanation without new evidence;
- generalizable: targets a reusable mechanism rather than a case answer.
If any item is unsupported, state the uncertainty.
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.

