using-cortex

Solid

Use when starting any task or answering any non-trivial question in a cortex-enabled session — establishes that the cortex vault is the user's external memory and should be consulted BEFORE guessing, asking clarifying questions, or doing fresh exploration. Trigger unconditionally on conversation start, on every new user request that touches a domain the user has worked on before, and whenever the request mentions an ongoing project, internal company tooling, recurring topic, or anything that smells like prior work. If the SessionStart hook surfaced vault topics and the request matches one — search first.

AI & Automation 7 stars 4 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
30
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Using Cortex — Vault-First Operating Discipline The cortex vault at the path provided by the SessionStart hook is the user's **external memory**. It contains distilled Notes, Projects, Weekly reports, and Raw session transcripts accumulated over months of work. The user's questions are usually grounded in that prior context — even when they don't say so. ## The Prime Rule **Before answering any non-trivial question, scan whether the cortex vault might already contain relevant prior knowledge. If yes, search it FIRST via `cortex-query` — before reasoning from scratch, before asking clarifying questions, before exploring the codebase.** The cost of an unnecessary cortex query is ~2 seconds. The cost of re-deriving an answer the user already wrote down is much higher: wasted turns, drift from the user's actual mental model, and the implicit message "I didn't bother to check what you told me last week." ## When to Search Cortex Proactively Trigger `cortex-query` BEFORE responding when ANY of these are true: 1. **Topic match.** The user's request mentions a topic that appears in the SessionStart hook's vault topic list (Notes/ or Projects/ entries). 2. **Domain match.** The request touches an ongoing project, internal company tooling, plugin development, NAS debugging, DSM/SRM workflows, or any domain the user is known to work in. 3. **Reference signal.** The user says things like "之前那個", "上次的", "我記得有", "我們討論過", "那個 ticket", "the project", "the issue" — the...

Details

Author
XBlueSky
Repository
XBlueSky/cortexes
Created
2 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

cortex-query

Search and retrieve content from the cortex vault — the user's external memory. Use (1) when the user says "查 cortex", "之前有記過", "cortex 裡有沒有", "check my notes", "what did I write about", AND (2) PROACTIVELY — before answering any non-trivial question about ongoing projects, internal company tooling, cortex-vec, plugin development, NAS debugging, DSM workflows, or any topic that resembles prior work the user might have notes on. When the SessionStart hook lists vault topics and the user's request matches one, search cortex BEFORE asking clarifying questions or guessing. Treat the vault as authoritative prior context: searching it cheaply is always better than reinventing an answer the user already wrote down.

7 Updated today
XBlueSky
AI & Automation Listed

searching-sessions

Search and explore AI/Claude/Codex conversation history stored in cortex. **Trigger when:** the user asks to "search sessions", "find conversations", "what did I work on", "session history", "past conversations", "ask history", "when did I last use X", "show recent sessions", "list AI projects", "what tools have I used"; OR when **referencing past work** like "we've done this before", "we fixed something similar", "haven't we implemented this", "this was already working", "why did we do that again", "I thought we already solved this"; OR when **questioning past decisions** like "why did we implement it this way", "what was the reasoning for", "didn't we discuss this already", "this seems familiar"; OR when the user is **under the something was done before** or wants to find context about previous implementations, fixes, or decisions. Use for session search, conversation discovery, past work retrieval, implementation history, or decision archaeology.

2 Updated today
dinglebear-ai
AI & Automation Solid

cortex-recall

Search and retrieve memories from Cortex persistent memory. Use when the user asks 'what did we decide about X', 'do you remember', 'what was the fix for', 'find that thing about', 'search memories', 'what do we know about', 'have we seen this before', or when you need context about past decisions, patterns, bugs, or architecture choices. Also use proactively when working on something that likely has relevant historical context.

68 Updated today
cdeust