snowflake-cortex-code Plugin
Plugin Claude Code Development Claude Code Customization & WorkflowDatabases & StorageThe explanation below is AI-generated. Please verify it against the sources.
snowflake-cortex-code is a Claude Code (and OpenAI Codex) plugin that automatically detects Snowflake-related prompts and routes them to the Cortex Code CLI for execution. According to the README, it offers two routing methods: a default keyword-based auto-routing filter and an explicit $cortex-run command that bypasses the filter. It requires the Cortex Code CLI (cortex) to be installed and on PATH. A security layer wraps execution with three approval modes (prompt, auto, envelope_only) and four security envelopes (RO, RW, RESEARCH, DEPLOY), plus built-in protections such as PII sanitization, credential path blocking, SHA256-validated caching, and structured audit logging.
Overview
Cortex Code is a CLI-based agent from Snowflake (documented at docs.snowflake.com/en/user-guide/cortex-code, the item's homepage) that this plugin delegates Snowflake work to. The README states Cortex Code has 55+ built-in skills for handling Snowflake tasks; further details about Cortex Code itself are unknown from the provided sources.
What you can do with snowflake-cortex-code
- Install the plugin for Claude Code via claude plugin install snowflake-cortex-code@claude-plugins-official
- Add and install the plugin for OpenAI Codex via the codex plugin marketplace and codex plugin add commands
- Have Snowflake-related prompts auto-route to Cortex Code through keyword detection
- Force routing to Cortex Code explicitly with $cortex-run
- Configure approval mode (prompt/auto/envelope_only) and security envelope (RO/RW/RESEARCH/DEPLOY) via config.yaml
- Run structural and integration tests with tests/run-tests.sh (optionally with --integration)
Sources
Original description (English)
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.
History of snowflake-cortex-code
- Plugin Updated Repository of snowflake-cortex-code (https://github.com/Snowflake-Labs/snowflake-ai-kit/tree/90d4926120505fbe817b2daf6ff9c57b9709ea11/plugins/cortex-code → https://github.com/Snowflake-Labs/snowflake-ai-kit/tree/6ecc0939c572ff7cad9c825e6857d6cfb300ef22/plugins/cortex-code)
- Plugin Added snowflake-cortex-code