Turn every thumbs down into a test that catches it next time.

“How do I stop the same mistake from coming back after a customer thumbs it down?”

Sorts each piece of feedback into a broken rule, a gap in your rules, or a preference, then plants the mistake into good outputs and proves a check catches it before it joins your gate.

RUN THE OPERATOR SYSTEMADVANCEDANTHROPIC API KEYYOUR DOCUMENTS AS MARKDOWN, FOR THE RAG SKILLS✓ APPROVED 4/4
EXAMPLE PROMPTS
>Turn this thumbs-down feedback into a test case for my eval set [pastes feedback]
>Is this complaint a broken rule, a gap in my rules, or just a preference?
>My users keep flagging the same miss. Make sure a check catches it next time
ABOUT THIS SKILL

What this skill does

Your eval set was written before anyone used the agent. Your users have been writing the real one since.

Every thumbs down with a reason is a test case someone handed you for free. Most teams fix the prompt, maybe rerun that one input, and move on. The next version breaks the same way on a different input and nobody notices until another thumbs down.

This skill takes each piece of feedback and asks three questions before it builds anything:

  1. Which rule did it break? Map it to a line in your written rules. If no line covers it, that is a gap in the rules, and the skill drafts the missing line for a person to approve. It never adds one quietly.
  2. How do I make many of these? A planter: a small scripted edit that puts the same kind of mistake into outputs you already trust. One complaint becomes ten or twenty cases.
  3. What catches it? A script check if a regex can settle it. A Claude judge if it needs meaning. An existing judge if one already covers the rule.

Then the proof: the check has to catch every planted copy and pass every clean output before it counts toward your gate.

Taste is not a rule. "I'd prefer paragraphs" gets logged, not gated. A gate built on one person's taste blocks good outputs forever.

Inputs

  • Works today with: a pile of real feedback (thumbs down with reasons, review notes, rejected changes), the outputs that feedback was about if you saved them, and 10 or more outputs you trust.
  • Written rules: a contract, a system prompt, or a list. Feedback is classed against them. If you have none, run agent-contract first.
  • An Anthropic API key and Python: the judges are Claude models called through Ragas and the Anthropic SDK. Script checks need neither.
  • Better with agent-judge: it covers how to write and trust-test a judge in depth. This skill decides which feedback deserves one.

How it works

  1. 1
    Step 1: Collect feedback with its output

    Pull every piece of feedback with the output it was about, the version that produced it, and who said it. Feedback with no saved output can still be classed, but it can only be reproduced from its description. Note which items are missing their output.

  2. 2
    Step 2: Class every item

    One row per item in a ledger (example/feedback.md shows the format).

    Class Test Becomes
    Rule broken a written rule already says the output was wrong a planter, plus a script check or a judge
    Gap no written rule covers it, or it lives in the prompt but not the contract a drafted rule for RULE_OWNER. no gate until approved
    Preference taste, a one-off, or something the owner later overruled a line in the ledger. never a gate

    Two traps. Feedback that the agent followed a bad rule is a gap, not a broken rule: the fix is the rule. And a reviewer's note is not automatically a rule: check whether the owner kept it.

  3. 3
    Step 3: Script or judge

    If a regex can settle it (a missing field, a word cap, a banned character, a number next to a word), it goes to a script check. Free, exact, and it runs first. If it needs meaning (was this commitment real, is this addressed to the customer), it goes to a judge. If a judge already covers the rule, the feedback becomes a new planter style for that judge, not a new judge.

  4. 4
    Step 4: Write the planters

    A planter takes one clean output and returns it with the same mistake the feedback named, or nothing if it cannot apply. Write 2 to 3 styles from the feedback's own wording. Make the planter refuse outputs where the edit would be true: planting "confirmed the budget" on a recap where the customer really did confirm it is not a mistake.

    Read one plant of each style before the first paid run. Planters are code, and code has bugs.

  5. 5
    Step 5: Prove it

    Run the clean outputs and the plants, twice. Then add held-out styles the rubric never saw and run again. Read every disagreement. There are four kinds:

    • The judge or check is wrong. Fix the rubric, the view, or the regex, and rerun.
    • The clean output really breaks the rule. Often because the output is older than the rule. Count it as a catch.
    • The rule is vague. RULE_OWNER decides, the rule is rewritten, the judge follows.
    • The plant is wrong. Fix the planter.
  6. 6
    Step 6: Join the gate, keep the ledger

    A check joins the gate once it clears GATE_BAR. Its row in the ledger names the feedback it came from, so anyone can trace a gate back to the person who asked for it. Each new batch of feedback starts at Step 1, and the set grows. It never restarts.

Output format

From the fictional sample in this skill, run before publishing.

FEEDBACK LEDGER                         6 items: 4 rule broken, 1 gap, 1 preference

FB1  "says she agreed to the three year term"   rule broken, line 3   new judge
FB2  "next steps are a ready to send email"     rule broken, line 4   existing judge, new planter
FB3  "next step has nobody on it"               rule broken, line 2   script check
FB4  "missed the six week legal review"         gap                   rule drafted, waiting
FB5  "too many bullets"                         preference            logged
FB6  "named the wrong decision maker"           rule broken, line 3   needs the transcript. open

SCRIPT CHECKS                       free
check            false alarms   planted    held out
owner_and_date   0 of 4         2 of 2     2 of 2
no_dashes        0 of 4         2 of 2     2 of 2

JUDGES                              2 repeats, 36 judge calls, about 5 cents, Claude Haiku 4.5
judge                      false alarms   planted   held out   regex caught   consistency
no_overstated_commitment   1 of 4         4 of 4    2 of 2     5 of 6         1.00
written_to_the_rep         0 of 4         2 of 2    2 of 2     0 of 4         1.00

DISAGREEMENTS, for a person to read
  no_overstated_commitment, clean oakmoor-property: judge fail.
    the customer said "the budget is approved, I sign". the rubric lists this as a pass.
    open: judge too strict, or recap too firm? decide before this judge joins the gate.

GATE
  joins now: owner_and_date, no_dashes, written_to_the_rep (with the new FB2 planter)
  waiting: no_overstated_commitment (one false alarm to settle)
  waiting on a person: the FB4 rule draft
  not testable yet: FB6, until the transcript is passed in next to the recap

The regex column flatters the regex. It matches "agreed", "confirmed", or "signed" anywhere, so it would also fire on two of the clean recaps: one says "No pricing was agreed", and Oakmoor's customer really did confirm. One of its 5 catches is that same "agreed" in a sentence about nothing being agreed. The held out style, a plan written as already done, uses none of those words. That is the case the judge is for.

Tips

  • Every piece of feedback has a ledger row with a class.
  • No drafted rule is gated until a person approves it.
  • No preference became a gate.
  • Every rule broken maps to a named rule.
  • Nothing a regex can check went to a judge.
  • Every planter was read on at least one output before a paid run.
  • Every check was run on clean, planted, and held-out cases before it joined the gate.
  • Held-out styles were added after the first run and never used to tune.
  • Every disagreement was read and sorted into one of the four kinds.
  • The report names what could not be tested and what is missing.
  • No em dashes anywhere.
RELATED SKILLS
ALL RUN THE OPERATOR SYSTEM SKILLS →