snowflake-cortex-code Claude Code Plugin
Claude Code PluginClaude CodeDevelopmentClaude Code Customization & WorkflowDatabases & StorageData Engineering & AnalyticsThe explanation below is AI-generated. Please verify it against the sources.
This plugin detects Snowflake-related prompts inside Claude Code and automatically hands them off to Cortex Code for execution, while leaving unrelated prompts in the current agent. It relies on a keyword-based filter for automatic routing and also offers an explicit command to force delegation to Cortex Code. It also includes a security layer with multiple approval modes and access-level envelopes to control what Cortex Code is allowed to do. According to its README, it requires the Cortex Code CLI to be installed and reachable on the system path.
About the service
Cortex Code is a separate command-line tool from Snowflake that carries out data and task work using a large set of built-in skills; this plugin forwards qualifying prompts from Claude Code to that external tool for execution.
What you can do with snowflake-cortex-code
- Have Snowflake-related questions and tasks automatically detected and sent to Cortex Code
- Keep non-Snowflake prompts handled directly by the current coding agent
- Force routing to Cortex Code explicitly with a dedicated command when auto-detection misses a prompt or mixed work is involved
- Choose among approval modes (prompt, auto, envelope_only) to control whether execution requires confirmation
- Restrict Cortex Code's capabilities using access envelopes such as read-only, read-write, research, or full deploy access
- Benefit from built-in protections like PII sanitization, blocking of credential file paths, cache validation, and audit logging
- Customize routing and security behavior through a YAML configuration file
- Run structural/unit tests without network access, or integration tests against a live Snowflake connection