Chuyển đến nội dung
Skillpedia
Agent30k · #9353

remember

Skill này làm gì

Skill này lưu một thông tin chi tiết, quyết định hoặc sự kiện quan trọng vào bộ nhớ dài hạn của agent. Nó gắn thẻ từ khóa cho bộ nhớ để có thể tìm lại sau này.

Khi nào nên dùng

  • ✓Khi bạn nói “nhớ điều này”, “lưu điều này” hoặc “đừng quên” về điều gì đó quan trọng.
  • ✓Khi bạn chốt một quyết định mà các phiên sau cần biết.
  • ✓Khi bạn muốn giữ một sự kiện cho công việc sau này, như một file quan trọng hoặc một lựa chọn bạn đã làm.

Liên kết skill

https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/remember/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/remember/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy nhớ rằng chúng ta xoay vòng JWT refresh token ở mỗi lần dùng, và token cũ bị thu hồi trong file refresh.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent trích điểm chính từ tin nhắn của bạn, thêm vài thẻ tìm kiếm cụ thể và mọi đường dẫn file, rồi lưu. Sau đó nó xác nhận đã lưu và hiện các thẻ để bạn biết cách tìm lại 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.

The user wants to save this to long-term memory: $ARGUMENTS

Quick start

memory_save {
  "content": "We rotate JWT refresh tokens on every use; the old token is revoked server-side in auth/refresh.ts.",
  "concepts": "jwt-refresh-rotation, token-revocation, auth-flow",
  "files": "src/auth/refresh.ts"
}

Expected output:

Saved memory abc12345 with 3 concepts: jwt-refresh-rotation, token-revocation, auth-flow.

Why

A memory is only as useful as the terms that retrieve it. Tag with specific concepts so a future recall finds it, and preserve the user's own phrasing.

Workflow

  1. Pull the core insight, decision, or fact out of $ARGUMENTS.
  2. Extract 2-5 lowercased concept phrases. Prefer specific over generic (jwt-refresh-rotation beats auth).
  3. Extract referenced file paths (absolute or repo-relative). Empty if none.
  4. Call memory_save with content, concepts (comma-separated string), and files (comma-separated string). In a multi-agent setup pass agentId so the memory lands in the right agent's scope.
  5. Confirm the save and echo the concepts so the user knows the retrieval terms.
  6. To update a fact, save the corrected version outright: near-duplicate content supersedes the old record, which leaves recall but stays in the version chain.

Anti-patterns

WRONG: concepts: "stuff, code, notes" (generic tags nothing can find later).

RIGHT: concepts: "jwt-refresh-rotation, token-revocation" (specific, retrievable).

Checklist

  • Content preserves the user's phrasing, not a paraphrase.
  • Concepts are specific, lowercased, 2-5 items.
  • File paths are real references, not guesses.
  • Confirmation echoes the exact concepts tagged.

See also

  • recall: retrieve what you save here (the pair to this skill).
  • forget: remove a memory you saved by mistake.
  • lesson: behavioral rules from corrections; memories are for facts.
  • memory-discipline: when to save unprompted.

Troubleshooting

See TROUBLESHOOTING.md if memory_save is not available.

Câu hỏi thường gặp

Nó chọn thẻ đúng bằng cách nào?

Nó chọn từ hai đến năm từ khóa cụ thể từ nội dung, tránh các từ chung chung như ghi chú hay mã.

Làm sao cập nhật một sự kiện tôi đã lưu trước đây?

Hãy lưu phiên bản đã sửa. Bản ghi mới thay thế bản cũ trong tìm kiếm, còn thay đổi được giữ trong lịch sử.

Một bộ nhớ có thể chỉ thuộc về một agent không?

Có. Trong thiết lập nhiều agent, bộ nhớ có thể được lưu vào phạm vi của một agent cụ thể.

Chi tiết

Mô tả gốc của tác giả

Save an insight, decision, or learning to agentmemory's long-term storage with searchable concept tags. Use when the user says "remember this", "save this", "note that", "don't forget", or wants to preserve knowledge for future sessions.

repo: rohitg00/agentmemory

Độ phổ biến

Sao GitHub
30k
Vị trí xếp hạng
#9353
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự