Para Memory Files

作者 paperclipai3d1d5294d994無授權條款98K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Use a file-based PARA memory system to store, retrieve, and organize durable knowledge across sessions. Trigger on saving facts, daily notes, entity records, weekly synthesis, recall, tacit user patterns, or plan memory.

AI 產生的概覽

以檔案為基礎的 PARA 系統整理代理長期記憶,包含實體紀錄、每日筆記與隱性知識。

功能
定義一套以 $AGENT_HOME 為根目錄的三層檔案式記憶系統:由實體資料夾組成的 PARA 知識圖譜(內含 summary.md 與 items.yaml)、位於 memory/YYYY-MM-DD.md 的每日筆記,以及記錄使用者習慣的 MEMORY.md。它規定了建立實體的條件、保存與取代事實的規則、封存非活躍項目,以及每週重寫摘要的做法。也說明如何透過 qmd 搜尋工具進行回想,並在 plans/ 目錄中保存帶時間戳記的計畫檔案。
適用情境
適用於代理需要跨工作階段保存事實、筆記、實體紀錄或使用者偏好的情境。也適合回想先前的脈絡、每週彙整累積的筆記,以及維護其他代理可讀取的計畫。
執行需求
僅為說明性內容,不附帶指令碼。需要 $AGENT_HOME 目錄,以及用於索引與搜尋記憶檔案的 qmd 命令列工具。參考文件 references/schemas.md 提供事實的 YAML 結構與記憶衰減規則。

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 [blocked].

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

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

  • Write continuously during conversations.
  • Extract durable facts to Layer 1 during heartbeats.

Layer 3: Tacit Knowledge ($AGENT_HOME/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.

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.
  • Learn a lesson -> update AGENTS.md, TOOLS.md, or the relevant skill file.
  • 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 qmd

Use qmd rather than grepping files:

bash
qmd query "what happened at Christmas"   # Semantic search with rerankingqmd search "specific phrase"              # BM25 keyword searchqmd vsearch "conceptual question"         # Pure vector similarity

Index your personal folder: qmd index $AGENT_HOME

Vectors + BM25 + reranking finds things even when the wording differs.

Planning

Keep plans in timestamped files in plans/ at the project root (outside personal memory so other agents can access them). Use qmd to search plans. Plans go stale -- if a newer plan exists, do not confuse yourself with an older version. If you notice staleness, update the file to note what it is supersededBy.

來源與署名

來源:paperclipai/paperclip位於skills/para-memory-files提交3d1d529

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架