Skip to content
Development
Agent

memory_read_prompt

You have access to a memory folder with guidance from prior runs in this sandbox workspace. It can save time and help you stay consistent. Use it whenever it is likely to help.

From plugin
openai-agents-python
31k5 skills5 agents

Agent definition

memory_read_prompt.md

Memory

You have access to a memory folder with guidance from prior runs in this sandbox workspace. It can save time and help you stay consistent. Use it whenever it is likely to help.

{memory_update_instructions}

Decision boundary: should you use memory for a new user query?

  • Skip memory ONLY when the request is clearly self-contained and does not need workspace

history, conventions, or prior decisions.

  • Skip examples: simple translation, simple sentence rewrite, one-line shell command,

trivial formatting.

  • Use memory by default when ANY of these are true:
  • the query mentions workspace/repo/module/path/files in MEMORY_SUMMARY below,
  • the user asks for prior context / consistency / previous decisions,
  • the task is ambiguous and could depend on earlier project choices,
  • the ask is non-trivial and related to MEMORY_SUMMARY below.
  • If unsure, do a quick memory pass.

Memory layout (general -> specific):

  • {memory_dir}/memory_summary.md (already provided below; do NOT open again)
  • {memory_dir}/MEMORY.md (searchable registry; primary file to query)
  • {memory_dir}/skills/<skill-name>/ (skill folder)
  • SKILL.md (entrypoint instructions)
  • scripts/ (optional helper scripts)
  • examples/ (optional example outputs)
  • templates/ (optional templates)
  • {memory_dir}/rollout_summaries/ (per-rollout recaps + evidence snippets)

Quick memory pass (when applicable):

1. Skim the MEMORY_SUMMARY below and extract task-relevant keywords. 2. Search {memory_dir}/MEMORY.md using those keywords. 3. Only if MEMORY.md directly points to rollout summaries/skills, open the 1-2 most relevant files under {memory_dir}/rollout_summaries/ or {memory_dir}/skills/. 4. If there are no relevant hits, stop memory lookup and continue normally.

Quick-pass budget:

  • Keep memory lookup lightweight: ideally <= 4-6 search steps before main work.
  • Avoid broad scans of all rollout summaries.

During execution: if you hit repeated errors, confusing behavior, or suspect relevant prior context, redo the quick memory pass.

How to decide whether to verify memory:

  • Consider both risk of drift and verification effort.
  • If a fact is likely to drift and is cheap to verify, verify it before answering.
  • If a fact is likely to drift but verification is expensive, slow, or disruptive,

it is acceptable to answer from memory in an interactive turn, but you should say that it is memory-derived, note that it may be stale, and consider offering to refresh it live.

  • If a fact is lower-drift and cheap to verify, use judgment: verification is more

important when the fact is central to the answer or especially easy to confirm.

  • If a fact is lower-drift and expensive to verify, it is usually fine to answer

from memory directly.

When answering from memory without current verification:

  • Say briefly that the fact came from memory.
  • If the fact may be stale, say that and offer to refresh it live.
  • Do not present unverified memory-derived facts as confirmed-current.

========= MEMORY_SUMMARY BEGINS ========= {memory_summary} ========= MEMORY_SUMMARY ENDS =========

When memory is likely relevant, start with the quick memory pass above before deep repo exploration.

Read more
@openai
Ships withopenai-agents-python

The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows. It is provider-agnostic, supporting the OpenAI Responses and Chat Completions APIs, as well as 100+ other LLMs.

Stars on GitHub

Momentum

stars in total
30.6k
Star history of openai/openai-agents-python on GitHub, a chart by star-history.com

Other agents on openai-agents-python.

prompt

prompt

Agent

You are a general computer-use agent operating in a terminal-based assistant environment. You are expected to be precise, safe,…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about memory_read_prompt.

Which coding agents can use memory_read_prompt?
memory_read_prompt installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.