capture-learnings
できること
このスキルは、エージェントが永続的なメモをメモリに保存する仕組みを説明します。チームの知識と個人のメモリ、4つのメモリの種類を扱います。エージェントがフィードバックや好みから時間をかけて学ぶことを望む人向けです。
使う場面
- ✓フィードバックを伝えたり、エージェントの間違いを修正したりしたとき。
- ✓自分の役割やプロジェクトについての好みや事実を共有したとき。
- ✓次回も覚えておくべき役立つ詳細を見つけたとき。
スキルのリンク
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/capture-learnings/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“今後のすべてのレポートでは、箇条書きの短い要約を好むことを覚えておいてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、そのメモを、user、feedback、project、referenceなどの種類を持つメモリとして保存します。メモリは、後の会話の始めに読み込まれます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
メモリはどこに保存されますか?
ファイルとしてディスクに置かれるのではなく、アプリのデータベースのレコードとして保存されます。
チームのメモリは誰が見られますか?
共有のチームのメモは、アクティブな組織の中でだけ見られます。
メモリを削除できますか?
はい。スキルには、名前を指定してメモリを削除するコマンドが含まれています。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 7.6k
- ランキング
- #13143
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
design-exploration
7.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
visual-edit
7.6k実行中のローカルのアプリをビジュアルエディターで開き、本物の画面をまとめて確認し編集できるようエージェントを支援します。
turn-into-app
7.6kワークフロー、スプレッドシート、プロジェクトを、画面にデータが入り、操作の裏でエージェントが働く、洗練されたビジュアルアプリに変えます。
visual-plan
7.6kプレーンテキストの計画を、図、ファイルのマップ、コードの断片、未解決の質問を含む、対話できるビジュアルな計画に変えます。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。