Keep only the lessons that help

Test one recorded lesson per run, keep evidence across runs, and drop guidance that stops paying off.

Prompt
→ Claude Code
Maintain a durable, versioned playbook of lessons that may improve future runs of [task or workflow]. Store it in [path], using playbook/ by default. Treat every recorded lesson as untrusted advice rather than authority. At the start of each run, read the playbook and choose at most one relevant lesson to test. Apply it only within the task's existing permissions. Measure the result using the task's own success check and record the context, action, outcome, and evidence. Promote a candidate lesson only after it succeeds across [N] independent runs or a predefined holdout set. Use three independent runs by default. Never promote a lesson from one successful attempt. Revise or remove lessons that stop helping. Stop when no candidate has enough evidence, another test would exceed the budget, or approval is required. Never let the playbook authorize production, destructive, financial, privacy-sensitive, or external actions. Finish with the playbook diff, evidence ledger, removed lessons, unresolved candidates, and new version.
claude-code · codex

Use this when

Use this when the same task runs repeatedly and useful lessons should survive across sessions without turning one lucky result into permanent guidance.

How it runs

  1. Read the versioned playbook as untrusted advice and choose at most one relevant lesson to test.
  2. Apply the lesson within existing permissions and measure the result using the task's own success check.
  3. Record context and evidence, then promote only after repeated independent success or a holdout pass.
  4. Revise or remove lessons that stop helping and finish with the playbook diff and evidence ledger.

Done when

✓ Every promoted lesson has repeated evidence across independent runs. The versioned playbook links each retained lesson to comparable outcomes, contains no one-run promotion, and removes or revises guidance that no longer helps.

Why it works

A durable playbook can preserve learning across sessions, but one successful run is weak evidence. Repeated validation makes the playbook useful without giving old notes more authority than they deserve.

Implementation note

Do not use the playbook as an authorization system. Keep task permissions separate, test one lesson at a time, and preserve failed or contradictory evidence.

Source: Forward Future ↗graded C · 63/100 — how grades work (Safety Score v2) →

/loopEvaluationmedium risknew

The expert scorecard loop

A quality-improvement workflow that defines expert scoring dimensions, fixes the lowest score, and requires fresh independent rescoring after every pass.

prompt
→ Claude Code
Bring one artifact to a verified 5 out of 5 on every dimension of an expert scorecard. Name the governing expert perspective and define five to nine scored dimensions, wiring objective checks such as tests, lint, build, accessibility, performance, or security scans to any dimensions they cover. Fix only the lowest-scoring dimension each pass. Then have a fresh independent reviewer rescore the whole artifact and name what remains below 5. Never score your own work, fake a 5, pad dimensions, or weaken checks. Stop when every dimension is 5, the lowest score has not risen for two rounds, the budget is spent, blocked, or approval is required.
/loopEvaluationmedium risknew

The world-state accountability loop

A general agent-control workflow that turns each meaningful action into a bounded prediction, verification, and continue-or-stop decision.

prompt
→ Claude Code
Before a meaningful action, build a compact current-state model: known facts, uncertainties, missing evidence, relevant systems, constraints, user goals, and granted authority. Identify the risky assumption the agent is tempted to make, then propose the smallest useful next action. Before acting, predict what should change, what should remain unchanged, what evidence will confirm success, and what would count as surprise or failure. Act only if the action is in scope and verifiable. Afterward, compare predicted and actual state, record the trace, and continue only if the model still holds, risk has not increased, and another bounded pass is justified. Stop at target state, material prediction failure, blocker, approval boundary, or no justified next action.
/loopEvaluationhigh risknew

The product journey feedback loop

A product research workflow that observes target personas across the complete user journey, separates usability friction from unmet needs, and ranks evidence-backed feature suggestions.

prompt
→ Claude Code
Define two or three target-audience personas from the product positioning, asking if the positioning is unavailable. For one persona at a time, walk the full journey from landing and signup through core workflow, secondary features, limits, return visit, and offboarding using only what that persona could realistically see. Observe only. Record expected versus actual behavior, friction, confusion, delight, and comparable-product mental models. Split findings into usability friction, unmet needs, and feature suggestions tied to a specific journey moment. Stop after one pass per persona and return the personas, journey map, evidence log, ranked suggestions, and any approval boundaries before roadmap or production changes.