MCP Recipes
ProReconcile Your Runs on Startup
Set up a standing instruction so a new agent session automatically checks what it was watching and reports any LLM Prover runs that finished while you were away.
Agentic and programmatic use. Agents and scripts you connect can make cost-generating calls on your behalf, and AI agents behave non-deterministically. You are responsible for monitoring and bounding your own automation. See Terms for details.
Run it: paste into your MCP agent
Parts in double braces (like {{recipe_id}}) are placeholders. Replace them with your own values before (or after) copying.
Help me set up automatic run-reconciliation on session start. Persisting a standing instruction changes how future sessions behave, so you MUST get my explicit approval before saving anything.
First, work out HOW your client persists standing/startup instructions across sessions. The mechanism varies (a steering or rules file, project custom instructions, a persistent memory, a system-prompt addition, etc.). If your client has NO way to persist an instruction across sessions, tell me that honestly, do not invent a file, and instead offer to do the reconciliation manually whenever I start a session. Stop here in that case.
If your client CAN persist one: explain in a sentence or two what this will do. On every future session start you will check what I am watching and tell me about any runs that finished.
Show me the EXACT instruction text you propose to save, verbatim. Two rules it MUST follow:
- LIST-AND-ASK, never auto-run. On session start it should only LIST my active (not-completed) watched recipes and let ME choose which, if any, to resume. It must NOT silently poll jobs, continue loops, or spend on my behalf. I may have opened the session to work on something else entirely, and my agent should not run off to LLM Prover without my say-so.
- RECIPE-AGNOSTIC on resume. When I pick one, resume THAT recipe per its own type (a tracked job polls to completion; a drift monitor checks for new scheduled results vs baseline; an optimization loop continues from its saved iteration/best/budget state). The note records which recipe it is and where it left off, so do not hardcode one behaviour.
Propose text like:
"On session start, call list_watched_recipes and show me any active (not completed) watched recipes as a short list, naming each and what it is. Ask me which, if any, I want to resume now; if I say none (or want to do something else), do nothing further with LLM Prover. For each one I choose, read its note (get_agent_notes) and resume it where it left off according to its own type. If a note carries a stop contract (a terminate or outcome block) and its counters have ALREADY crossed a ceiling or met the target, do NOT resume it. Tell me it is already finished (and mark it completed with the right stop_outcome), rather than spending to continue a loop that should have stopped. Never auto-resume, poll, or spend without my selection."and tell me exactly WHERE and HOW you will persist it in my environment (name the mechanism and location).
Ask me to approve. Do NOT save anything unless I clearly say yes. If I decline or am unsure, stop and change nothing.
On explicit approval, persist the instruction via your client’s mechanism, then confirm it is in place and tell me it will take effect next session.
Goal
Make every future agent session self-bootstrapping: it reads what you are watching and reports finished runs, so multi-session recipes (drift monitors, long jobs) reconcile automatically instead of you having to remember to ask.
When to use
Once you are running standing recipes and want them to feel continuous across sessions. Set this up once; every session afterwards starts by checking your active runs.
Client-agnostic
Different MCP clients persist standing instructions differently: a steering or rules file, project custom instructions, a persistent memory, a system-prompt addition. The recipe does not assume any one mechanism, so the agent figures out what its client supports and uses that. If a client cannot persist anything across sessions, the agent should say so honestly and offer to reconcile manually each session rather than fabricate a file.
Why it needs approval
This recipe persists an instruction that changes how your agent behaves at the start of every session. That is a durable change to your environment, so the agent must show you the exact text and the mechanism and location, and save nothing until you explicitly approve. An agent writing its own startup instructions silently would be the wrong behaviour, so the gate is deliberate.
Steps
- The agent determines how (or whether) your client can persist a standing instruction.
- It explains what the instruction does.
- It shows you the exact text and where and how it will be saved.
- It asks for approval and waits.
- On your yes, it persists the instruction and confirms. On no (or if the client cannot persist), it changes nothing and offers to reconcile manually.
Verification
- Nothing was saved unless you explicitly approved.
- The persisted text matches what you were shown.
- A fresh session starts by checking your active notes (
list_watched_recipes), reads each one, and resumes it according to its own recipe type, whether that means reconciling a finished job, reporting new results or drift on a monitor, or continuing a loop from its saved state (or, if your client cannot persist an instruction, the agent reconciles when you ask). - The saved instruction is recipe-agnostic. It does not hardcode one behaviour like polling a job; it defers to what each note says it is.
Recipes that lead here