Logo Memory Curation

Memory Curation

Tổ chứcPhổ biến
Prismer-AI
memory-curation

When you have read / processed a workspace asset in this session and learned something durable about it, write a memory page so future sessions benefit. Maintain the workspace wiki's hierarchical structure as it grows.

Tổng quan

Nhà phát hànhPrismer-AI
Kho mãPrismerCloud
Tên kỹ năngmemory-curation
Sao
1.6K
Bản fork
14
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Prismer-AI công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Memory Curation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/prismer-cloud/built-in-skills/memory-curation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git /tmp/PrismerCloud
mkdir -p .claude/skills
cp -r /tmp/PrismerCloud/sdk/prismer-cloud/built-in-skills/memory-curation .claude/skills/memory-curation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Memory Curation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Memory Curation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Memory Curation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Memory Curation Skill

You have access to a workspace memory layer. Every workspace asset (file uploaded to this workspace) is indexed by metadata only — filename, mime, size, optional description, timestamps. The system does not pre-process file contents.

To inspect assets, use bounded asset tools:

  • prismer.asset.search to find candidate files
  • prismer.asset.describe before reading bytes
  • prismer.asset.read for explicit byte ranges only

Do not claim to have read an asset unless one of these tool calls succeeded.

Your job: when you actually open / read / analyze an asset and learn something durable about it, record what you learned so future sessions don't repeat the work.

When to write a memory page

Write a memory page after handling an asset if and only if all of these are true:

  1. You actually read the asset content (not just listed it).
  2. You produced an analysis, decision, or summary that is non-trivial — not "this file is a CSV with 1000 rows" but "this CSV is Q4 sales data with revenue collapse in region APAC".
  3. The conclusion is durable — it will still matter weeks from now.
  4. The conclusion is not derivable from the asset metadata alone or from re-reading the asset directly.

Do not write a memory page for:

  • Files you only listed / saw in a directory listing
  • Trivial summaries ("this is a PDF about marketing")
  • Conversation context that belongs in the session, not in long-term memory
  • Process artifacts: build logs, temporary downloads, cache files, scratch outputs
  • Anything the user explicitly asked you not to remember

What to write

Format: short Markdown page (typical 200-1000 words). Required structure:

markdown
# <Short descriptive title>

**Source:** [original-filename.ext](prismer://workspace/<wid>/asset/<contentHash>)

**Why this matters:** one sentence explaining the durable conclusion.

<body — your actual analysis / decision / summary>

## Provenance
- Session: <session id or date>
- Tools used: <which tools/skills you ran on this asset>

Use prismer:// URIs for any cross-reference to other assets, memory pages, tasks, etc. This is the wiki link form — agents in future sessions navigate by following these.

Where to put it

Path convention:

memory/<topic>/<source-slug>.md         ← leaf page about one source
memory/<topic>/<source-slug>/<aspect>.md ← finer-grained aspect of one source

<topic> is your judgment: datasets, customer-research, architecture, etc. If you are uncertain, default to the asset's content kind (datasets/ for tabular, documents/ for text-heavy, etc.). The Dream consolidation phase will reorganize sub-optimal placements.

Index hygiene (important)

The workspace has a top-level INDEX.md that points to memory pages. Do not write directly into INDEX.md — the system maintains it. Just write your page at the right path and the indexer will pick it up.

If you notice the top-level INDEX already has >200 entries, do not create a fresh top-level page. Instead nest under an existing sub-index (e.g. memory/datasets/INDEX.md if it exists). The Dream phase will rebalance the hierarchy when it ticks.

Hub merging

If you write a page about a topic and there is already a hub page for the same topic (check via memory_search before writing), append to or update the existing hub rather than creating a sibling. Hub merging at runtime keeps the wiki coherent and reduces work for the Dream phase later.

Deduplication

Before writing, run memory_search with terms drawn from the asset content. If a memory page already contains the same conclusion, do nothing. If a memory page contains a different conclusion about the same source, do not silently overwrite — append a note or update with an explicit reason.

What the Dream phase will do for you

You do not need to be perfect. The Dream phase runs periodically (typically idle ≥ 5 minutes or session boundaries) and will:

  • Merge duplicates you missed
  • Cluster N pages about one topic into a new sub-hub
  • Mark stale pages (when the source asset was deleted or the conclusion contradicts a newer page)
  • Prune low-signal pages that were never recalled and never linked
  • Enforce top-level INDEX size invariants

This means: if you are uncertain whether a memory is worth writing, err on the side of not writing. Dream cannot reconstruct missing knowledge, but Dream can prune excess writes.

Anti-patterns

  • ❌ Writing one memory page per asset by default. Most assets are noise; only a fraction yield durable knowledge.
  • ❌ Writing memory pages with content equal to a paste of the asset itself. Memory is for conclusions, not raw content (the raw is already in the asset).
  • ❌ Writing memory pages for files the user said to ignore.
  • ❌ Editing INDEX.md directly.
  • ❌ Creating new top-level INDEX entries when one already exists for the topic.

Anti-pattern detector (rhetorical check)

Before saving, ask yourself: "If I encounter this memory page 6 months from now in a different session, will it tell me something that re-reading the source asset would not?" If the answer is no, do not save.

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

Kỹ năng AI Memory Curation làm được gì?

When you have read / processed a workspace asset in this session and learned something durable about it, write a memory page so future sessions benefit. Maintain the workspace wiki's hierarchical structure as it grows.

Vì sao nên dùng Memory Curation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Memory Curation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Memory Curation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Prismer-AI/PrismerCloud/tree/main/sdk/prismer-cloud/built-in-skills/memory-curation. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Memory Curation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Memory Curation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Memory Curation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Memory Curation có miễn phí không?

Có. Kỹ năng này được Prismer-AI phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇