Turn your agent's past wins and failures into a lessons file it reads before every task: AI agent prompt

Most agents start every task like a new intern. Have one study the transcripts of past attempts, what worked and what failed, and write a short lessons file of your preferences, conventions and gotchas that it reads before the next similar job. Letta released FrontierMemory 1.0 in October 2026, a benchmark that scores agents on how much memory written from 674 past attempts (184 passes, 490 failures) helps them solve related tasks; the top models reached 73.3%, and Letta notes many agent products now 'dream' over past sessions to improve their memory.

Curated by AgentPlaybook Real Estate · How we make and check prompts

Personal ProductivityAgent memoryintermediate

The prompt

You're my agent's coach. Below are transcripts or notes from past attempts at [type of task, e.g. writing client reports / fixing bugs in our app / preparing invoices], each marked WORKED or FAILED, plus any feedback I gave: [paste]. Write a lessons file under 400 words with: 1) my preferences (format, tone, length, what I always change); 2) rules and conventions that weren't written down but mattered; 3) gotchas in our tools, files or data that caused failures, and how to avoid them; 4) a short checklist to run before calling the task done. Only include lessons backed by the transcripts, and note which attempt each one came from. Skip one-off details. I'll paste this file at the start of every similar task, so keep it tidy and update it when new attempts contradict it.
Open in ChatGPT Open in Claude Perplexity Download as agent skill (SKILL.md)

How to use it

  1. Copy the prompt above.
  2. Replace every [bracket] with your own details (or fill in the blanks on AgentPlaybook Real Estate, which remembers your answers for the next prompt).
  3. Paste it into ChatGPT, Claude, Claude Code and review the answer before you use it.

Works with: ChatGPT, Claude, Claude Code, Codex, Letta

Real-world example: frontiermemory.com/blog/v1/

Featured in: AI prompts to summarize meetings, notes, documents and reports

Before you use it: what to check

Check yourself

Using an AI agent? Download this prompt as a SKILL.md agent skill with these checks built in, or get the .zip for Claude.ai. How to install skills.

Share:Post on XLinkedInFacebookRedditWhatsApp
</> Embed this prompt on your site

Paste this HTML into your blog or website. It's a plain card with no tracking scripts that links back to this prompt.

Want to make this prompt even better? Grade it with the free prompt grader or build your own with the AI prompt generator.

Get the free Solo Founder Stack pack

32 copy-paste agent prompts (PDF) plus 5 new prompts every week.

Get it free

More Personal Productivity prompts

Plan my weekPlanning · beginnerSummarize a long documentDocuments · beginner · worked exampleLearn any topic fastLearning · beginnerRemove yourself from data brokersPrivacy · beginnerCoordinate a group plan in one chat threadGroup planning · beginnerTurn the podcasts you hear into a personal wikiPersonal knowledge · intermediate

See all Personal Productivity prompts →

Related prompts from other teams

Human handoff summaryCustomer Support · intermediateAccount research briefSales · beginnerCall notes to follow-up emailSales · beginner · worked exampleWeekly newsletter drafterContent · beginner · worked example