Routes Snowflake operations from Claude to the Cortex Code CLI while keeping everything else local. The routing is LLM-based semantic analysis, not keywords, so it catches "show me my warehouses" without you saying "Snowflake." Ships with three approval modes (prompt/auto/envelope_only) and security envelopes (RO/RW/RESEARCH) that block destructive operations by default. Caches capabilities at session start so repeat queries skip the discovery overhead. Worth noting the approval prompts show predicted tools with confidence scores, which is more transparent than most agent handoff patterns. Requires Cortex CLI installed and a Snowflake connection configured.

skills.sh installs
1.5K
GitHub stars
64
last updated
Aug 21, 2026

Install

$ npx -y skills add snowflake-labs/subagent-cortex-code --skill cortex-code --agent claude-code

Installs into .claude/skills of the current project.

Files

Cortex Code Integration Skill

Install

# Install via npm skills ecosystem (works with Claude Code, Cursor, Codex, and 40+ agents)
npx skills add snowflake-labs/subagent-cortex-code --copy

# Prerequisite: Cortex Code CLI must be installed and configured
# See: https://docs.snowflake.com/en/user-guide/cortex-code
which cortex  # verify installation

This skill enables your coding agent to leverage Cortex Code's specialized Snowflake expertise by intelligently routing Snowflake-related operations to Cortex Code CLI in headless mode.

Architecture Overview

Routing Principle: ONLY Snowflake operations → Cortex Code. Everything else → your coding agent.

Key Components:

  • Dynamic skill discovery at session initialization
  • LLM-based semantic routing (not keyword matching)
  • Security wrapper with approval modes (prompt/auto/envelope_only)
  • Stateless Cortex execution with context enrichment
  • Hybrid memory management
  • Audit logging for compliance

Security

The skill includes a security wrapper around Cortex execution with three approval modes:

Approval Modes

Sponsors

Details

Repository
github.com/snowflake-labs/subagent-cortex-code
Categories
Security, AI & Agent Building, Cloud & Infrastructure, CLI & Terminal, Databases
First seen
Jun 3, 2026

Recommended

More Security
1daymade avataryoutube-downloaderdaymade/claude-code-skillsDownload YouTube videos and HLS streams (m3u8) from platforms like Mux, Vimeo, etc. using yt-dlp and ffmpeg. Use this skill when users request downloading video1.5Kskills.sh installs
2unclecatvn avatarodoo-18unclecatvn/agent-skillsOdoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, 1.5Kskills.sh installs
3callicrate avatarmake-documentationcallicrate/skillsUse when writing READMEs, architecture, changelogs, release notes, runbooks, notebook docs, install docs, or security articles; produces docs. Do not trigger fo1.5Kskills.sh installs
4capawesome-team avatarcapacitor-expertcapawesome-team/skillsA comprehensive starting point for AI agents to work with Capacitor. Covers core concepts, CLI, app creation, plugins, framework integration, best practices, st1.5Kskills.sh installs
5charleswiltgen avataraxiom-designcharleswiltgen/axiomUse when making design decisions, implementing HIG patterns, Liquid Glass, SF Symbols, typography, or structuring app entry points and authentication flows.1.5Kskills.sh installs
6aj-geddes avatarflask-api-developmentaj-geddes/useful-ai-promptsDevelop lightweight Flask APIs with routing, blueprints, database integration, authentication, and request/response handling. Use when building RESTful APIs, mi1.4Kskills.sh installs