auto-reflect
Skill14 starsChanged 6 days agoMITView on GitHub
Add a recurrence guard for a confirmed agent failure. Use for prevention after a verified false claim, implementation mistake or circuit-breaker failure. Plain investigation falls outside this skill.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auto-copySkill
- auto-docSkill
- auto-manageSkill
- auto-pilotSkill
- auto-planSkill
- auto-qaSkill
- auto-researchSkill
- master-docsSkill
- master-optimizeSkill
- master-qaSkill
- master-refactorSkill
- master-release-reviewSkill
- master-sanitizeSkill
- wow-loopSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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 19
Verify the guard with the smallest deterministic scenario that would have caught the failure.
- Distinctive: line 24
Do not promote hypotheses, reviewer opinions, one-off machine faults, or taste changes into permanent rules.
- Distinctive: line 25
Do not edit project instructions unless the current task authorizes instruction changes and the rule is project-specific.
- Distinctive: line 27
Do not weaken tests or acceptance criteria to make a failure disappear.
- Distinctive: line 28
Do not spawn a reviewer by default.
- Distinctive: line 29
Never log secrets, raw auth or config values, large outputs, or private identity data.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Auto Reflect
Record confirmed failures and choose the smallest safe recurrence guard.
Workflow
- Record confirmation evidence. Label each causal claim measured, read in source, or hypothesis. Only the first two can justify a durable rule.
- Separate symptom, confirmed cause, contributing condition, and impact. Redact secrets and unrelated personal or project data.
- Assign a stable recurrence key such as
verification.claim-without-exit-code. Search the ledger for that key only; do not read the whole ledger. - Choose the minimum guard:
- first occurrence: a run-local checklist item or precheck;
- second confirmed equivalent occurrence: update the narrowest relevant skill or project instruction;
- third or later: a hard deterministic precheck or circuit breaker, or stop for the user when automation would be unsafe.
- Verify the guard with the smallest deterministic scenario that would have caught the failure. If a skill changed, run its structural validator.
- Append one compact line to
~/.auto-master/artifacts/_learning/confirmed-failures.jsonl: timestamp from the shell, recurrence key, scope, evidence type, confirmed cause, guard, verification, occurrence count. If home is read-only, keep the suffix privately under<os-temp>/.auto-master/artifacts/outside every repo and tell the user the path.
Boundaries
- Do not promote hypotheses, reviewer opinions, one-off machine faults, or taste changes into permanent rules.
- Do not edit project instructions unless the current task authorizes instruction changes and the rule is project-specific. Editing an installed skill also requires current authorization for that persistent change. Otherwise keep the guard run-local and propose the reusable edit.
- Replace or merge existing rules where possible to limit recurring cost.
- Do not weaken tests or acceptance criteria to make a failure disappear.
- Do not spawn a reviewer by default. Use one fresh-context review only when the guard changes security, auth, data safety, execution isolation, release policy, or another critical boundary.
- Never log secrets, raw auth or config values, large outputs, or private identity data.
Report
Report the recurrence key, confirmation evidence, cause, guard location, verification result, occurrence count, and any hypothesis that remains. If no durable guard is justified, say why. Log every confirmed failure, even when it warrants no permanent rule.
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.

