capture-learnings
What it does
This skill explains how an agent stores durable notes in its memory. It covers team knowledge and personal memory, and the four memory types. It is for people who want their agent to learn from feedback and preferences over time.
When to use it
- βWhen you give feedback or correct a mistake the agent made.
- βWhen you share a preference or a fact about your role or your project.
- βWhen you discover a useful detail that should be remembered next time.
Skill link
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/capture-learnings/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βPlease remember that I prefer short summaries with bullet points for all future reports.β
5 new skills a week. 1 minute to read.
How it works
The agent saves the note as a memory with a type such as user, feedback, project or reference. Memories are loaded at the start of later conversations.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Capture Learnings
This is background knowledge, not a slash command. Organization learnings and your personal memory index are loaded at the start of every conversation, including Slack/integration turns. Capture durable context proactively when you learn something worth remembering.
How to Read & Write Memories
Memories are stored as resources in the SQL database, not as files on disk.
Team/organization knowledge: shared
LEARNINGS.md. Read it first, merge the new fact, then write the full updated file with theresourcestool usingscope: "shared". Shared scope resolves to the active organization; it must never leak to another organization in the same deployment.Personal knowledge:
memory/MEMORY.mdplusmemory/<name>.md, written withsave-memory.Save a memory:
save-memory --name <name> --type <type> --description "..." --content "..."Read a memory:
resource-read --path memory/<name>.mdDelete a memory:
delete-memory --name <name>List all memories:
resource-list --prefix memory/
Memory Types
| Type | Use for |
|---|---|
user |
Preferences, role, personal context, contacts |
feedback |
Corrections, confirmed approaches, things to avoid or repeat |
project |
Ongoing work context, decisions, deadlines, status |
reference |
Pointers to external systems, URLs, API details |
When to Capture
Follow the user's personal memory/INSTRUCTIONS.md when deciding what to
preserve or leave out. It is loaded automatically with the user's personal
AGENTS.md instructions.
At the natural stopping point of a meaningful multi-turn task, review the conversation for durable preferences, corrections, decisions, conventions, or project context that would improve a future thread. Save only new, supported facts; completed task details and temporary debugging notes stay in the thread.
Team and organization knowledge (LEARNINGS.md, shared scope)
- Canonical destinations and workflows (for example, which Content database receives a type of Slack request)
- Required intake fields, ownership, prioritization conventions, metric definitions, and approved terminology
- Durable external references that the whole team needs, including the canonical page/database URL
- Corrections or decisions that should affect every organization member's future Slack and app conversations
Store the fact and a concise provenance link when available. Do not paste full private conversations, customer data, credentials, or secrets into learnings. Put stable always-on policy in shared AGENTS.md; put learned facts and evolving conventions in shared LEARNINGS.md.
User Preferences & Memory (user)
- Tone and style β "I prefer casual tone", "don't use emojis", "keep replies short"
- Personal context β contacts, relationships, habits ("my wife's email is...", "I'm in PST timezone")
- Workflow preferences β "always CC my assistant", "I like to review before sending"
- Role and expertise β "I'm a data scientist", "new to React"
Feedback & Corrections (feedback)
- Corrections β user says "no, do it this way" β capture the right way
- Confirmed approaches β user validates a non-obvious choice ("yes, that's perfect")
- Repeated friction β you hit the same issue twice; save it
Project Context (project)
- Ongoing work β who is doing what, why, by when
- Decisions β why something is done a certain way
- Status β current state of initiatives
References (reference)
- External systems β "bugs are tracked in Linear project INGEST"
- URLs β dashboards, documentation, tools
- API quirks β undocumented behavior, version-specific gotchas
Don't Capture
- Things obvious from reading the code
- Standard language/framework behavior
- Temporary debugging notes
- Anything already in AGENTS.md, shared LEARNINGS.md, or skills
- Ephemeral task details (use tasks/plans instead)
Key Rules
- Save proactively β don't ask permission. When you learn something durable, save it immediately at the correct scope.
- Choose scope by audience. Organization workflow or reference β shared
LEARNINGS.md; one person's preference/context β personal memory. - One memory per topic β e.g.
coding-style,project-alpha, not one giant dump - Read before updating β if a memory exists, read it first and merge, don't overwrite
- Make memories retrievable β concise descriptions include name
FAQ
Where are memories stored?
They are stored as records in the app's database, not as files on disk.
Who can see team memories?
Shared team notes are visible only inside the active organization.
Can I delete a memory?
Yes. The skill includes a command to delete a memory by name.
Details
Original description by the author
Capture and apply accumulated knowledge via structured memory. Use when the user gives feedback, shares preferences, corrects a mistake, or when you discover something worth remembering for future conversations.
repo: BuilderIO/agent-native
Popularity
- GitHub stars
- 7.6k
- Ranking position
- #13143
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
design-exploration
7.6kHelps your agent explore several UI design directions side by side, let you pick one, and then refine the chosen design.
visual-edit
7.6kHelps your agent open a running local app in a visual editor so you can review and edit its real screens together.
turn-into-app
7.6kTurns a workflow, spreadsheet or project into a polished visual app, with populated screens and an agent working behind the controls.
visual-plan
7.6kTurns a plain text plan into an interactive visual plan with diagrams, file maps, code snippets and open questions.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.