Para Memory Files 标志

Para Memory Files

社区
Undertone0809
para-memory-files

基于 Tiago Forte 的 PARA 方法构建的文件式记忆系统。需要跨会话存储、检索、更新或整理知识时,均使用此技能。它涵盖三个记忆层: (1) 以 PARA 文件夹组织的知识图谱,包含原子化 YAML 事实;(2) 作为原始时间线的每日笔记;(3) 关于用户模式的隐性知识。它还可处理共享工作文件、记忆衰减、每周综合整理、Rudder 聊天与智能体工作记录,以及基于文件的回忆。任何记忆操作都可触发此技能:保存事实、撰写每日笔记、创建实体、运行每周综合整理、回忆过往上下文,或管理共享工作笔记。

Add to TypingMind

概览

发布者Undertone0809
代码仓库rudder
技能名称para-memory-files
星标数
290
复刻数
31
附带文件
2
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Undertone0809 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Para Memory Files AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Undertone0809/rudder/tree/main/server/resources/bundled-skills/para-memory-files
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Para Memory Files,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Para Memory Files。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Para Memory Files 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Para Memory Files AI 技能有什么作用?

基于 Tiago Forte 的 PARA 方法构建的文件式记忆系统。需要跨会话存储、检索、更新或整理知识时,均使用此技能。它涵盖三个记忆层: (1) 以 PARA 文件夹组织的知识图谱,包含原子化 YAML 事实;(2) 作为原始时间线的每日笔记;(3) 关于用户模式的隐性知识。它还可处理共享工作文件、记忆衰减、每周综合整理、Rudder 聊天与智能体工作记录,以及基于文件的回忆。任何记忆操作都可触发此技能:保存事实、撰写每日笔记、创建实体、运行每周综合整理、回忆过往上下文,或管理共享工作笔记。

为什么在 TypingMind 中使用 Para Memory Files?

因为您只需安装一次,就能搭配任何模型使用。Para Memory Files 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Para Memory Files?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Undertone0809/rudder/tree/main/server/resources/bundled-skills/para-memory-files。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Para Memory Files?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Para Memory Files 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Para Memory Files 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Para Memory Files AI 技能免费吗?

是的。Undertone0809 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇