| layout | default |
|---|---|
| title | Getting Started |
| nav_order | 2 |
Cortex packages curated Claude Code assets (agents, skills, rules, hooks) and a Python CLI (cortex) for managing them.
commands/- command markdown assetsagents/- active agent definitionsskills/- reusable skill packsrules/- rule moduleshooks/- hook scripts and configclaude_ctx_py/- CLI implementationschemas/- JSON/YAML schemasdocs/- guides and reference docs
# pipx (recommended)
pipx install claude-cortex
# or pip
pip install claude-cortexcortex install link
cortex install postgit clone https://github.com/NickCrew/claude-cortex.git
cd claude-cortex
pip install -e ".[dev]"
# Link repo assets into ~/.claude
cortex install link
# Optional post-install helpers (completions + manpages)
cortex install postcortex --help
cortex status
cortex agent list
cortex skills list# AI recommendations
cortex ai recommend
# MCP inventory/diagnostics
cortex mcp list
cortex mcp diagnose
# Worktree support
cortex worktree list
# Interactive UI
cortex tuiThe CLI has two important selectors:
--scope {auto,project,global}chooses which.claude/directory is used for user state/config.--cortex-root(alias:--plugin-root) points Cortex to a specific asset root.
Examples:
# Use project-local .claude if present
cortex --scope project status
# Force a specific asset root
cortex --cortex-root /path/to/claude-cortex status# Auto-detect shell
cortex install completions
# Explicit shell
cortex install completions --shell zshFor options and paths, run cortex install completions --help.
- Run
just test,just lint, andjust type-checkbefore shipping docs or code changes. - Use
cortex dev validateto validate the skill registry andcortex dev manpageswhen CLI docs need regenerated.