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 从公开仓库中收录这些内容。

举报或申请下架