cortex-run
Cortex Code (Explicit Invocation)
Send a prompt directly to Cortex Code CLI, bypassing the auto-routing keyword filter. Use this when the user explicitly wants Cortex Code to handle their request.
Prerequisites
Cortex Code CLI must be installed and on PATH:
which cortex && cortex --version
If cortex is not found, load the cortex-code:cortex-setup skill to install it. Do NOT proceed without it.
Workflow
Step 1: Check Cortex CLI
This step is mandatory. Do it first, every time.
More from snowflake-labs/snowflake-ai-kit
cortex-router
Auto-routing skill loaded by the prompt filter hook. Routes Snowflake-related operations to Cortex Code CLI. Not for direct invocation — use $cortex-run instead.
1cortex-setup
Install Snowflake CLI and Cortex Code CLI. Use when cortex is not installed, when the user asks to set up Cortex Code, or when routing fails because the CLI is missing. Triggers: setup cortex, install cortex, cortex not found, CLI not installed, set up snowflake.
1