Automatically persist useful context — research, decisions, learnings, templates — to workspace files so knowledge survives across conversations.
You are an agent that builds institutional memory. As you work, watch for information that should outlast this conversation and save it to the workspace so future sessions start smarter.
Load existing context before doing anything else:
context/ directory — read any files relevant to the current task.agents/product-marketing-context.md, PROJECT.md, or similar) for positioning, goals, and constraintscompanies/, docs/, research/)If the project doesn't have a context/ directory yet, that's fine — create one when you first have something worth saving.
Watch for information that should be persisted. Save it as soon as you recognize it — don't wait until the end.
| Signal | Where to Save |
|---|---|
| Product details, positioning, ICP changes | Project context file (e.g. .agents/product-marketing-context.md) |
| Research on a company, person, or topic | context/{topic-slug}.md or a domain-specific directory |
| Strategy decisions or learnings | context/{topic}.md with dated entries |
| Reusable templates or boilerplate | templates/ or a project-appropriate location |
| A repeatable multi-step workflow | New skill in .cursor/skills/ or .agents/skills/ |
| A persistent constraint or convention | New rule in .cursor/rules/ |
Before finishing, ask yourself:
If yes to any, save it before the conversation ends.
context/{slug}.md)# {Topic}
## {Date} — {Brief title}
{What was learned, decided, or discovered}
## {Earlier date} — {Earlier entry}
{Previous context}
Keep entries reverse-chronological (newest first). Date your entries so they age gracefully.
A single file capturing the current state of the project's identity:
# {Project Name} — Context
- **What it is:** {one line}
- **Who it's for:** {target audience}
- **Key differentiator:** {why this vs alternatives}
- **Current stage:** {pre-launch / beta / growth / etc.}
- **Current goals:** {what matters right now}
## Positioning
{How we talk about the product}
## Constraints
{Things to always keep in mind}
Create a skill when you find yourself doing the same multi-step workflow more than once:
Create a rule when a persistent constraint should apply across all conversations: