Cortex
What it does
Keeps a searchable archive of your notes on people, companies, ideas, research and books, and recalls what you did before. It is for people who want their AI to remember and organize what they have learned.
When to use it
- ✓When you want to search your saved notes for something you studied before.
- ✓When you want to record a lesson learned from a problem you solved.
- ✓When you need to recall a past session or decision on a project.
Skill link
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Cortex/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“What do we know about the pricing research I saved last month?”
5 new skills a week. 1 minute to read.
How it works
The skill searches an archive where each note is sorted into a type, such as person, company, idea, research, book or blog. It returns matching notes with their dates and file paths, or says clearly when nothing matches.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What types of notes does it keep?
Six types: people, companies, ideas, research, books and blogs.
What happens when a search finds nothing?
It says so, names the query and the sources it searched, and suggests a next step.
Can it save a lesson from a problem I solved?
Yes. It can record the problem, the assumption you held, what was true and the path you took.
Details
Original description by the author
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
Popularity
- GitHub stars
- 20k
- Ranking position
- #10416
- License
- MIT
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
LifeOS
20kHelps your agent set up LifeOS, a personal system that maps your current state to your ideal state through an interview and a dashboard.
AnnualReports
20kHelps your agent find and compare cybersecurity annual reports from major vendors, such as breach and ransomware trends, with a source for every figure.
ApertureOscillation
20kTeaches your agent to test one design question at a narrow scope and a wide scope, then name where the two answers clash before you build.
Aphorisms
20kLets your agent find, match, and track attributed quotes from a curated collection, avoiding ones recently used in your newsletter.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.