capture-learnings
Skill này làm gì
Skill này giải thích cách agent lưu các ghi chú bền vững vào bộ nhớ của mình. Nó bao gồm kiến thức nhóm và bộ nhớ cá nhân, cùng bốn loại bộ nhớ. Skill dành cho người muốn agent học từ phản hồi và sở thích theo thời gian.
Khi nào nên dùng
- ✓Khi bạn đưa ra phản hồi hoặc sửa một lỗi mà agent đã mắc.
- ✓Khi bạn chia sẻ một sở thích hoặc thông tin về vai trò hay dự án của mình.
- ✓Khi bạn phát hiện một chi tiết hữu ích nên được ghi nhớ cho lần sau.
Liên kết skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/capture-learnings/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy nhớ rằng tôi thích các bản tóm tắt ngắn với gạch đầu dòng cho mọi báo cáo sau này.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent lưu ghi chú thành một bộ nhớ với loại như user, feedback, project hoặc reference. Các bộ nhớ được tải khi bắt đầu những cuộc trò chuyện sau.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Bộ nhớ được lưu ở đâu?
Chúng được lưu dưới dạng bản ghi trong cơ sở dữ liệu của ứng dụng, không phải file trên đĩa.
Ai có thể thấy bộ nhớ của nhóm?
Ghi chú nhóm chia sẻ chỉ hiển thị bên trong tổ chức đang hoạt động.
Tôi có thể xóa một bộ nhớ không?
Có. Skill có một lệnh để xóa bộ nhớ theo tên.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.6k
- Vị trí xếp hạng
- #13143
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
design-exploration
7.6kGiúp agent của bạn khám phá nhiều hướng thiết kế giao diện song song, để bạn chọn một hướng rồi tinh chỉnh thiết kế đã chọn.
visual-edit
7.6kGiúp agent của bạn mở một ứng dụng cục bộ đang chạy trong trình chỉnh sửa trực quan, để bạn xem và sửa các màn hình thật cùng nhau.
turn-into-app
7.6kBiến quy trình, bảng tính hoặc dự án thành ứng dụng trực quan có màn hình đầy đủ dữ liệu, với agent làm việc phía sau các điều khiển.
visual-plan
7.6kBiến một kế hoạch viết bằng văn bản thuần thành kế hoạch trực quan tương tác, có sơ đồ, bản đồ file, đoạn code và các câu hỏi còn mở.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.