CortexCodeSkills
Governance Official

Snowflake AI Kit

Auto-routes Snowflake operations and applies role-based permission policies out of the box.

by Snowflake Labs Updated 5 days ago Active
$ cortex-code skill install snowflake-ai-kit

Requires Cortex Code CLI ≥ 1.6

About

A defaults-and-guardrails skill for teams that want Cortex Code to honor their existing RBAC posture without configuration. It intercepts data-touching commands, validates them against the current role's grants, and rewrites queries to use the right warehouse for the workload. Designed to pair with data-governance for full discovery-to-enforcement coverage.

How to use

After install, all queries flow through the kit's routing and policy layer transparently:

cortex-code skill install snowflake-ai-kit
cortex-code 'show me the top 10 customers by revenue last quarter'

The skill will pick an appropriate warehouse based on row count estimates and refuse the query if your active role lacks SELECT on the underlying tables. Override behavior is documented in the repo — every guardrail is opt-out, not opt-in.

Tags

rbacpolicyroutingguardrails