agentleFS
ImNotTheWolfOfficialImNotTheWolfOfficial/auto-master-skills/skills/auto-reflect/SKILL.md

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.

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
  1. Distinctive:

    Verify the guard with the smallest deterministic scenario that would have caught the failure.

    line 19
  2. Distinctive:

    Do not promote hypotheses, reviewer opinions, one-off machine faults, or taste changes into permanent rules.

    line 24
  3. Distinctive:

    Do not edit project instructions unless the current task authorizes instruction changes and the rule is project-specific.

    line 25
  4. Distinctive:

    Do not weaken tests or acceptance criteria to make a failure disappear.

    line 27
  5. Distinctive:

    Do not spawn a reviewer by default.

    line 28
  6. Distinctive:

    Never log secrets, raw auth or config values, large outputs, or private identity data.

    line 29

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Auto Reflect

Record confirmed failures and choose the smallest safe recurrence guard.

Workflow

  1. Record confirmation evidence. Label each causal claim measured, read in source, or hypothesis. Only the first two can justify a durable rule.
  2. Separate symptom, confirmed cause, contributing condition, and impact. Redact secrets and unrelated personal or project data.
  3. 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.
  4. 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.
  5. Verify the guard with the smallest deterministic scenario that would have caught the failure. If a skill changed, run its structural validator.
  6. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.