当前位置: 首页 > Skill >

PARA Second Brain

PARA Second Brain

PARA Second Brain

使用 PARA(项目、领域、资源、归档)组织智能体知识并实现全面可搜索。符号链接技巧支持整个知识库的完整语义搜索(不仅限 MEMORY.md),并包含会话记录索引与内存刷新协议。智能体真正拥有了第二大脑。

2.0.1 2026.11.24 561
获取Skill文件查看使用说明
作 者:江禾 许可证: 更新时间:2026.11.24
本文目录展开

PARA Second Brain

Your agent's memory just got a massive upgrade. Full semantic search across your entire knowledge base — not just MEMORY.md.

What's New in v2.0

Before v2.0: memory_search only found content in MEMORY.md and daily logs. Your entire notes/ folder was invisible to search. You had to manually know where to look.

After v2.0: One symlink command makes your entire PARA knowledge base searchable. Ask about anything in your notes — it finds it. Plus session transcripts and memory flush protocol to prevent context loss.

Before After
Search only MEMORY.md + daily logs Search EVERYTHING
"I don't have that information" Finds it instantly
Context compaction = lost information Flush protocol saves critical context
Conversations forgotten Session transcripts indexed

What This Does

Creates a "second brain" structure that separates:

  • Raw capture (daily logs) from curated knowledge (MEMORY.md)
  • Active work (projects) from ongoing responsibilities (areas)
  • Reference material (resources) from completed work (archive)

How This Differs from Other Second Brain Skills

There's another popular second-brain skill powered by Ensue. Both are great — they solve different problems:

PARA Second Brain (this skill) Ensue Second Brain
Storage Local files in your workspace Cloud API (Ensue)
Cost Free, self-hosted Requires Ensue API key
Best for Work context, agent continuity, project tracking Evergreen knowledge base, semantic queries
Search Clawdbot's memory_search Ensue's vector search
Structure PARA (Projects/Areas/Resources/Archive) Namespaces (concepts/toolbox/patterns)
Use case "What did we decide yesterday?" "How does recursion work?"

Use this skill if: You want file-based memory that works offline, costs nothing, and tracks ongoing work context.

Use Ensue's skill if: You want a cloud-hosted knowledge base optimized for semantic "what do I know about X" queries.

Use both if: You want PARA for work context + Ensue for evergreen knowledge. They complement each other.

Quick Setup

1. Create Directory Structure

workspace/
├── MEMORY.md              # Curated long-term memory
├── memory/
│   └── YYYY-MM-DD.md      # Daily raw logs
└── notes/
    ├── projects/          # Active work with end dates
    ├── areas/             # Ongoing life responsibilities  
    ├── resources/         # Reference material
    │   └── templates/     # Content templates
    └── archive/           # Completed/inactive items

Run this to scaffold:

mkdir -p memory notes/projects notes/areas notes/resources/templates notes/archive

2. Make Notes Searchable (The Symlink Trick)

By default, memory_search only indexes MEMORY.md and memory/*.md. Your entire notes/ folder is invisible to semantic search!

Fix this with one command:

ln -s /path/to/your/workspace/notes /path/to/your/workspace/memory/notes

Example:

ln -s /Users/yourname/clawd/notes /Users/yourname/clawd/memory/notes

What this does: Creates a symbolic link so memory/notes/ points to your actual notes/ folder. Now Clawdbot's memory_search sees all your PARA notes.

Verify it worked:

ls -la memory/notes  # Should show: memory/notes -> /path/to/notes

Test the search: Ask your agent something that's in your notes but NOT in MEMORY.md. If it finds it, the symlink is working.

Why this matters:

Before After
Search only finds MEMORY.md + daily logs Search finds ALL your notes
Must manually know where to look Semantic search across everything
"I don't have that information" Finds connections you forgot existed

3. Enable Session Transcript Indexing

Make your past conversations searchable too. Add this to your Clawdbot config:

"memorySearch": {
  "sources": ["memory", "sessions"],
  "query": {
    "minScore": 0.3,
    "maxResults": 20
  }
}

What this does: Indexes your conversation transcripts alongside your notes. Now when you ask "what did we discuss about X last week?" — it can actually find it.

4. Initialize MEMORY.md

Create MEMORY.md in workspace root - this is your curated long-term memory:

# MEMORY.md — Long-Term Memory

## About [Human's Name]
- Role/occupation
- Key goals and motivations
- Communication preferences
- Important relationships

## Active Context
- Current focus areas
- Ongoing projects (summaries, not details)
- Deadlines or time-sensitive items

## Preferences & Patterns
- Tools and workflows they prefer
- Decision-making style
- Pet peeves and likes

## Lessons Learned
- What worked
- What didn't
- Principles discovered

## Key Dates
- Birthdays, anniversaries
- Recurring events
- Important milestones

5. Add to AGENTS.md

Add these instructions to your AGENTS.md:

## Memory

You wake up fresh each session. These files are your continuity:
- **Daily notes:** `memory/YYYY-MM-DD.md` — raw logs of what happened
- **Long-term:** `MEMORY.md` — curated memories (like human long-term memory)
- **Topic notes:** `notes/` — organized by PARA structure (all searchable via memory_search)

### Writing Rules
- If it has future value, write it down NOW
- Don't rely on "mental notes" — they don't survive restarts
- Text > Brain 📝

### PARA Structure
- **Projects** (`notes/projects/`) — Active work with end dates
- **Areas** (`notes/areas/`) — Ongoing responsibilities (health, finances, relationships)
- **Resources** (`notes/resources/`) — Reference material, how-tos, research
- **Archive** (`notes/archive/`) — Completed or inactive items

### Memory Flush Protocol
Monitor your context usage with `session_status`. Before compaction wipes your memory, flush important context to files:

| Context % | Action |
|-----------|--------|
| < 50% | Normal operation |
| 50-70% | Write key points after substantial exchanges |
| 70-85% | Active flushing — write everything important NOW |
| > 85% | Emergency flush — full summary before next response |
| After compaction | Note what context may have been lost |

**The rule:** Act on thresholds, not vibes. If it's important, write it down NOW.

Memory Flush Protocol (Critical!)

Your agent's context window is finite. When it fills up, older context gets compacted or lost. Don't lose important information.

How to Monitor

Run session_status periodically. Look for:

📚 Context: 36k/200k (18%) · 🧹 Compactions: 0

Threshold-Based Actions

Context % What to Do
< 50% Normal operation. Write decisions as they happen.
50-70% Increased vigilance. Write key points after each substantial exchange.
70-85% Active flushing. Write everything important to daily notes NOW.
> 85% Emergency flush. Stop and write full context summary before responding.
After compaction Immediately note what context may have been lost. Check continuity.

What to Flush

  1. Decisions made — what was decided and why
  2. Action items — who's doing what
  3. Open threads — anything unfinished → notes/areas/open-loops.md
  4. Working changes — if you discussed changes to files, make them NOW

Memory Flush Checklist

Before a long session ends or context gets high:

  • Key decisions documented?
  • Action items captured?
  • New learnings written to appropriate files?
  • Open loops noted for follow-up?
  • Could future-me continue this conversation from notes alone?

Knowledge Quality

The core question: "Will future-me thank me for this?"

What to Save

  • Concepts you actually understand (not half-learned ideas)
  • Tools you've actually used (not just heard about)
  • Patterns that worked (with concrete examples)
  • Lessons learned from mistakes

What NOT to Save

  • Half-understood concepts (learn first, save after)
  • Tools you haven't tried yet (bookmarks ≠ knowledge)
  • Shallow entries without the WHY
  • Duplicates of existing notes

Quality Gates

Before saving any curated note:

  1. Written for future self who forgot context?
  2. Includes WHY, not just WHAT?
  3. Has concrete examples or key insight?
  4. Structured for retrieval (scannable)?

Content Templates

Use these for structured, high-quality entries in notes/resources/:

Concept Template

# [CONCEPT NAME]

## What It Is
[One-line definition]

## Why It Matters
[What problem it solves, when you'd need it]

## How It Works
[Explanation with examples]

## Key Insight
[The "aha" moment — what makes this click]

Tool Template

# [TOOL NAME]

**Category:** [devtools | productivity | etc.]

## What It Does
[Brief description]

## Why I Use It
[What problem it solved for YOU]

## When to Reach For It
[Scenarios where this is the right choice]

## Gotchas
- [Things that tripped you up]

Pattern Template

# [PATTERN NAME]

## Problem
[What situation triggers this pattern]

## Solution
[The approach]

## Trade-offs
**Pros:** [Why this works]
**Cons:** [When NOT to use it]

PARA Explained

PARA is a knowledge organization system created by Tiago Forte, author of Building a Second Brain. It organizes everything into four categories based on actionability:

Projects

What: Work with a deadline or end state Examples: "Launch website", "Plan trip to Japan", "Finish client proposal" File as: notes/projects/website-launch.md

Areas

What: Ongoing responsibilities with no end date Examples: Health, finances, relationships, career development File as: notes/areas/health.md, notes/areas/dating.md

Resources

What: Reference material for future use Examples: Research, tutorials, templates, interesting articles File as: notes/resources/tax-guide.md, notes/resources/api-docs.md

Archive

What: Inactive items from the other categories Examples: Completed projects, outdated resources, paused areas Move to: notes/archive/ when done

Daily Log Format

Create memory/YYYY-MM-DD.md for each day:

# YYYY-MM-DD

## Key Events
- [What happened, decisions made]

## Learnings
- [What worked, what didn't]

## Open Threads
- [Carry-forward items]

The Curation Workflow

Daily (5 min)

  • Log notable events to memory/YYYY-MM-DD.md
  • File topic-specific notes to appropriate notes/ folder

Weekly (15 min)

  • Review the week's daily logs
  • Extract patterns and learnings to MEMORY.md
  • Move completed projects to archive

Monthly (30 min)

  • Review MEMORY.md for outdated info
  • Consolidate or archive old project notes
  • Ensure areas reflect current priorities

Decision Tree: Where Does This Go?

Is it about today specifically?
  → memory/YYYY-MM-DD.md

Is it a task with an end date?
  → notes/projects/

Is it an ongoing responsibility?
  → notes/areas/

Is it reference material for later?
  → notes/resources/

Is it done or no longer relevant?
  → notes/archive/

Is it a distilled lesson or preference?
  → MEMORY.md

Why Two Memory Layers?

Daily Logs MEMORY.md
Raw, timestamped Curated, organized
Everything captured Only what matters
Chronological Topical
High volume Condensed
"What happened" "What I learned"

Daily logs are your journal. MEMORY.md is your wisdom.

Principles

  1. Quality over quantity — Curated notes beat note hoarding
  2. Capture fast, curate deliberately — Daily logs are loose; curated notes are high quality
  3. Text > brain — If it matters, write it down
  4. Future-me test — "Will future-me thank me for this?"
  5. One home per item — Don't duplicate; link instead
  6. Include the WHY — Facts without context are useless
  7. Flush before you lose — Monitor context, write before compaction

Pairs well with memory-setup for technical config and proactive-agent for behavioral patterns.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,040
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,034
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,022
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,021
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,020
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,016
Skill 文件
  • SKILL.md
    • PARA Second Brain
    • What's New in v2.0
    • What This Does
    • How This Differs from Other Second Brain Skills
    • Quick Setup
      • 1. Create Directory Structure
      • 2. Make Notes Searchable (The Symlink Trick)
      • 3. Enable Session Transcript Indexing
      • 4. Initialize MEMORY.md
      • 5. Add to AGENTS.md
    • Memory Flush Protocol (Critical!)
      • How to Monitor
      • Threshold-Based Actions
      • What to Flush
      • Memory Flush Checklist
    • Knowledge Quality
      • What to Save
      • What NOT to Save
      • Quality Gates
    • Content Templates
      • Concept Template
      • Tool Template
      • Pattern Template
    • PARA Explained
      • Projects
      • Areas
      • Resources
      • Archive
    • Daily Log Format
    • The Curation Workflow
      • Daily (5 min)
      • Weekly (15 min)
      • Monthly (30 min)
    • Decision Tree: Where Does This Go?
    • Why Two Memory Layers?
    • Principles
  • 项目或源文件

相关 Skill

更多
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...
音频混音工具 音频混音工具 名称:Sound Mixing Tool(标识 sound-mixing-tool) 短简介(≤60字):音乐/音效响度精确对齐 + 融合混音工作流:用 ffmpeg 两段式 loudnorm 把多组素材 LUFS 偏差压到 <0.10,再最小干预融合、导出可进引擎的独立分轨。 标签/关键词:音频混音 响度匹配 LUFS ffmpeg 游戏音频 音效设计 Wwise FMOD 分轨导出 后期处理 触发词:混音 · 响度匹配 · LUFS 对齐 · MIX 版本 · 音乐音效分轨 · 融合 · 不打架 · 不能盖住 适用场景 :游戏音频集成、影视短视频配乐、播客后期