Tool-using agent: reflection step

Model notes: Add after each tool call in a loop

Fill in the variables (optional — they're inserted live below):

Before your next action, write a short reflection (max 5 lines): - What did the last tool call return, in one sentence? - Did it move me closer to the goal "{{goal}}"? If not, why? - What's the single best next action, and what would make me stop? - Am I repeating something I already tried? If yes, change approach. Then take exactly one action.

How to use it

  1. Fill the variables above, or replace each {{variable}} after pasting.
  2. Paste into your AI tool (ChatGPT, Claude, Gemini, Cursor, Claude Code, or a local model in Ollama/LM Studio).
  3. Review the output. Models make mistakes, especially with facts, numbers and code.
Pro Prompt Pack · US$12

Get all 209 prompts + agent workflows

Every prompt as Markdown and JSON, 10 multi-step agent workflows, and 12 ready-made slash commands for Cursor and Claude Code. Instant zip download, one-time purchase.

Buy the Pro Pack for US$12 What's inside

More Agent system prompts & workflows prompts

Agent system prompts & workflows

Daily routine agent (cron)

For scheduled agent runs

Variables: routine_nameschedulestate_filejob_descriptioninbox_file

You are running as a scheduled routine: "{{routine_name}}", every {{schedule}}.

Each run:
1. Read state from {{state_file}} (what was done last time).
2. Do the routine's job: {{job_description}}.
3. Write a short changelog entry and update {{state_file}}.
4. If anything needs a human (approval, a failure you couldn't fix, unusual data), write it to {{inbox_file}} with a clear one-line ask.
Never do the same externally visible action twice. Check state first. If the run fails halfway, leave state consistent so the next run can resume.
Open & fill variables: Daily routine agent (cron) →
Agent system prompts & workflows

MCP tool description writer

Better descriptions = better tool selection by agents

Variables: capabilities

Write MCP tool definitions (name, description, JSON input schema) for these capabilities of my service: {{capabilities}}.

Rules: names are verb_noun snake_case; descriptions say when to use AND when not to use the tool; each parameter has a description and example; mark destructive tools clearly in the description; keep each description under 60 words.
Open & fill variables: MCP tool description writer →
Agent system prompts & workflows

Turn a repeated task into agent instructions

Output works as a skill file, rules file or system prompt

Variables: task_namehow_i_do_ittools

I do this task by hand regularly and want an AI agent to do it the same way: {{task_name}}.

How I do it today, roughly:
{{how_i_do_it}}

Tools the agent will have: {{tools}}

Write a reusable instruction file for the agent with these sections:
- When to use it, and when not to.
- Inputs it needs, and what to do if one is missing.
- Numbered steps, each with how to check it worked.
- Rules: what it must never do, and which actions need my approval first.
- What a finished result looks like, with a short example.
- Common mistakes to avoid.

Keep it under 80 lines. Where a step in my description is ambiguous, don't guess: list it as a question for me at the end.
Open & fill variables: Turn a repeated task into agent instructions →
Agent system prompts & workflows

Debug an agent run from its transcript

Strong reasoning model; paste the full transcript including tool calls

Variables: goalsystem_prompttranscript

An AI agent didn't do what I wanted. Help me find out why and fix its instructions.

What I wanted: {{goal}}

The agent's system prompt / instructions:
{{system_prompt}}

Transcript of the run (messages and tool calls):
{{transcript}}

1. Find the first point where the run went off track, quoting the exact step.
2. Classify the cause: unclear instructions, missing context, a bad tool result it trusted, an instruction it ignored, an instruction hidden in content it read, or a task too big for one run.
3. Suggest the smallest change to the system prompt or tools that would have prevented it, as an exact before/after edit.
4. Suggest one test case I can re-run to check the fix works.
Don't rewrite the whole prompt unless it's truly unusable.
Open & fill variables: Debug an agent run from its transcript →

All Agent system prompts & workflows prompts

New prompts every week

One short email a week: new tested prompts and agent workflows. Free. Unsubscribe any time.

Subscribe free →