/cortex-setup
Initialize Cortex for first-time use
$ npx -y skills add hjertefolger/cortex --skill cortex-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/cortex-setup
Context preview
The summary Claude sees to decide when to auto-load this skill.
Initialize Cortex for first-time use
SKILL.md
cortex-setup.SKILL.mdname: cortex-setup
description: Initialize Cortex for first-time use
allowed-tools: Bash, Write, Read, AskUserQuestion
user-invocable: true
Cortex Setup Wizard
Initialize Cortex for first-time use.
Setup Steps
1. Initialize System
Run the internal setup command to create directories and database:
node ${CLAUDE_PLUGIN_ROOT}/dist/index.js setup2. Configure Preferences
Ask the user to choose a configuration preset:
**Question:** How would you like Cortex to behave?
1. **Full Automation (Recommended)**
- **Protection**: Saves seamlessly while you work (every 5% context).
- **Clear Safety**: Automatically saves backup before you clear context.
- **Visuals**: Shows "Saved" notifications.
2. **Balanced**
- **Protection**: Saves less frequently (every 10%).
- **Clear Safety**: Automatically saves backup before clear.
- **Visuals**: Standard status bar.
3. **Silent Mode**
- **Protection**: **Manual saving only**.
- **Clear Safety**: Automatically saves backup before clear.
- **Visuals**: Hidden status bar.
3. Apply Preset
Based on the user's choice (1, 2, or 3), apply the corresponding preset:
**If "1" or "Full":**
node ${CLAUDE_PLUGIN_ROOT}/dist/index.js configure full**If "2" or "Balanced":**
node ${CLAUDE_PLUGIN_ROOT}/dist/index.js configure essential**If "3" or "Silent":**
node ${CLAUDE_PLUGIN_ROOT}/dist/index.js configure minimal4. Finish
Print the success message: "✅ Cortex is ready! Now restart Claude Code to enable memory tools."
Read more
name: cortex-setup description: Initialize Cortex for first-time use allowed-tools: Bash, Write, Read, AskUserQuestion user-invocable: true
Cortex Setup Wizard
Initialize Cortex for first-time use.
Setup Steps
1. Initialize System
Run the internal setup command to create directories and database:
node ${CLAUDE_PLUGIN_ROOT}/dist/index.js setup2. Configure Preferences
Ask the user to choose a configuration preset:
**Question:** How would you like Cortex to behave?
1. **Full Automation (Recommended)**
- **Protection**: Saves seamlessly while you work (every 5% context).
- **Clear Safety**: Automatically saves backup before you clear context.
- **Visuals**: Shows "Saved" notifications.
2. **Balanced**
- **Protection**: Saves less frequently (every 10%).
- **Clear Safety**: Automatically saves backup before clear.
- **Visuals**: Standard status bar.
3. **Silent Mode**
- **Protection**: **Manual saving only**.
- **Clear Safety**: Automatically saves backup before clear.
- **Visuals**: Hidden status bar.
3. Apply Preset
Based on the user's choice (1, 2, or 3), apply the corresponding preset:
**If "1" or "Full":**
node ${CLAUDE_PLUGIN_ROOT}/dist/index.js configure full**If "2" or "Balanced":**
node ${CLAUDE_PLUGIN_ROOT}/dist/index.js configure essential**If "3" or "Silent":**
node ${CLAUDE_PLUGIN_ROOT}/dist/index.js configure minimal4. Finish
Print the success message: "✅ Cortex is ready! Now restart Claude Code to enable memory tools."
Persistent local memory for Claude Code. Longer sessions. Cross-session recall. Zero cloud.
Other skills on cortex.
cortex-manage
Manage memories - search, view, update, delete, rename projects

