KS
Killer-Skills

snowflake-semantic-views — how to use snowflake-semantic-views how to use snowflake-semantic-views, snowflake-semantic-views setup guide, snowflake-semantic-views alternative, snowflake-semantic-views vs snowsql, snowflake-semantic-views install, configuring snowflake connections, creating snowflake semantic views, snowflake cli installation

v1.0.0
GitHub

About this Skill

Perfect for Data Analysis Agents needing advanced Snowflake semantic view management capabilities in SQL. snowflake-semantic-views is a skill for creating and enhancing Snowflake semantic views in SQL, utilizing the Snowflake CLI and SQL commands.

Features

Verifies Snowflake CLI installation using `snow --help` command
Configures Snowflake connections with `snow connection add` command
Utilizes Snowflake documentation for connection configuration and CLI installation
Enhances Snowflake semantic views in SQL using Snowflake CLI
Supports one-time setup for Snowflake connections and semantic views

# Core Topics

MiguelElGallo MiguelElGallo
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
33
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add MiguelElGallo/snowflake-semantic-view-skill/snowflake-semantic-views

Agent Capability Analysis

The snowflake-semantic-views MCP Server by MiguelElGallo is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use snowflake-semantic-views, snowflake-semantic-views setup guide, snowflake-semantic-views alternative.

Ideal Agent Persona

Perfect for Data Analysis Agents needing advanced Snowflake semantic view management capabilities in SQL.

Core Value

Empowers agents to configure Snowflake connections, manage semantic views, and leverage the Snowflake CLI for streamlined data analysis, utilizing SQL and supporting protocols like snow connection add.

Capabilities Granted for snowflake-semantic-views MCP Server

Configuring Snowflake connections for secure data access
Creating and enhancing Snowflake semantic views for improved data visualization
Debugging Snowflake CLI installations for seamless integration

! Prerequisites & Limits

  • Requires Snowflake CLI installation
  • Needs active Snowflake account for connection configuration
  • Snowflake-specific, may not be compatible with other database systems
Project
SKILL.md
4.0 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Snowflake Semantic Views

One-Time Setup

Workflow For Each Semantic View Request

  1. Confirm the target database, schema, role, warehouse, and final semantic view name.
  2. Confirm the model follows a star schema (facts with conformed dimensions).
  3. Draft the semantic view DDL using the official syntax:
  4. Populate synonyms and comments for each dimension, fact, and metric:
    • Read Snowflake table/view/column comments first (preferred source):
    • If comments or synonyms are missing, ask whether you can create them, whether the user wants to provide text, or whether you should draft suggestions for approval.
  5. Use a SELECT statement with DISTINCT and LIMIT (max 1,000 rows) to discover relationships between fact and dimension tables, identify column data types, and create more meaningful comments and synonyms for the columns.
  6. Create a temporary validation name (for example, append __tmp_validate) while keeping the same database and schema.
  7. Always validate by sending the DDL to Snowflake via the Snowflake CLI before finalizing:
    • Use snow sql to execute the statement with the configured connection.
    • If flags differ by version, check snow sql --help and use the connection option shown there.
  8. If validation fails, iterate on the DDL and re-run the validation step until it succeeds.
  9. Apply the final DDL (create or alter) using the real semantic view name.
  10. Run a sample query against the final semantic view to confirm it works as expected. Semantic views use a different SQL syntax, as shown here: https://docs.snowflake.com/en/user-guide/views-semantic/querying#querying-a-semantic-view Example:
SQL
1SELECT * FROM SEMANTIC_VIEW( 2 my_semview_name 3 DIMENSIONS customer.customer_market_segment 4 METRICS orders.order_average_value 5 ) 6 ORDER BY customer_market_segment;
  1. Clean up any temporary semantic view created during validation.

Synonyms and Comments (Required)

  • Use the semantic view syntax for synonyms and comments:
WITH SYNONYMS [ = ] ( 'synonym' [ , ... ] )
COMMENT = 'comment_about_dim_fact_or_metric'
  • Treat synonyms as informational only; do not use them to reference dimensions, facts, or metrics elsewhere.
  • Use Snowflake comments as the preferred and first source for synonyms and comments:
  • If Snowflake comments are missing, ask whether you can create them, whether the user wants to provide text, or whether you should draft suggestions for approval.
  • Do not invent synonyms or comments without user approval.

Validation Pattern (Required)

  • Never skip validation. Always execute the DDL against Snowflake with the Snowflake CLI before presenting it as final.
  • Prefer a temporary name for validation to avoid clobbering the real view.

Example CLI Validation (Template)

bash
1# Replace placeholders with real values. 2snow sql -q "<CREATE OR ALTER SEMANTIC VIEW ...>" --connection <connection_name>

If the Snowflake CLI uses a different connection flag in your version, run:

bash
1snow sql --help

Notes

  • Treat installation and connection setup as one-time steps, but confirm they are done before the first validation.
  • Keep the final semantic view definition identical to the validated temporary definition except for the name.
  • Do not omit synonyms or comments; consider them required for completeness even if optional in syntax.

Related Skills

Looking for an alternative to snowflake-semantic-views or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication