Expand description
CLI subcommand implementations for the Cortex binary.
Modules§
- cache_
cmd cortex cache— manage cached maps.- compile_
cmd - CLI handler for
cortex compile <domain>. - doctor
- Environment readiness check — the single most important command.
- install_
cmd cortex install— download Chrome for Testing.- map_cmd
cortex map <domain>— map a website into a navigable graph.- output
- Shared CLI output formatting with colors, symbols, and structured display.
- pathfind_
cmd cortex pathfind <domain>— find shortest path between nodes.- perceive_
cmd cortex perceive <url>— perceive a single live page.- plug
cortex plug— auto-discover and inject into AI agents.- query_
cmd cortex query <domain>— query a mapped site for matching pages.- registry_
cmd - CLI handlers for
cortex registrysubcommands. - repl
- Interactive REPL for Cortex — Claude Code-style slash command interface.
- repl_
commands - Slash command parsing and dispatch for the Cortex REPL.
- repl_
complete - Tab completion for the Cortex interactive REPL.
- repl_
progress - Animated progress display for the interactive REPL mapping operation.
- restart_
cmd cortex restart— stop and start the daemon in one step.- start
- Start the Cortex daemon process.
- status
- Show status of the running Cortex daemon.
- stop
- Stop the running Cortex daemon.
- temporal_
cmd - CLI handlers for temporal commands (history, patterns).
- wql_cmd
- CLI handler for
cortex wql "<query>".