meditate
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMeditate
冥想(Meditate)
Quality bar: A note earns its place by being high-signal (an agent would reliably get this wrong without it), high-frequency (comes up in most sessions or most tasks of a type), or high-impact (getting it wrong causes significant damage or wasted work). Everything else is noise. A lean, precise brain outperforms a comprehensive but bloated one.
质量标准: 一条笔记能被保留,需满足以下任一条件:高信号价值(Agent没有它就会频繁出错)、高出现频率(在大多数会话或某类任务中频繁出现),或是高影响程度(出错会导致严重损失或大量无效工作)。其余内容均为冗余信息。精简、精准的大脑知识库,性能优于全面但臃肿的知识库。
Process
流程
1. Build snapshots
1. 生成快照
bash
sh .agents/skills/meditate/scripts/snapshot.sh brain/ /tmp/brain-snapshot.md
sh .agents/skills/meditate/scripts/snapshot.sh .agents/skills/ /tmp/skills-snapshot.mdFiles are delimited with headers. Also locate any agent memory directory if it exists, for example Claude Code's .
=== path/to/file.md ===~/.claude/projects/<project>/memory/bash
sh .agents/skills/meditate/scripts/snapshot.sh brain/ /tmp/brain-snapshot.md
sh .agents/skills/meditate/scripts/snapshot.sh .agents/skills/ /tmp/skills-snapshot.md文件以标题分隔。同时查找是否存在Agent内存目录,例如Claude Code的。
=== path/to/file.md ===~/.claude/projects/<project>/memory/2. Auditor (blocking - its report feeds step 3)
2. 审核器(阻塞式——其报告为第三步提供输入)
Spawn a read-only exploration subagent if available. See for the full prompt spec. Inputs: brain snapshot, agent memory path if any, and the project agent-instructions file (, , or equivalent).
references/agents.mdAGENTS.mdCLAUDE.mdAudits brain notes, agent instructions, and auto-memory for staleness, redundancy, low-value content, verbosity, and orphans. Returns a categorized report.
Early-exit gate: If the auditor finds fewer than 3 actionable items, skip step 3 and go directly to step 4.
若可用,启动一个只读探索子Agent(subagent)。完整提示规范请参考。输入内容:大脑快照、Agent内存路径(若有),以及项目Agent指令文件(、或等效文件)。
references/agents.mdAGENTS.mdCLAUDE.md审核大脑笔记、Agent指令和自动内存,检查内容是否过时、冗余、低价值、冗长或孤立。返回分类后的报告。
提前退出机制: 若审核器发现可操作项少于3个,则跳过第三步,直接进入第四步。
3. Reviewer (after auditor completes)
3. 审阅器(审核完成后执行)
Spawn one read-only review subagent if available. See for the full prompt spec. Inputs: brain snapshot, skills snapshot, auditor report, .
references/agents.mdbrain/principles.mdCombines three concerns in a single pass:
- Synthesis: Proposes missing wikilinks, flags principle tensions, suggests clarifications.
- Distillation: Identifies recurring patterns that reveal unstated principles. New principles must be (1) independent, (2) evidenced by 2+ notes, (3) actionable.
- Skill review: Cross-references skills against brain principles. Finds contradictions, missed structural enforcement, redundant instructions.
若可用,启动一个只读审阅子Agent(subagent)。完整提示规范请参考。输入内容:大脑快照、技能快照、审核器报告、。
references/agents.mdbrain/principles.md单次处理需兼顾三个要点:
- 整合: 建议添加缺失的维基链接,标记原则冲突,提出澄清建议。
- 提炼: 识别重复出现的模式,挖掘未明确表述的原则。新原则需满足:(1) 独立性,(2) 有至少2条笔记作为依据,(3) 可执行。
- 技能审查: 将技能与大脑原则交叉比对,找出矛盾点、未落实的结构规范、冗余指令。
4. Review reports
4. 审阅报告
Present the user with a consolidated summary. See for the report format.
references/agents.md向用户展示整合后的摘要。报告格式请参考。
references/agents.md5. Route skill-specific learnings
5. 路由技能相关成果
Check all reports for findings that belong in skill files, not . Update the skill's SKILL.md or references/ directly. Read the skill first to avoid duplication.
brain/检查所有报告中属于技能文件而非目录的发现。直接更新技能的SKILL.md或references/目录下的文件。更新前需先阅读技能内容,避免重复。
brain/6. Apply changes
6. 应用变更
Apply all changes directly. The user reviews the diff.
- Outdated notes: Update or delete
- Redundant notes: Merge into the stronger note, delete the weaker
- Low-value notes: Delete
- Verbose notes: Condense in place
- New connections: Add
[[wikilinks]] - Tensions: Reword to clarify boundaries
- New principles: Only from the distillation section, only if genuinely independent. Write brain files and update
brain/principles.md - Merge principles: Look for principles that are subsets or specific applications of each other - merge the narrower into the broader
- Agent-instruction issues: Rewrite or delete stale sections in ,
AGENTS.md, or equivalentCLAUDE.md - Stale memories: Delete or rewrite
直接应用所有变更,由用户审阅差异。
- 过时笔记: 更新或删除
- 冗余笔记: 合并至更优质的笔记中,删除较差的笔记
- 低价值笔记: 删除
- 冗长笔记: 原地精简
- 新关联: 添加
[[wikilinks]] - 冲突点: 重述以明确边界
- 新原则: 仅从提炼部分提取,且需真正具备独立性。撰写大脑文件并更新
brain/principles.md - 合并原则: 查找存在包含关系或特定应用关系的原则——将较具体的原则合并至更通用的原则中
- Agent指令问题: 重写或删除、
AGENTS.md或等效文件中的过时部分CLAUDE.md - 过时内存: 删除或重写
7. Housekeep
7. 整理维护
Update for any files added or removed.
brain/index.md更新,记录所有新增或删除的文件。
brain/index.mdSummary
总结
undefinedundefinedMeditate Summary
Meditate Summary
- Pruned: [N notes deleted, M condensed, K merged]
- Extracted: [N new principles, with one-line + evidence count each]
- Skill review: [N findings, M applied]
- Housekeep: [state files cleaned]
undefined- Pruned: [N notes deleted, M condensed, K merged]
- Extracted: [N new principles, with one-line + evidence count each]
- Skill review: [N findings, M applied]
- Housekeep: [state files cleaned]
undefined