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.
npx skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-semantic-viewsgit clone --depth 1 https://github.com/Snowflake-Labs/snowflake-ai-kitWrote 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.
[](https://agentmods.dev/skills/snowflake-labs/snowflake-ai-kit/snowflake-semantic-views)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
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.
- 16d ago First seen · 125 lines · 41 tokens per session scan A 32e508250a3d
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.
snowflake-semantic-views compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| snowflake-semantic-viewsSnowflake-Labs/snowflake-ai-kit | Skill | 42 | 3d ago | Apache-2.0 | A | 41 | Claude Code |
| snowflake-mcpchristianclaudio/mcp-server-snowflake | Skill | 1 | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| data-engineerbuiphucminhtam/forgewright | Skill | 49 | 2d ago | none | A | 85 | Claude Code |
| cortex-codeSnowflake-Labs/subagent-cortex-code | Skill | 63 | 6mo ago | none | A | 88 | Claude Code, Codex |
| rag-pineconedavila7/claude-code-templates | Skill | 33k | today | MIT | A | 65 | Claude Code, Codex |
| data-engineerdavila7/claude-code-templates | Skill | 33k | today | MIT | A | 35 | Claude Code, Codex |
| similarity-search-patternsforyourhealth111-pixel/Vibe-Skills | Skill | 3.8k | today | Apache-2.0 | A | 30 | Claude Code, Codex |