cortex-router
Auto-routing skill loaded by the prompt filter hook. Routes Snowflake-related operations to Cortex Code CLI. Not for direct…
Manage Database Change Management (DCM) projects in Snowflake. DCM is infrastructure-as-code for Snowflake objects — databases, schemas, tables, and roles defined in manifest.yml with DEFINE blocks.
Claude Code
$ npx -y skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-dcm --agent claude-code
Codex
$ npx skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-dcm -a codex -y
Cursor
$ npx skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-dcm -a cursor -y
Gemini CLI
$ npx skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-dcm -a gemini-cli -y
GitHub Copilot
$ npx skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-dcm -a github-copilot -y
OpenCode
$ npx skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-dcm -a opencode -y
Windsurf
$ npx skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-dcm -a windsurf -y
name: snowflake-dcm description: >- Manage Database Change Management (DCM) projects in Snowflake. DCM is infrastructure-as-code for Snowflake objects — databases, schemas, tables, and roles defined in manifest.yml with DEFINE blocks.
DCM lets you manage Snowflake infrastructure as code — databases, schemas, tables, roles, and grants defined declaratively in YAML manifests and deployed through the Snowflake CLI or SQL.
**List deployed DCM/dbt projects:**
SHOW DBT PROJECTS IN ACCOUNT;
**Describe a project:**
DESCRIBE DBT PROJECT my_db.my_schema.my_project;
DCM projects use `manifest.yml` with DEFINE blocks:
# manifest.yml
- DEFINE DATABASE analytics_db:
comment: "Analytics database managed by DCM"
- DEFINE SCHEMA analytics_db.reporting:
comment: "Reporting schema"
- DEFINE TABLE analytics_db.reporting.daily_metrics:
columns:
- name: METRIC_DATE
type: DATE
not_null: true
- name: METRIC_NAME
type: VARCHAR(256)
- name: METRIC_VALUE
type: NUMBER(18,4)
comment: "Daily business metrics"DCM automatically creates three roles per project:
# Deploy a DCM project snow dcm deploy --manifest manifest.yml # Execute a deployed project snow dcm execute my_db.my_schema.my_project # List deployed projects snow dcm list
-- Execute a deployed project EXECUTE DBT PROJECT my_db.my_schema.my_project; -- Alter a project ALTER DBT PROJECT my_db.my_schema.my_project SET COMMENT = 'Updated'; -- Drop a project DROP DBT PROJECT my_db.my_schema.my_project;
After deployment, compare the manifest against live state: 1. `DESCRIBE DBT PROJECT <name>` — see what was deployed 2. `SHOW TABLES/SCHEMAS/DATABASES` — see current state 3. Re-deploy to reconcile drift
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.
Auto-routing skill loaded by the prompt filter hook. Routes Snowflake-related operations to Cortex Code CLI. Not for direct…
ONLY load this skill when the user explicitly types $cortex-run or /cortex-run. NEVER load this skill from auto-routing hooks or…
Install Snowflake CLI and Cortex Code CLI. Use when cortex is not installed, when the user asks to set up Cortex Code, or when…
Use Cortex AI services — Cortex Analyst for natural-language-to-SQL through semantic views, Cortex Search for semantic search,…
Discover databases, schemas, tables, views, and columns in Snowflake. Use when the user wants to understand what data is…
Audit data access, inspect masking and row access policies, review tags and classification, and analyze role hierarchies and…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.