
omni-to-snowflake-semantic-view
Convert an Omni Analytics topic into a Snowflake Semantic View YAML definition. Use this skill whenever someone wants to export Omni metrics to Snowflake, create a Semantic View from an Omni topic, harden BI metrics into the warehouse, or bridge Omni's semantic layer with Snowflake Cortex Analyst.
- Installs
- 124
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/exploreomni/omni-agent-skills --skill omni-to-snowflake-semantic-view- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads omni-to-snowflake-semantic-view automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Omni → Snowflake Semantic View
Converts an Omni topic into a Snowflake Semantic View YAML definition by first exploring the Omni model via API, then translating its definitions into the Snowflake Semantic View format.
Prerequisites
# Verify the Omni CLI is installed — if not, ask the user to install it
# See: https://github.com/exploreomni/cli#readme
command -v omni >/dev/null || echo "ERROR: Omni CLI is not installed."
# Show available profiles and select the appropriate one
omni config show
# If multiple profiles exist, ask the user which to use, then switch:
omni config use <profile-name>
# Confirm the active profile is authenticated and inspect your permissions:
omni whoami whoami
Auth: a profile authenticates with an API key or OAuth. If
whoami(or any call) returns 401, hand off — ask the user to run! omni config login <profile>(OAuth 2.1 browser flow; it blocks ~2 min on the browser). Don't runconfig loginyourself in a headless/CI session (no browser → timeout); on a local interactive machine you may. See theomni-api-conventionsrule for profile setup (omni config init --auth oauth) and discovering command and request-body shapes with--schema.
Tip: Use
-o jsonto force structured output for programmatic parsing, or-o humanfor readable tables. The default isauto(human in a TTY, JSON when piped).
Runtime Environment Detection
Before starting, determine which environment you are running in — this controls how SQL is executed against Snowflake in Step 7.
How to detect
Check for the presence of the built-in Snowflake SQL execution capability:
- Cortex Code (Snowflake Notebooks / Cortex Analyst): Native SQL execution is available. No extra tooling required.
- Claude Code, Cursor, or any external IDE/agent: No native Snowflake connection. You must use one of the CLI options below.
Detection heuristic
If the agent can execute a SQL statement like `SELECT CURRENT_USER()` directly without any shell command → you are in Cortex Code.
Otherwise → you are in an external environment.
If unsure, ask the user: "Are you running this inside Snowflake (Cortex Code / Notebooks), or in an external tool like Claude Code or Cursor?"
External environment: Snowflake connectivity options
For Claude Code, Cursor, or any terminal-based agent, choose one of the following. Check availability in order:
Option A — Snowflake CLI (snow) ✅ Recommended
# Check if available
command -v snow
# Configure a connection (first time)
snow connection add
# Execute SQL
snow sql -q "SELECT CURRENT_USER();" --connection <connection_name>
Set a default connection to avoid repeating --connection on every call:
snow connection set-default <connection_name>
Option B — SnowSQL (classic CLI)
# Check if available
command -v snowsql
# Execute SQL
snowsql -a <account> -u <user> -q "SELECT CURRENT_USER();"
Option C — Python (snowflake-connector-python)
pip install snowflake-connector-python
import snowflake.connector
conn = snowflake.connector.connect(
account="<account>",
user="<user>",
password="<password>", # or use key-pair / SSO
warehouse="<warehouse>",
database="<database>",
schema="<schema>",
)
conn.cursor().execute("<SQL here>")
✋ STOP — Confirm the Snowflake connection method with the user before proceeding to Step 7. Record which method is being used so Step 7 generates the correct execution command.
Workflow
Step 1 — Gather Requirements
Ask the user:
- Which Topic do they want to convert?
- What should the Semantic View be named?
- Where should it be created in Snowflake (database and schema)?
- Which role should be granted access to the Semantic View?
⚠️ STOP — Confirm all four answers before proceeding.
Step 2 — Explore the Omni Model
2a. Find the model ID
omni models list --model-kind SHARED
Identify the Shared Model and note its id. Always prefer the Shared Model over Schema or Workbook models.
2b. Fetch the topic file
omni models yaml-get <modelId> --file-name <topic_name>.topic
2c. Fetch the relationships file
omni models yaml-get <modelId> --file-name relationships
2d. Fetch each view file referenced in the topic
For every view in base_view and joins, fetch its YAML:
omni models yaml-get <modelId> --file-name <view_name>.view
If a view is prefixed with
omni_dbt_, fetch the file that also starts withomni_dbt_(e.g.omni_dbt_ecomm__order_items.view).
Step 3 — Identify Tables and Joins
Mapping view names to Snowflake tables
The base_view in the topic file is the primary table. Convert view names to Snowflake table references:
base_view / join value | Snowflake table |
|---|---|
ecomm__order_items | ECOMM.ORDER_ITEMS |
omni_dbt_ecomm__order_items | ECOMM.ORDER_ITEMS (strip omni_dbt_) |
The __ separator maps to schema (left) and table name (right). If the schema does not exist in Snowflake, skip that table entirely.
Reading the join hierarchy
The joins parameter in the topic uses indentation to define the join chain — a table indented beneath another joins into its parent:
joins:
user_order_facts: {} # skip — this is a derived CTE, not a physical table
ecomm__users: {} # joins to base_view (ORDER_ITEMS)
ecomm__inventory_items: # joins to base_view (ORDER_ITEMS)
ecomm__products: # joins to INVENTORY_ITEMS
demo__product_images: {} # joins to PRODUCTS
ecomm__distribution_centers: {} # joins to PRODUCTS
Skip any view that is a derived table (CTE defined in SQL in Omni). These have no physical Snowflake table to reference.
Primary keys
In each view file, find the dimension with primary_key: true — this becomes the unique: true dimension in the Semantic View.
✋ STOP — Confirm the table list with the user before continuing.
Step 4 — Resolve the Field List
The topic's fields parameter controls which fields from the views are included in the Semantic View.
Field targeting rules
| Syntax | Meaning |
|---|---|
(no fields parameter) | Include all fields from all views |
all_views.* | Include all fields from all views |
view.* | Include all fields in the named view |
tag:<value> | Include all fields tagged with this value |
view.field | Include this specific field |
-view.field | Exclude this specific field |
How to apply exclusions correctly
Exclusions (prefixed with -) must be applied after all inclusions are resolved. The process is:
- Start with an empty inclusion set
- Process each entry in
fieldsin order:- If it is an inclusion rule (
view.*,view.field,tag:x) → add matching fields to the set - If it is an exclusion rule (
-view.field) → remove that field from the set, even if it was added by a wildcard
- If it is an inclusion rule (
- The final set is the complete list of fields to include in the Semantic View
Example:
fields:
- ecomm__order_items.* # include all order_items fields
- ecomm__users.country # include this one users field
- -ecomm__order_items.cost # remove cost — excluded even though * was used above
- -ecomm__order_items.raw_json # remove raw_json — same reason
Result: all order_items fields except cost and raw_json, plus users.country.
⚠️ Critical: A
-exclusion always wins. Never include a field that has been explicitly excluded, regardless of what wildcard included it.
Step 5 — Build Relationships
Using the join hierarchy from Step 3 and the relationships.yaml fetched in Step 2c, map each join to a Snowflake Semantic View relationship.
Each entry in relationships.yaml looks like:
- join_from_view: ecomm__order_items
join_to_view: ecomm__inventory_items
join_type: always_left
on_sql: ${ecomm__order_items.inventory_item_id} = ${ecomm__inventory_items.id}
relationship_type: assumed_many_to_one
The on_sql field tells you the join columns. Extract the column names to populate relationship_columns in the output.
Available relationship parameters:
| Parameter | Description |
|---|---|
join_from_view | Source view the join originates from |
join_to_view | Target view being joined to |
join_type | SQL join type (e.g. always_left) |
on_sql | SQL condition — extract column names from this |
relationship_type | Cardinality (e.g. assumed_many_to_one) |
reversible | Whether the join is bi-directional |
where_sql | Additional WHERE clause when join is active |
Step 6 — Map Dimensions and Measures
For each view in the resolved field list, translate its Omni field definitions into Semantic View entries.
⚠️ Only translate fields that survived the Step 4 inclusion/exclusion resolution. Do not add fields that were excluded.
Dimensions → dimensions or time_dimensions
The field name becomes the dimension name unless a label is defined. Carry description and synonyms directly.
Standard dimension:
# Omni view YAML
city:
sql: '"CITY"'
label: City
description: Customer's city
# Semantic View output
- name: city
expr: CITY
description: Customer's city
data_type: TEXT
Date/timestamp dimension → use time_dimensions:
# Omni
created_at:
sql: '"CREATED_AT"'
type: time
label: Created At
# Semantic View output
time_dimensions:
- name: created_at
expr: CREATED_AT
data_type: TIMESTAMP
Group dimension → translate to a CASE WHEN expression:
# Omni
device_type_groups:
sql: ${device_type}
label: Device Type Groups
groups:
- filter:
is: [ mobile, tablet ]
name: Handheld
- filter:
is: desktop
name: Desktop
else: Other
-- expr value
CASE
WHEN "DEVICE_TYPE" IN ('mobile', 'tablet') THEN 'Handheld'
WHEN "DEVICE_TYPE" = 'desktop' THEN 'Desktop'
ELSE 'Other'
END
Bin dimension → translate to a CASE WHEN range expression:
# Omni
age_bin:
sql: ${age}
bin_boundaries: [ 18, 35, 50, 65 ]
-- expr value
CASE
WHEN "AGE" < 18 THEN 'below 18'
WHEN "AGE" >= 18 AND "AGE" < 35 THEN '>= 18 and < 35'
WHEN "AGE" >= 35 AND "AGE" < 50 THEN '>= 35 and < 50'
WHEN "AGE" >= 50 AND "AGE" < 65 THEN '>= 50 and < 65'
WHEN "AGE" >= 65 THEN '65 and above'
ELSE NULL
END
Duration dimension → translate to a TIMESTAMPDIFF expression:
# Omni
fulfillment_days:
duration:
sql_start: ${created_at[date]}
sql_end: ${delivered_at[date]}
intervals: [ days ]
-- expr value (days)
CASE
WHEN TIMESTAMPADD(DAY, 1 * TIMESTAMPDIFF(DAY, DATE_TRUNC('DAY', "CREATED_AT"), DATE_TRUNC('DAY', "DELIVERED_AT")), DATE_TRUNC('DAY', "CREATED_AT"))
<= DATE_TRUNC('DAY', "DELIVERED_AT")
THEN TIMESTAMPDIFF(DAY, DATE_TRUNC('DAY', "CREATED_AT"), DATE_TRUNC('DAY', "DELIVERED_AT"))
ELSE TIMESTAMPDIFF(DAY, DATE_TRUNC('DAY', "CREATED_AT"), DATE_TRUNC('DAY', "DELIVERED_AT")) - 1
END
Boolean dimension → becomes a named filter (not a dimension):
# Omni
is_returned:
sql: '"IS_RETURNED"'
description: Whether the item was returned
completed_orders:
sql: ${status} = 'Complete'
label: Completed Orders
# Semantic View output — goes in filters, not dimensions
filters:
- name: is_returned
expr: IS_RETURNED
description: Whether the item was returned
- name: completed_orders
expr: STATUS = 'Complete'
description: Completed Orders
Measures → metrics
The sql field references the source column and aggregate_type defines the aggregation.
Standard measure:
# Omni
total_sale_price:
sql: ${sale_price}
aggregate_type: sum
label: Total Sale Price
description: Total revenue of orders
synonyms: [ Total Revenue, Total Receipts ]
# Semantic View output
metrics:
- name: total_sale_price
expr: COALESCE(SUM("SALE_PRICE"), 0)
description: Total revenue of orders
synonyms: [ Total Revenue, Total Receipts ]
Derived measure (no aggregate_type) — references other measures:
# Omni
gross_margin:
sql: ${total_sale_price} - ${total_cost}
label: Gross Margin
# Semantic View output — top-level derived metric
metrics:
- name: gross_margin
expr: total_sale_price - total_cost
Filtered measure → wraps in CASE WHEN:
# Omni
california_revenue:
sql: ${sale_price}
aggregate_type: sum
filters:
users.state:
is: California
-- expr value
COALESCE(SUM(CASE WHEN "users"."STATE" = 'California' THEN "SALE_PRICE" ELSE NULL END), 0)
Array and boolean filter variants:
# is: [New York, New Jersey] → "STATE" IN ('New York', 'New Jersey')
# is: true → field IS TRUE
Filter-Only Fields (Templated Filters)
Filter-only fields in Omni are parameterized inputs defined in a filters: block in a view YAML. They don't map to a real column — they inject dynamic values into other fields' SQL at query time via Mustache templates. Snowflake Semantic Views have no equivalent runtime parameter system, so these must be resolved to static SQL during conversion.
Example filter-only field definition:
# In a view file — under a top-level `filters:` key
filters:
status_filter:
type: string
default_filter:
is: "Complete"
order_date_filter:
type: timestamp
Two reference patterns to detect in dimension/measure SQL:
Pattern 1 — Block (conditional) syntax:
{{# order_items.status_filter.filter }} order_items.status {{/ order_items.status_filter.filter }}
The block is conditionally active when the user applies a filter. A {{^ }} block is the fallback when no filter is applied:
{{# order_items.status_filter.filter }} order_items.status {{/ order_items.status_filter.filter }}
{{^ order_items.status_filter.filter }} 1=1 {{/ order_items.status_filter.filter }}
Pattern 2 — Value (direct injection) syntax:
-- Direct value substitution
DATE_TRUNC('day', created_at) >= '{{filters.order_items.order_date_filter.value}}'
-- Range variants for date filters
created_at BETWEEN '{{filters.order_items.order_date_filter.range_start}}' AND '{{filters.order_items.order_date_filter.range_end}}'
Scan all dimension and measure SQL for both patterns using these signatures:
{{# <view>.<field>.filter }}— block open{{^ <view>.<field>.filter }}— block fallback open{{filters.<view>.<field>.value}}— direct value{{filters.<view>.<field>.range_start}}/{{filters.<view>.<field>.range_end}}— date ranges
Resolution logic — apply in order for each reference found:
Step 1 — Inline {{^ }} fallback (block pattern only):
If the SQL contains a {{^ view.field.filter }} fallback block, use the fallback expression as the static SQL — it's what executes when no filter is applied.
-- Input
{{# order_items.status_filter.filter }} order_items.status {{/ order_items.status_filter.filter }}
{{^ order_items.status_filter.filter }} 1=1 {{/ order_items.status_filter.filter }}
-- Resolved static SQL
1=1
Step 2 — default_filter on the filter field definition:
Find the referenced filter-only field in the view YAML and check for a default_filter property. Render it as a static SQL condition:
default_filter value | Rendered SQL |
|---|---|
is: "Complete" | field = 'Complete' |
is: ["New York", "CA"] | field IN ('New York', 'CA') |
is: true | field IS TRUE |
greater_than: 100 | field > 100 |
For value syntax, substitute the rendered scalar value directly into the SQL string:
-- Input
DATE_TRUNC('day', created_at) >= '{{filters.order_items.order_date_filter.value}}'
-- default_filter: is: "2024-01-01"
-- Resolved
DATE_TRUNC('day', created_at) >= '2024-01-01'
For range syntax, use range_start / range_end from the default_filter if defined, otherwise warn the user.
Step 3 — No fallback and no default_filter — warn the user:
⚠️ Field
<view>.<field>references filter-only field<view>.<filter_field>but has nodefault_filterand no inline{{^ }}fallback. It cannot be statically resolved for a Snowflake Semantic View. Options:
- Skip this field from the output entirely.
- Ask the user what static value or condition to hardcode.
- Use
1=1(always-true no-op) to preserve the field shape without the filter effect.
Summary decision tree:
Does the SQL reference a filter-only field?
(via {{# view.field.filter }} OR {{filters.view.field.value}} etc.)
│
├── Block pattern → Does SQL have {{^ view.field.filter }} fallback?
│ ├── Yes → Use fallback expression as static SQL
│ └── No → Go to default_filter check ↓
│
├── Value pattern → Go to default_filter check ↓
│
└── default_filter check:
├── Yes → Render default_filter as static SQL / value substitution
└── No → Warn user, ask how to proceed
⚠️ Filter-only fields themselves are never emitted as dimensions, metrics, or filters in the Semantic View output — they exist only to parameterize other fields' SQL.
AI Context → module_custom_instructions
If the topic has an ai_context parameter, include it as:
module_custom_instructions:
question_categorization: <ai_context value>
Sample Queries → verified_queries
Convert each entry under sample_queries into a SQL statement for verified_queries. Use the prompt as the question and the description as context for writing the SQL.
✋ STOP — Review all dimensions, measures, and relationships with the user before generating the final output.
Step 7 — Generate and Execute the Semantic View
Output YAML structure
name: <name>
description: <string>
tables:
- name: <name>
description: <string>
base_table:
database: <database>
schema: <schema>
table: <table name>
dimensions:
- name: <name>
synonyms: [ <string>, ... ]
description: <string>
expr: <SQL expression>
data_type: <data type>
unique: <boolean>
time_dimensions:
- name: <name>
synonyms: [ <string>, ... ]
description: <string>
expr: <SQL expression>
data_type: <data type>
facts:
- name: <name>
synonyms: [ <string>, ... ]
description: <string>
expr: <SQL expression>
data_type: <data type>
metrics:
- name: <name>
synonyms: [ <string>, ... ]
description: <string>
expr: <SQL expression>
filters:
- name: <name>
synonyms: [ <string>, ... ]
description: <string>
expr: <SQL expression>
relationships:
- name: <string>
left_table: <table>
right_table: <table>
relationship_columns:
- left_column: <column>
right_column: <column>
metrics:
- name: <name>
synonyms: [ <string>, ... ]
description: <string>
expr: <SQL expression>
verified_queries:
- name: <string>
question: <string>
sql: <string>
use_as_onboarding_question: <boolean>
Valid top-level keys only:
name,description,tables,relationships,metrics,verified_queries,module_custom_instructions
Create the Semantic View
The SQL is the same regardless of environment. The difference is how it is executed.
SQL to run:
CALL SYSTEM$CREATE_SEMANTIC_VIEW_FROM_YAML('<database>.<schema>', $$
<yaml content here>
$$);
Execution by environment:
| Environment | Command |
|---|---|
| Cortex Code | Execute the SQL directly in the active Snowflake session |
snow CLI | snow sql -q "CALL SYSTEM$CREATE_SEMANTIC_VIEW_FROM_YAML(...)" or write YAML to a temp file and pipe it |
| SnowSQL | snowsql -a <account> -u <user> -f <sql_file.sql> |
| Python | conn.cursor().execute("<sql>") |
Tip for CLI environments: If the YAML is long, write it to a temporary
.sqlfile first and execute the file rather than passing it inline — this avoids shell escaping issues with the$$dollar-quoting.
# snow CLI example with a file
snow sql -f /tmp/create_semantic_view.sql
Grant access
GRANT SELECT ON SEMANTIC VIEW <database>.<schema>.<name> TO ROLE <role>;
Execute this the same way as the CREATE call above, using whichever connection method was established during the Runtime Environment Detection step.
Reference
FAQ
What does the omni-to-snowflake-semantic-view skill do?
Convert an Omni Analytics topic into a Snowflake Semantic View YAML definition. Use this skill whenever someone wants to export Omni metrics to Snowflake, create a Semantic View from an Omni topic, harden BI metrics into the warehouse, or bridge Omni's semantic layer with Snowflake Cortex Analyst.
How do I install omni-to-snowflake-semantic-view?
Run npx skills add https://github.com/exploreomni/omni-agent-skills --skill omni-to-snowflake-semantic-view in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/omni-to-snowflake-semantic-view/ (personal) or .claude/skills/omni-to-snowflake-semantic-view/ (project).
Which AI agents can use omni-to-snowflake-semantic-view?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is omni-to-snowflake-semantic-view safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains omni-to-snowflake-semantic-view?
It is published by exploreomni in exploreomni/omni-agent-skills, and it is an official skill from the maker of the technology it covers. It has 124 recorded installs.
More from exploreomni/omni-agent-skills
omni-content-builder
exploreomni/omni-agent-skills
Create, update, and manage Omni Analytics documents and dashboards programmatically — document lifecycle, drafts, tiles, visualizations, filters, controls, and layouts — using the Omni CLI. Use this skill whenever someone wants to build a dashboard, create a workbook or document, add tiles or charts, configure dashboard filters or controls, set up a KPI view, lay out or rearrange tiles and pages, edit a dashboard as a draft and publish it, change dashboard settings, rename/move/duplicate/delete a dashboard, modify dashboard-level model customizations like workbook-specific joins or fields, or build and edit an Omni app (custom HTML content in place of a dashboard) — including casual phrasings like "make a dashboard for…", "add a chart to…", or "clean up this dashboard's layout" that don't name the skill. Load it before any document API call, even when a local build script exists. For running a query or pulling metrics use omni-query; for adding a field to the shared model use omni-mode
omni-model-builder
exploreomni/omni-agent-skills
Create and edit Omni Analytics semantic model definitions — views, topics, dimensions, measures, relationships, query views, composite topics, and aggregate tables (materializedquery) — using YAML through the Omni CLI. Use this skill whenever someone wants to add a field, create a new dimension or measure, define a topic, set up joins between tables, modify the data model, build a new view, add a calculated field, create a relationship, edit YAML, work on a branch, promote model changes, or any variant of "model this data", "add this metric", "create a view for", or "set up a join between". Also use for migrating modeling patterns since Omni's YAML is conceptually similar to other semantic layer definitions.
omni-embed
exploreomni/omni-agent-skills
Embed Omni Analytics dashboards in external applications — URL signing, custom themes, iframe events, entity workspaces, and permission-aware content — using the @omni-co/embed SDK and Omni CLI. Use this skill whenever someone wants to embed a dashboard, sign an embed URL, customize the embedded theme, handle embed events, listen for clicks or drills in the iframe, send filters to an embedded dashboard, set up entity workspaces, look up embed users, build a permission-aware content list, white-label an embedded dashboard, or any variant of "embed this dashboard", "customize the iframe theme", "handle click events from the embed", "filter the embedded dashboard", "set up embedding", or "what dashboards can this user see".
omni-content-explorer
exploreomni/omni-agent-skills
Find, browse, and organize content in Omni Analytics — dashboards, workbooks, folders, and labels — using the Omni CLI. Use this skill whenever someone wants to find an existing dashboard, search for content, list workbooks, browse folders, see what dashboards exist, find popular reports, download a dashboard as PDF or PNG, set an alert on a dashboard tile, favorite content, manage labels on documents, or any variant of "find the dashboard about", "what reports do we have", "show me our dashboards", "where is the sales report", "download this dashboard", or "alert me when this changes". This skill locates and organizes content; to inspect what a dashboard tile actually queries — its fields, filters, and sorts — use omni-query.
omni-model-explorer
exploreomni/omni-agent-skills
Discover and inspect Omni Analytics models, topics, views, fields, dimensions, measures, and relationships using the Omni CLI. Use this skill whenever someone wants to understand what data is available in Omni, explore their semantic model, find specific fields or views, check how tables join together, see what topics exist, or asks any variant of "what can I query", "what fields are available", "show me the model", "what data do we have", or "how is this data modeled". Also use when you need to understand the Omni model structure before building or modifying anything.
omni-query
exploreomni/omni-agent-skills
Run queries against Omni Analytics' semantic layer using the Omni CLI, interpret results, and chain queries for multi-step analysis. Use this skill whenever someone wants to query data through Omni, run a report, get metrics, pull numbers, analyze data, ask "how many" / "what's the trend" / "show me the data", retrieve dashboard query results, extract data from an existing dashboard, or inspect the query definition behind a tile. Also use for table calculations and computed columns (running totals, percent-of-total, month-over-month / period-over-period change, moving averages, rankings), open-ended multi-step analysis via agentic AI jobs, and running raw SQL through the semantic layer — even when the user doesn't say "query" (e.g. "add a running total column", "what's our MoM growth", "analyze revenue trends"). For building or editing a dashboard or chart use omni-content-builder; for adding a field or measure to the model use omni-model-builder — this skill retrieves and computes ove
Popular data & databases skills
supabase-postgres-best-practices
supabase/agent-skills
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pgcron, pgmq), vector/semantic search (pgvector), and restoring dumps (pgrestore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
prisma-client-api
prisma/skills
Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on "prisma query", "findMany", "create", "update", "delete", "$transaction".
prisma-database-setup
prisma/skills
Deprecated compatibility name for prisma-orm-setup. Use only when a user or existing integration explicitly invokes prisma-database-setup; otherwise select prisma-orm-setup.
prisma-cli
prisma/skills
Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows. Covers prisma init, generate, migrate, db, dev, studio, and mcp. For setup, connection repair, or Prisma 8, use prisma-orm-setup; not the Prisma Platform CLI.
prisma-postgres
prisma/skills
Deprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.
prisma-driver-adapter-implementation
prisma/skills
Required reference for Prisma ORM 7 SQL driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter, Transaction, savepoint, result mapping, or DriverAdapterError behavior. Covers current transaction lifecycle, optional savepoint hooks, original database-error preservation, and verification.