Cortex
它能做什么
保存一个可搜索的笔记档案,内容涵盖人物、公司、想法、研究和书籍,并能回忆你之前做过的事。它适用于希望 AI 记住并整理自己所学内容的人。
适用场景
- ✓当你想在已保存的笔记中搜索以前学过的内容的时候。
- ✓当你想记录解决某个问题后得到的经验教训的时候。
- ✓当你需要回忆某个项目之前的会话或决定的时候。
技能链接
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Cortex/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我上个月保存的定价研究,我们掌握了哪些信息?”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会搜索一个档案,其中每条笔记都会归入一种类型,例如人物、公司、想法、研究、书籍或博客。它会返回匹配的笔记及其日期和文件路径;如果没有匹配,会明确说明。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Cortex
Contents: Ideal State · Anti-criteria · Intent Routing · Tool contract · Data & Config · Gotchas · Examples
Search and manage the typed Knowledge Archive, recall prior LifeOS work, or capture and digest problem-solving learnings. Every archive note is typed into one of six canonical entity domains (KnowledgeSchema.ts CANONICAL_TYPES): People (individuals, public figures, contacts with relationship context), Companies (organizations, businesses, teams with structure and positioning), Ideas (concepts, theses, frameworks, thought patterns across work and life), Research (findings, studies, deep-dive topics with source citations and evidence), Books (published works with claim summaries, key quotes, and implications), and Blogs (blog posts and articles with takeaways, relationships to other notes).
Ideal State
- A recall answer names the prior sessions, ISAs and decisions that match, ranked, each with its date and path, and states what was decided or done there rather than only the topic; when nothing matches, it says so and names the query and the sources searched.
- An archive search returns a deduplicated table of matching notes (title, domain, status, tags), or an explicit "no matches" with a suggested next step; retrieve returns the top matching notes ranked, with compressed summaries.
- A captured learning tells the problem, assumption, reality, journey with its dead ends, solution and takeaway, filed under
LEARNING/SYSTEM/YYYY-MM/orLEARNING/ALGORITHM/YYYY-MM/; a recent-history digest lists the files it read and says nothing they do not. - All archive operations (
add,harvest,develop,ingest) classify each note into one of the six canonical KNOWLEDGE note types and add typed cross-links (related:frontmatter) between notes to keep the graph connected: every new note carries the eight envelope fields and 2-4 typedrelated:links, each naming a slug that exists in the archive. - Every result comes from the command's loaded deterministic tools, and any verification that was unavailable is named in the result as unavailable, never reported as passed.
Anti-criteria
- Never proceeds on a partial load: a truncated read is not a successful load, and truncation warnings count anywhere in the output, not only at the
END CONTEXTLOADmarker. - A failed search is never taken to establish absence.
- No archive write drops the loaded schema, link, or approval requirements.
- The result never misses a material relevant record, attributes content to the wrong source, or proposes an unauthorized write.
- No personal configuration is kept inside this public skill.
Intent Routing
| Request | Bundle | Delivers |
|---|---|---|
/knowledge with no arguments |
status |
Health dashboard |
Archive search, /knowledge <query> or /knowledge search <query> |
search |
Notes matching the query |
/knowledge add <type> |
add |
A new note (People, Companies, Ideas, Research, Books, Blogs) |
/knowledge harvest |
harvest |
KnowledgeHarvester run over all sources |
/knowledge develop |
develop |
Seedlings surfaced and enriched |
/knowledge ingest <url-or-file> |
ingest |
A note from the source, with ripple updates to related notes |
/knowledge contradictions |
contradictions |
Conflicting claims across notes, reviewed |
/knowledge graph [slug] |
graph |
Graph stats, or a traversal from /knowledge graph <slug> |
/knowledge retrieve <query> |
retrieve |
Compressed context retrieval |
/knowledge mine |
mine |
Memory candidates mined from recent conversations |
/knowledge distill |
distill |
Weekly routed, cited digest of the archive |
/cortex recall <query>, /cs, or "we just worked on", "what did we do with", "remember when we", "didn't we already fix" |
recall |
Prior work (sessions, ISAs, conversations, commits) by topic or date phrase, with what was decided and why |
| Uncertain routing or the whole reference | full |
The complete guide |
| Intent | Trigger | File |
|---|---|---|
| CaptureLearning | "capture this learning", "document this problem", "write up what we learned" | Intents/CaptureLearning.md |
| CheckRecent | "what did we learn recently", "check recent history", "recent learnings", "digest the last N learnings" | Intents/CheckRecent.md |
These two run from their intent files, not a ContextLoad.ts bundle; both work on the LEARNING store (LIFEOS/MEMORY/LEARNING/) and saved research
常见问题
它保存哪些类型的笔记?
六种类型:人物、公司、想法、研究、书籍和博客。
搜索没有结果时会怎样?
它会明确说明,列出查询内容和搜索过的来源,并建议下一步。
它能保存我解决问题后的经验吗?
能。它可以记录问题、你当时的假设、哪些是真实的,以及你采取的路径。
详情
作者的原始描述
LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people or company note, ingest, contradictions, knowledge graph, retrieve, mine conversations, distill, weekly digest, cortex digest, context search, prior work, recall, remember, remember when we, previous sessions, context recovery, what did we do, what did we do with, we just worked on
repo: danielmiessler/LifeOS
热度
- GitHub 星标
- 20k
- 排名
- #10416
- 许可证
- MIT
- 更新时间
- 2026/10/28
评论
- …