Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
snowflake-cortex-code logo

snowflake-cortex-code

claude-plugins-official

developmentClaude Codeby Snowflake

Summary

Automatically route Snowflake prompts from Claude Code to Cortex Code for execution. Provides slash commands for code review and task delegation, plus skills for routing, run, and setup.

Install to Claude Code

/plugin install snowflake-cortex-code@claude-plugins-official

Run in Claude Code. Add the marketplace first with /plugin marketplace add anthropics/claude-plugins-official if you haven't already.

README.md

Snowflake AI Kit

Connect your AI coding agent to Snowflake. Plugins for Claude Code and OpenAI Codex that automatically detect Snowflake prompts and route them to Cortex Code — where 55+ built-in skills handle SQL, data governance, dynamic tables, ML, and more.

![Claude Code](https://claude.com/plugins/snowflake-cortex-code) ![OpenAI Codex](https://github.com/Snowflake-Labs/snowflake-ai-kit#openai-codex) ![License](LICENSE) ![CI](https://github.com/Snowflake-Labs/snowflake-ai-kit/actions) ![Plugin](plugins/cortex-code) ![Python](https://python.org)

Quick Start

Claude Code

claude plugin install snowflake-cortex-code@claude-plugins-official

OpenAI Codex

From your terminal:

codex plugin marketplace add Snowflake-Labs/snowflake-ai-kit
codex plugin add snowflake-cortex-code@snowflake-ai-kit

Or inside Codex, open /plugins and install "Snowflake Cortex Code" from the Snowflake AI Kit marketplace.

That's it

Ask naturally — the plugin handles routing:

  • "Show me my Snowflake warehouses"
  • "What databases do I have access to?"
  • "List all tables in my current schema"
  • "Create a dynamic table that refreshes hourly"

Non-Snowflake prompts ("fix the bug in auth.py", "write a unit test") stay in your current agent.

How It Works

You → Claude Code / Codex → [Plugin detects Snowflake intent] → Cortex Code CLI → Snowflake

1. A lightweight keyword filter runs on every prompt (~50ms, no network) 2. If Snowflake intent is detected, the plugin routes to Cortex Code CLI 3. Cortex Code executes with 55+ specialized skills (SQL, governance, ML, streaming, etc.) 4. Results flow back to your agent session

To explicitly invoke Cortex Code (bypassing auto-detection):

$cortex-run show me my warehouses and their current state

> See plugins/cortex-code/ for full documentation on security model, envelopes, and configuration.

Prerequisites

The plugin requires Cortex Code CLI (cortex) on your PATH. Install it from the official docs.

Snowflake Connection

Cortex Code CLI needs a Snowflake connection configured at ~/.snowflake/connections.toml:

snow connection add

Installer

The bundled installer sets up both Snowflake CLI (snow) and Cortex Code CLI (cortex):

| Platform | Command | |---|---| | macOS / Linux | bash install.sh | | Windows | .\install.ps1 | | npx (any) | npx @snowflake-labs/ai-kit |

| Flag | Description | |---|---| | --check / -Check | Check installation status without installing | | --with-claude / -WithClaude | Also install Claude Code CLI + plugin | | --with-codex / -WithCodex | Also install OpenAI Codex CLI + plugin | | --help / -Help | Show help |

Skills

Cortex Code CLI ships with 55+ built-in skills that activate automatically based on your prompt:

cortex skill list

Examples: 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.

Skills are organized by source:

| Category | Description | |---|---| | BUNDLED | Ship with the CLI binary. Updated on cortex update. | | GLOBAL | User-installed in ~/.snowflake/cortex/skills/. Shared across projects. | | EXTERNAL | Added via cortex skill add <path> or cortex skill add owner/repo. | | PROJECT | Discovered from the current working directory. |

Troubleshooting

| Problem | Fix | |---|---| | cortex: command not found | Re-run bash install.sh or install from Cortex Code CLI docs. | | snow: command not found | Ensure ~/.local/bin is in $PATH. Open a new terminal. | | Connection errors | Run snow connection add. Docs: Specify credentials | | Plugin not routing | Verify plugin is enabled in your agent's settings. | | Installer hangs on Windows | Run PowerShell as Administrator. |

Contributing

All PRs run CI on macOS and Windows via GitHub Actions (test.yml). The full test suite (200 tests) must pass on both platforms.

bash tests/run-tests.sh --verbose        # macOS / Linux
.\tests\run-tests.ps1 -Verbose           # Windows (PowerShell)

License

Copyright (c) Snowflake Inc. All rights reserved.

Skills are licensed under the Snowflake Skills License. All other content is Apache 2.0.

Related plugins

Browse all →