snowflake-semantic-views

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

A Snowflake data-modeling skill for creating and inspecting semantic views. A semantic view describes business entities, dimensions, metrics, and relationships so analytical tools can use consistent meanings for the data.

In plain words
What is it for?
Use it to list, describe, create, validate, and update semantic views, including their metrics, dimensions, relationships, and verified queries.
Why use it?
It helps prevent business questions from being answered with inconsistent definitions of measures such as revenue or customer count.

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 to list, describe, create, validate, and update semantic views, including their metrics, dimensions, relationships, and verified queries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/snowflake-labs/snowflake-ai-kit/snowflake-semantic-views
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-semantic-views
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-semantic-views

README.md
[![agentmods](https://agentmods.dev/badge/skills/snowflake-labs/snowflake-ai-kit/snowflake-semantic-views/github.svg)](https://agentmods.dev/skills/snowflake-labs/snowflake-ai-kit/snowflake-semantic-views)
Your own site
<a href="https://agentmods.dev/skills/snowflake-labs/snowflake-ai-kit/snowflake-semantic-views"><img src="https://agentmods.dev/badge/skills/snowflake-labs/snowflake-ai-kit/snowflake-semantic-views/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-semantic-views

Your own site · 80×15
<a href="https://agentmods.dev/skills/snowflake-labs/snowflake-ai-kit/snowflake-semantic-views"><img src="https://agentmods.dev/badge/skills/snowflake-labs/snowflake-ai-kit/snowflake-semantic-views.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 836 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.00041 $0.00836
Opus 5.5 $0.00016 $0.00334
Sonnet 5.5 $0.00008 $0.00167
Haiku 4.5 $0.00004 $0.00084

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

Security

Grade A, and why

snowflake-semantic-views 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-semantic-views/SKILL.md · 125 lines

How it starts

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

Snowflake Semantic Views

Semantic views are the governed data model layer in Snowflake. They define entities, dimensions, metrics, time dimensions, and relationships over physical tables. Cortex Analyst generates SQL through these models.

When to use

  • User asks "what semantic views exist", "show me the data model"
  • User wants to create or modify a semantic view
  • User asks about available metrics, dimensions, or relationships
  • User wants to validate a semantic model or add verified queries

Discovery

List semantic views:

SHOW SEMANTIC VIEWS IN ACCOUNT;
-- or scoped:
SHOW SEMANTIC VIEWS IN SCHEMA my_db.my_schema;

Describe a semantic view:

DESCRIBE SEMANTIC VIEW my_db.my_schema.revenue_model;

Creating a semantic view

Semantic views are defined in YAML and created with SQL:

CREATE OR REPLACE SEMANTIC VIEW my_db.my_schema.revenue_model AS $$
name: Revenue Model
tables:
  - name: ORDERS
    base_table:
      database: MY_DB
      schema: MY_SCHEMA
      table: ORDERS
    dimensions:
      - name: ORDER_ID
        expr: ORDER_ID
        data_type: NUMBER
      - name: CUSTOMER_NAME
        expr: CUSTOMER_NAME
        data_type: VARCHAR
      - name: REGION
        expr: REGION
        data_type: VARCHAR
    time_dimensions:
      - name: ORDER_DATE
        expr: ORDER_DATE
        data_type: DATE
    metrics:
      - name: TOTAL_REVENUE
        expr: SUM(AMOUNT)
        data_type: NUMBER
        description: Total revenue from orders
      - name: ORDER_COUNT
        expr: COUNT(*)
        data_type: NUMBER
        description: Number of orders
$$;

Key concepts

  • Entities: Logical tables in the model, mapped to physical base tables
  • Dimensions: Columns you group by or filter on (categorical, text, numeric IDs)
  • Time dimensions: Date/timestamp columns for time-series analysis
  • Metrics: Aggregation expressions (SUM, COUNT, AVG, etc.)
  • Relationships: Joins between entities (defined with join keys and relationship type)
  • Verified queries (VQRs): Pre-validated question-to-SQL pairs that improve Analyst accuracy

Read the full file on GitHub · 125 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 · 125 lines · 41 tokens per session scan A 32e508250a3d

Subscribe to this mod's changes

snowflake-semantic-views 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 41 tokens to every session and 836 once invoked, about $0.0002 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-semantic-views compared with skills from other repositories

snowflake-semantic-views next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
snowflake-semantic-viewsSnowflake-Labs/snowflake-ai-kitSkill423d agoApache-2.0A41Claude Code
snowflake-mcpchristianclaudio/mcp-server-snowflakeSkill1yesterdayApache-2.0A45Claude Code, Codex
data-engineerbuiphucminhtam/forgewrightSkill492d agononeA85Claude Code
cortex-codeSnowflake-Labs/subagent-cortex-codeSkill636mo agononeA88Claude Code, Codex
rag-pineconedavila7/claude-code-templatesSkill33ktodayMITA65Claude Code, Codex
data-engineerdavila7/claude-code-templatesSkill33ktodayMITA35Claude Code, Codex
similarity-search-patternsforyourhealth111-pixel/Vibe-SkillsSkill3.8ktodayApache-2.0A30Claude Code, Codex