snowflake-cortex-code Claude Code Plugin
Claude Code PluginClaude CodeDevelopmentDatabases & StorageClaude Code Customization & WorkflowData Engineering & AnalyticsThe explanation below is AI-generated. Please verify it against the sources.
This plugin lets Claude Code (and OpenAI Codex) automatically detect prompts related to Snowflake and hand them off to the Cortex Code command-line tool for execution. According to the README, a keyword-based filter recognizes Snowflake-related requests, while unrelated prompts stay with the current agent. A special command prefix can be used to force routing to Cortex Code even when the filter does not trigger. The plugin includes a security layer with selectable approval modes and access envelopes that limit what actions Cortex Code may take, along with configuration options and a two-tier test suite covering offline checks and live Snowflake integration.
About the service
Cortex Code is a command-line tool associated with Snowflake that carries out data-related tasks against a Snowflake account using a large set of built-in skills. This plugin acts as a bridge that forwards qualifying prompts from Claude Code or OpenAI Codex to that external tool for processing.
What you can do with snowflake-cortex-code
- Have Snowflake-related prompts automatically routed to Cortex Code while other requests remain with the current agent
- Force routing to Cortex Code using an explicit command prefix, bypassing the keyword filter
- Choose an approval mode for how Cortex Code executions are confirmed (ask first, auto-approve, or a low-latency auto-approve mode)
- Limit what Cortex Code can do using access envelopes ranging from read-only to full deployment access
- Adjust router behavior, such as approval mode, allowed envelopes, and audit or sanitization settings, through a configuration file
- Run structural tests offline or integration tests against a live Snowflake connection to verify the plugin's behavior