Loop/Prompt Library / Running AI agents well
๐ Clean handoff note
Before a session ends, writes a note so the next person or agent can continue without guessing.
Use it when: A session is ending or context is getting too long.
๐ Stops when: A new person could pick up the work from the note alone, with one safe next step named.
Copy this loop
Before we end [session], write a handoff note: the goal, what changed, proof it works, what was not touched, what is uncertain, open risks, off-limits areas, and the last decision. Re-read it as if you were brand new and fix anything you would have to guess. Name one safe next action and what the next person must not assume. Do not start that action. Stop after the note.
Review every change the agent makes before you keep it. Set a budget or round limit โ the prompt includes one.
Idea from Forward Future's Loop Library ยท by Shinichi Nagata (@DecisionOS). Prompt rewritten in plain English by FixKit AI.
More loops like this
Agent workspace health check
Reads a project's notes and state, without changing anything, and grades whether a new agent could safely pick up the work.
Stop and check before continuing
After an agent finishes a task, it reports what is done and whether the next step is safe, then waits for you.
Predict, act, check
Before every meaningful action, the agent writes what it expects to happen, then checks if that is what really happened.
Lessons that stick
Keeps a playbook of lessons from repeated runs, tests one lesson at a time, and only keeps lessons that keep working.
Fair-test experiments
Improves a prompt or piece of code through saved, fairly compared experiments that can pick up again later.
Champion vs challenger
Keeps the current best prompt as champion, and a new version only replaces it if it wins on fresh test cases it never saw.
