── SKILL
closed-loop✓ APPROVED

Close the gap between a correction and it happening again.

Scans a session for corrections, approvals, and validated patterns, then proposes exact edits to your skills and docs. Nothing applied until you approve.

Inside: The session scan, high vs medium confidence, and a per-edit approval gate.

01 / HOW TO USE

Install it in one line, or paste it in.

1
In Claude Code (one command)
Copy the install line, paste it into your terminal, and restart Claude Code. The skill installs itself to ~/.claude/skills/ and runs automatically when it is relevant.
2
In Claude, ChatGPT, or a Project (no terminal)
Open the file, then upload it to your chat or paste its contents in. A skill is just a markdown file of instructions, so any capable AI can follow it.
New to skills? A skill is a plain-text file that teaches your AI a workflow. Point any capable assistant at it and it follows the steps, on your data.
02 / MAKE IT YOURS

Connect your context. Set it to your motion.

CONNECT YOUR CONTEXT · AND WHY IT HELPS
a repo

it finds the actual skill or doc file the update belongs in and drafts the diff.

a notes or wiki tool

it can point proposed edits at the living playbook, not a copy.

a decision log

it links each accepted change to the decision that justified it.

SET IT TO YOUR MOTION

This was built for an operator whose skills and playbooks are living documents. Set these to your setup:

The confidence split is the safeguard. Tune what clears each bar. The rule that nothing applies without approval does not move.

Set thisWhat it isDefault / Example
TARGETSwhat can be updatedyour skillsplaybooksSOPsdocs
CODE_HOMEwhere skills/docs livea git repoa docs folder
NOTES_HOMEwhere playbooks livea notes/wiki tool
HIGH_BARwhat counts as high-confidencean explicit correction you made
MED_BARwhat counts as a patterna behavior that repeatedunconfirmed
AUTO_APPLYwhether anything applies without askingoffalways off
03 / THE FULL SKILL

Everything the skill does, in full.

── WHAT THIS DOES

Reads back over a session and turns feedback into durable improvement. It finds where you corrected the work, where you approved it, and where a pattern proved itself more than once, then proposes exact edits to the skills, playbooks, or docs that produced the work. A correction you make twice is a rule you never wrote down. This writes it down, and shows it to you before anything changes.

── THE METHOD
  1. 1
    Session scan

    Walk the session for three signals: corrections (you told it to do something differently), approvals (you confirmed something was right), and patterns (the same choice held up more than once). Everything downstream is anchored to a real moment in the session, quoted, not inferred.

  2. 2
    High-confidence corrections

    An explicit correction is high-confidence. You said "no, do it this way." That becomes a proposed edit stated plainly, with the before, the after, and the exact spot it changes. These are the sure things, and they are listed first.

  3. 3
    Medium-confidence patterns

    A pattern that repeated but was never confirmed is medium-confidence. It is proposed as a question, "you did X twice, should this be the default?", not asserted as a rule. Medium items never get promoted to high on their own.

  4. 4
    Proposed edits, file by file

    Each accepted signal maps to one target and one concrete change. It shows what the doc says now and what it would say. If a repo is connected, it drafts the diff. If not, it hands you the exact text to paste.

  5. 5
    The approval gate

    Nothing is written. Every proposed edit is presented for a yes or no, one at a time. You can accept the corrections and defer the patterns, or the reverse. The loop closes only on what you approve.

── QUALITY GATES
  • Nothing is written, committed, or deleted without your explicit approval, per edit. AUTO_APPLY is off and stays off.
  • Every proposed update quotes the moment in the session that justifies it. No update without evidence.
  • High-confidence and medium-confidence are never blended. A guess is labelled a guess.
  • A pattern is never silently promoted to a rule. It stays a question until you answer it.
── OUTPUT (EXAMPLE)
EXAMPLE OUTPUT
CLOSED LOOP · onboarding-automation session · 3 signals found

HIGH CONFIDENCE (explicit corrections)
  1. You corrected: "route by company size, not persona."
     Target: the routing playbook, step 2.
     Now:  "Assign owner by persona match."
     To:   "Assign owner by company size band."
     [ ] Apply   [ ] Skip

MEDIUM CONFIDENCE (patterns, unconfirmed)
  2. You batched the job nightly twice this week without being asked.
     Should "nightly, not real-time" become the default in the SOP?
     [ ] Make it a rule   [ ] Leave as a one-off   [ ] Ask me later

DO THIS FIRST
  Apply #1. It is an explicit correction and it changes live routing.

(nothing above is written until you choose)
── EXAMPLE CHAT
EXAMPLE CHAT
You
Before we wrap this session, what should we actually update based on what I corrected?
CLAUDE
Found 3 signals in the session. HIGH CONFIDENCE (explicit corrections) 1. You corrected: "route by company size, not persona." Now: "Assign owner by persona match." To: "Assign owner by company size band." [ ] Apply [ ] Skip MEDIUM CONFIDENCE (patterns, unconfirmed) 2. You batched the job nightly twice this week without being asked. Should "nightly, not real-time" become the default in the SOP? Nothing here is written yet, that's the whole design. The high-confidence item quotes exactly what you said, so you're approving a change you already made, not a guess about what you meant.
You
Apply #1, leave #2 as a one-off for now.
CLAUDE
Applied #1 to the routing playbook, step 2. #2 stays a one-off, noted but not promoted. One sharpener: run this at the end of every session instead of just this one, a pattern that repeats a third time without being confirmed is usually the one worth turning into a rule.
04 / GO FURTHER

Where an operator takes this next.

Reviewing one session by hand catches what you just corrected. Here's how the habit compounds.

A correction made once is feedback. A correction captured every time is a system that stops repeating its own mistakes.

01
Run it automatically at session close

Wire a scheduled Claude task to scan the day's sessions each evening and queue proposed edits for a morning approval pass, so nothing gets lost between sessions.

02
Stage the diffs where you already work

Connect a git repo so accepted corrections land as real pull requests against your skills and playbooks, not just text you have to paste in yourself.

03
Track what got promoted

Log every approved edit to a Notion or wiki changelog so the team can see which corrections became permanent rules and when.

05 / PART OF A BIGGER PLAY

One skill is the on-ramp.

── GET NEW SKILLS IN YOUR INBOX

One operator-built skill a week. Free.