snowflake-cortex

snowflake-cortex is a skill for Claude Code from Snowflake-Labs/snowflake-ai-kit. It costs 37 tokens per session (573 once invoked), scanned A, original, Apache-2.0.

A skill for using Snowflake Cortex AI services, including tools that turn natural-language questions into SQL, search documents by meaning, and coordinate multi-step AI tasks. Cortex is Snowflake's set of built-in AI services.

In plain words
What is it for?
Use it with Cortex Analyst for business questions, Cortex Search for unstructured documents such as support tickets, and Cortex Agents for multi-step tasks.
Why use it?
It lets users ask data or document questions in ordinary language while using Snowflake's defined data models and available services.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the snowflake plugin — 7 skills shipped together

Good fit Use it with Cortex Analyst for business questions, Cortex Search for unstructured documents such as support tickets, and Cortex Agents for multi-step tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/snowflake-labs/snowflake-ai-kit/snowflake-cortex
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-cortex
Clone the repo
git clone --depth 1 https://github.com/Snowflake-Labs/snowflake-ai-kit

Made for: Claude Code.

Or install snowflake, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for snowflake-cortex

README.md
[![agentmods](https://agentmods.dev/badge/skills/snowflake-labs/snowflake-ai-kit/snowflake-cortex/github.svg)](https://agentmods.dev/skills/snowflake-labs/snowflake-ai-kit/snowflake-cortex)
Your own site
<a href="https://agentmods.dev/skills/snowflake-labs/snowflake-ai-kit/snowflake-cortex"><img src="https://agentmods.dev/badge/skills/snowflake-labs/snowflake-ai-kit/snowflake-cortex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for snowflake-cortex

Your own site · 80×15
<a href="https://agentmods.dev/skills/snowflake-labs/snowflake-ai-kit/snowflake-cortex"><img src="https://agentmods.dev/badge/skills/snowflake-labs/snowflake-ai-kit/snowflake-cortex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 573 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00573
Opus 5.5 $0.00015 $0.00229
Sonnet 5.5 $0.00007 $0.00115
Haiku 4.5 $0.00004 $0.00057

Measured 16d ago against content hash 340aea5d44fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

snowflake-cortex scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/snowflake-mcp-devin/skills/snowflake-cortex/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Snowflake Cortex AI

Use Snowflake's Cortex AI services when they are available on the MCP server.

When to use

  • User asks a data question and semantic views are configured (Cortex Analyst)
  • User wants to search unstructured data like support tickets or documents (Cortex Search)
  • User wants to interact with a Cortex Agent for multi-step tasks

Discover available Cortex services

-- Semantic views (data models for Cortex Analyst)
SHOW SEMANTIC VIEWS IN ACCOUNT;

-- Cortex Search services
SHOW CORTEX SEARCH SERVICES IN ACCOUNT;

-- Cortex Agents
SHOW AGENTS IN ACCOUNT;

Cortex Analyst

Cortex Analyst converts natural language questions into SQL using semantic views. If the MCP server exposes a CORTEX_ANALYST_MESSAGE tool, pass the user's question as the message.

When to prefer Analyst over raw SQL:

  • The question maps to metrics/dimensions defined in a semantic view
  • The user is asking business questions ("what was revenue last quarter?")
  • Governance and auditability matter

When to use raw SQL instead:

  • Admin tasks (SHOW, DESCRIBE, GRANT)
  • DDL/DML operations
  • No semantic view covers the domain

Cortex Search provides semantic search over unstructured text columns. If the MCP server exposes a CORTEX_SEARCH_SERVICE_QUERY tool:

{
  "query": "billing dispute resolution",
  "columns": ["TICKET_ID", "CUSTOMER_NAME", "REQUEST"],
  "limit": 10
}

Filter syntax (optional):

{
  "query": "network outage",
  "filter": { "@eq": { "SERVICE_TYPE": "Cloud" } },
  "limit": 5
}

Supported filter operators: @eq, @contains (arrays), @gte, @lte, composed with @and, @or, @not.

Cortex Agents

If the MCP server wraps a Cortex Agent (CORTEX_AGENT_RUN), send a text message. The agent decides which internal tools to use (SQL, Analyst, Search, code execution).

For multi-turn conversations, include thread_id from the previous response.

Examples

  • "What was total revenue by region last quarter?" → Route to Cortex Analyst
  • "Search support tickets about billing errors" → Route to Cortex Search
  • "Analyze our customer churn data and create a visualization" → Route to Cortex Agent

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago First seen · 80 lines · 37 tokens per session scan A 340aea5d44fb

Subscribe to this mod's changes

snowflake-cortex is a skill published in the GitHub repository Snowflake-Labs/snowflake-ai-kit (42 stars, last pushed 3d ago), licensed Apache-2.0. It adds 37 tokens to every session and 573 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.

Related

snowflake-cortex compared with skills from other repositories

snowflake-cortex next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
snowflake-cortexSnowflake-Labs/snowflake-ai-kitSkill423d agoApache-2.0A37Claude Code
mapSnowflake-Labs/cocoplusSkill7282d agoMITA42Claude Code
context-addSnowflake-Labs/cocoplusSkill7282d agoMITA48Claude Code, Codex
cocoleanSnowflake-Labs/cocoplusSkill7282d agoMITA41Claude Code
map-explainSnowflake-Labs/cocoplusSkill7282d agoMITA26Claude Code
testSnowflake-Labs/cocoplusSkill7282d agoMITA47Claude Code, Codex
map-diffSnowflake-Labs/cocoplusSkill7282d agoMITA28Claude Code