Automatically route Snowflake prompts from Claude Code to Cortex Code for execution.
npx claudepluginhub snowflake-labs/snowflake-ai-kit --plugin snowflake-cortex-codeAuto-routing skill loaded by the prompt filter hook. Routes Snowflake-related operations to Cortex Code CLI. Not for direct invocation — use $cortex-run instead.
ONLY load this skill when the user explicitly types $cortex-run or /cortex-run. NEVER load this skill from auto-routing hooks or keyword matching. For auto-routed prompts, use cortex-code:cortex-router instead.
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.
Efficient skill management system with progressive discovery — 410+ production-ready skills across 33+ domains
Open-source, local-first Claude Code plugin for token reduction, context compression, and cost optimization using hybrid RAG retrieval (BM25 + vector search), reranking, AST-aware chunking, and compact context packets.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Share bugs, ideas, or general feedback.
Developer tools for building on Snowflake with AI coding agents. Includes a one-command installer for Snowflake CLI + Cortex Code CLI and a Claude Code plugin that automatically routes Snowflake prompts to Cortex Code.
The installer sets up Snowflake CLI and Cortex Code CLI. The Cortex Code plugin for Claude Code is installed separately via the Claude Code plugin marketplace -- it automatically detects Snowflake prompts and routes them to Cortex Code.
This repo includes:
| Component | What it does | Install location |
|---|---|---|
Snowflake CLI (snow) | Manage Snowflake objects, deploy apps, run SQL from the terminal | System PATH (via pipx/pip/brew) |
Cortex Code CLI (cortex) | AI coding assistant for Snowflake — generate code, explore data, build apps | System PATH (via official installer) |
| Cortex Code plugin for Claude Code | Auto-route Snowflake prompts from Claude Code to Cortex Code | Claude Code marketplace (separate install) |
git clone https://github.com/Snowflake-Labs/snowflake-ai-kit.git
cd snowflake-ai-kit
| Flag | Description |
|---|---|
--check / -Check | Check installation status without installing |
--update / -Update | Re-install (overwrite existing) |
--help / -Help | Show help |
bash install.sh
.\install.ps1
npx @snowflake-labs/ai-kit
Snow CLI and Cortex Code CLI both share the same Snowflake connection config (~/.snowflake/connections.toml). Set one up with:
snow connection add
After installing, open a terminal and run:
cortex # Start Cortex Code (interactive AI assistant)
snow connection list # Verify your Snowflake connection
cortex skill list # Browse 40+ built-in skills
With the plugin installed, Claude Code automatically routes Snowflake prompts to Cortex Code:
claude # Start Claude Code — Snowflake queries auto-route to Cortex
Ask naturally ("show me my tables", "check data quality on SALES_DATA") and it routes to Cortex Code. Non-Snowflake prompts stay in Claude Code.
To explicitly invoke Cortex Code (bypassing auto-routing):
$cortex-run analyze query performance for the last 7 days
See the plugin docs for security model and configuration.
Cortex Code CLI ships with 40+ built-in skills that activate automatically based on your prompt. No setup required -- they're included in every install.
View all available skills:
cortex skill list
Skills are organized by source:
| Category | Description |
|---|---|
| BUNDLED | Ship with the CLI binary. Updated automatically on cortex update. |
| GLOBAL | User-installed skills in ~/.snowflake/cortex/skills/. Shared across all projects. |
| EXTERNAL | Added via cortex skill add <path>. Point to local directories or Git repos. |
| PROJECT | Discovered from the current working directory (e.g. .claude/skills/). |
Examples of bundled skills: semantic-view, cortex-agent, data-quality, dynamic-tables, cost-intelligence, machine-learning, iceberg, data-governance, cortex-ai-functions, deploy-to-spcs, lineage, dbt-projects-on-snowflake, snowflake-notebooks, security-investigation, workload-performance-analysis.
Add a custom skill from a local path or GitHub:
cortex skill add /path/to/my-skill
cortex skill add owner/repo
Automatically route Snowflake work from Claude Code to Cortex Code. When you ask about your Snowflake data, the plugin detects the intent and delegates to Cortex Code -- no slash command needed. Just ask naturally:
Non-Snowflake prompts ("fix the bug in auth.py", "write a unit test") stay in Claude Code as usual.
Coming soon: This plugin will be available from the official Anthropic marketplace.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim