Logo Para Memory Files

Para Memory Files

Cộng đồng
Undertone0809
para-memory-files

Hệ thống bộ nhớ dựa trên tệp, sử dụng phương pháp PARA của Tiago Forte. Dùng kỹ năng này mỗi khi cần lưu trữ, truy xuất, cập nhật hoặc sắp xếp kiến thức qua nhiều phiên. Hệ thống gồm ba lớp bộ nhớ: (1) Đồ thị tri thức trong các thư mục PARA với dữ kiện YAML nguyên tử, (2) Ghi chú hằng ngày dưới dạng dòng thời gian thô, (3) Kiến thức ngầm về các kiểu hành vi của người dùng. Kỹ năng này cũng xử lý tệp công việc dùng chung, sự mai một của bộ nhớ, tổng hợp hằng tuần, ghi lại công việc trong cuộc trò chuyện và với tác nhân của Rudder, cũng như truy xuất từ tệp. Hãy kích hoạt khi thực hiện bất kỳ thao tác nào với bộ nhớ: lưu dữ kiện, viết ghi chú hằng ngày, tạo thực thể, tổng hợp hằng tuần, truy xuất ngữ cảnh trước đây hoặc quản lý ghi chú công việc dùng chung.

Add to TypingMind

Tổng quan

Nhà phát hànhUndertone0809
Kho mãrudder
Tên kỹ năngpara-memory-files
Sao
290
Bản fork
31
Tệp đi kèm
2
Giấy phépApache-2.0
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ộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Undertone0809 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 Para Memory Files 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/Undertone0809/rudder/tree/main/server/resources/bundled-skills/para-memory-files
  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/Undertone0809/rudder.git /tmp/rudder
mkdir -p .claude/skills
cp -r /tmp/rudder/server/resources/bundled-skills/para-memory-files .claude/skills/para-memory-files
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 Para Memory Files 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 Para Memory Files 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 Para Memory Files 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.

PARA Memory Files

Persistent, file-based memory organized by Tiago Forte's PARA method. Three layers: a knowledge graph, daily notes, and tacit knowledge. All paths are relative to $AGENT_HOME.

Three Memory Layers

Layer 1: Knowledge Graph ($AGENT_HOME/life/ -- PARA)

Entity-based storage. Each entity gets a folder with two tiers:

  1. summary.md -- quick context, load first.
  2. items.yaml -- atomic facts, load on demand.
text
$AGENT_HOME/life/
  projects/          # Active work with clear goals/deadlines
    <name>/
      summary.md
      items.yaml
  areas/             # Ongoing responsibilities, no end date
    people/<name>/
    companies/<name>/
  resources/         # Reference material, topics of interest
    <topic>/
  archives/          # Inactive items from the other three
  index.md

PARA rules:

  • Projects -- active work with a goal or deadline. Move to archives when complete.
  • Areas -- ongoing (people, companies, responsibilities). No end date.
  • Resources -- reference material, topics of interest.
  • Archives -- inactive items from any category.

Fact rules:

  • Save durable facts immediately to items.yaml.
  • Weekly: rewrite summary.md from active facts.
  • Never delete facts. Supersede instead (status: superseded, add superseded_by).
  • When an entity goes inactive, move its folder to $AGENT_HOME/life/archives/.

When to create an entity:

  • Mentioned 3+ times, OR
  • Direct relationship to the user (family, coworker, partner, client), OR
  • Significant project or company in the user's life.
  • Otherwise, note it in daily notes.

For the atomic fact YAML schema and memory decay rules, see references/schemas.md.

Layer 2: Daily Notes ($AGENT_HOME/memory/YYYY-MM-DD.md)

Raw timeline of events -- the "when" layer.

  • Write continuously during conversations and agent work when a memory-worthy signal appears.
  • Extract durable facts to Layer 1 during heartbeats.
  • Treat daily notes as the first capture layer, not the final destination for stable preferences, entity facts, or shared project knowledge.
Conversation and Agent Work Capture Policy

Rudder chat conversations and agent execution events are memory sources when they contain durable signal, not because every chat line or routine action deserves retention. Capture a concise daily-note entry when a conversation, automation, issue run, review, close-out, or other agent work includes any of these:

  • User corrections that change how the agent should behave next time.
  • New or changed preferences, constraints, boundaries, or decisions.
  • Issue proposal intent, acceptance criteria, or priority reasoning that is not already explicit in the issue.
  • Automation design rationale, recurring workflow choices, or escalation rules.
  • Agent work patterns that should be repeatable, such as a better triage path, validation shortcut, environment workaround, review handoff, or runbook step.
  • Project/product/engineering judgment that will affect future work.
  • Attachment or screenshot evidence that changes task interpretation.
  • Reusable execution lessons, setup friction, validation findings, or failure modes that future runs should know.

Do not capture:

  • Greetings, thanks, scheduling chatter, or low-signal status updates.
  • Routine issue comments, heartbeat updates, command outputs, close-out summaries, or automation logs that add no new decision, correction, lesson, or reusable evidence beyond the source artifact.
  • Full private chat transcripts. Summarize the durable signal instead.
  • Secrets, tokens, credentials, private keys, session cookies, or auth headers.
  • One-time sensitive context that is not needed for future work.
  • Organization-level facts as private personal memory. Record only the routing decision in the daily note, then promote the fact to shared project knowledge.
  • Speculation, weak inferences, or unverified assumptions as facts.

Recommended daily-note entry format:

md
## HH:MM - Memory capture

- Context: conversation, issue, automation, run, or evidence reference; project;
  and why this mattered.
- User intent: the durable need, correction, preference, or decision.
- Conclusion/action: what changed or what was done.
- Reusable lesson: future behavior, command, routing rule, or validation signal.
- Follow-up/risk: unresolved uncertainty, owner, or promotion target.

Reference the Rudder conversation, issue, or local evidence path when available, but keep the note short enough that it can be safely scanned later.

Promotion and Routing Rules

Use daily notes as the intake log, then route the information:

  • Stable personal operating preferences or recurring user patterns -> $AGENT_HOME/instructions/MEMORY.md.
  • Entity facts about people, companies, projects, or resources -> $AGENT_HOME/life/<para-bucket>/<entity>/items.yaml.
  • Project proposals, decisions, reusable know-how, and shared work notes -> $RUDDER_PROJECT_LIBRARY_ROOT when project context exists, otherwise the relevant path under $RUDDER_ORG_WORKSPACE_ROOT.
  • Skill behavior problems or repeated workflow failures -> propose or make a skill patch in the relevant skill package. Do not hide organization-wide behavior fixes only in one agent's personal memory.
  • Secrets or sensitive one-time context -> do not write them to memory; record only a redacted operational lesson if future behavior genuinely depends on it.

During heartbeat synthesis, review recent chat captures and promote anything that has become stable, repeated, or shared. Leave the daily note as the audit trail even after promotion.

Layer 3: Tacit Knowledge ($AGENT_HOME/instructions/MEMORY.md)

How the user operates -- patterns, preferences, lessons learned.

  • Not facts about the world; facts about the user.
  • Update whenever you learn new operating patterns.
  • This file is part of the instruction bundle and is automatically loaded at runtime when present.

Write It Down -- No Mental Notes

Memory does not survive session restarts. Files do.

  • Want to remember something -> WRITE IT TO A FILE.
  • "Remember this" -> update $AGENT_HOME/memory/YYYY-MM-DD.md or the relevant entity file.
  • Stable user preferences or operating lessons -> update $AGENT_HOME/instructions/MEMORY.md.
  • Learn a lesson -> update AGENTS.md, TOOLS.md, or the relevant skill file.
  • Shared project knowledge -> update the project Library or organization workspace, then cite it with a Rudder-renderable link when reporting back.
  • Make a mistake -> document it so future-you does not repeat it.
  • On-disk text files are always better than holding it in temporary context.

Memory Recall -- Use File-Based Memory Search

Use the on-disk structure directly. Do not require a semantic index just to recall memory. The files are the source of truth; search is only the triage step for locating the right file, then claims must be verified against the stored fact or note.

Recall order:

  1. If you already know the entity, open summary.md first, then items.yaml only if the summary is insufficient.
  2. For recent events, read today's and nearby memory/YYYY-MM-DD.md files.
  3. For broad recall or unknown entity paths, run Memory Search Mode.

Memory Search Mode

Use this mode when the request sounds like "what do we know about...", "have we seen this before...", "what did the user prefer...", or when plain directory search would return too many matches.

  1. Define the search target in one sentence: subject, likely entity, timeframe, project, and answer shape.
  2. Build 3-6 focused query terms: exact phrase, synonyms, likely entity names, project names, and durable-signal words such as preference, decision, lesson, handoff, constraint, or review.
  3. Search scoped roots separately so results can be ranked by source type:
bash
rg -n -i "review|handoff|preference" "$AGENT_HOME/life" "$AGENT_HOME/memory"
rg -n -i "review|handoff|preference" "$RUDDER_PROJECT_LIBRARY_ROOT"
  1. Rank candidate files before opening many of them:
    • entity summary.md over items.yaml for quick context;
    • active items.yaml facts over superseded facts;
    • recent daily notes over old daily notes for event recall;
    • newest dated shared work notes over older notes;
    • files matching multiple query terms over single-term matches;
    • paths in the current project or organization over unrelated roots.
  2. Open the top 3-7 candidate files, not every match. Read enough surrounding context to verify the fact, date, status, and source.
  3. Answer from verified memory only. Cite the file paths used, mention conflicts or weak matches, and say when no reliable memory was found.

Do not dump raw rg output as the answer. Do not treat a keyword hit as a fact until the source file has been opened and checked.

Shared Work Notes

Keep durable project work notes under $RUDDER_PROJECT_LIBRARY_ROOT when a project is in scope and local filesystem access is available. These files are shared project context, not personal memory. Use $RUDDER_PROJECT_LIBRARY_PATH/<relative-file> when asking Rudder for a renderable reference to one of those files. Use rg to search relevant Library files and prefer the newest dated file when several match. Shared notes go stale; if a newer note exists, do not confuse yourself with an older version. If you notice staleness, update the file to note what supersedes it.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Hệ thống bộ nhớ dựa trên tệp, sử dụng phương pháp PARA của Tiago Forte. Dùng kỹ năng này mỗi khi cần lưu trữ, truy xuất, cập nhật hoặc sắp xếp kiến thức qua nhiều phiên. Hệ thống gồm ba lớp bộ nhớ: (1) Đồ thị tri thức trong các thư mục PARA với dữ kiện YAML nguyên tử, (2) Ghi chú hằng ngày dưới dạng dòng thời gian thô, (3) Kiến thức ngầm về các kiểu hành vi của người dùng. Kỹ năng này cũng xử lý tệp công việc dùng chung, sự mai một của bộ nhớ, tổng hợp hằng tuần, ghi lại công việc trong cuộc trò chuyện và với tác nhân của Rudder, cũng như truy xuất từ tệp. Hãy kích hoạt khi thực hiện bất kỳ...

Vì sao nên dùng Para Memory Files 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. Para Memory Files 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 Para Memory Files trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Undertone0809/rudder/tree/main/server/resources/bundled-skills/para-memory-files. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Para Memory Files?

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 Para Memory Files 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 Para Memory Files 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 Para Memory Files có miễn phí không?

Có. Kỹ năng này được Undertone0809 phát hành trên GitHub theo giấy phép Apache-2.0. 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 👇