semantic-analyst
/semantic-analyst
Answer analytical, KPI, metric, trend, cohort, and business-performance questions through a Sidemantic semantic layer. Use when asked to analyze data, explain why a metric changed, compare segments or periods, calculate a business measure, or explore warehouse data when Sidemantic MCP tools or semantic model files are available. Discover and reuse trusted definitions, distinguish durable semantic-model gaps from one-off query logic, and prefer semantic queries over duplicated raw SQL.
- Author
- sidequery ↗
- Repository
- sidemantic ↗
- Licence
- AGPL-3.0
- Last repository change
- 20.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 20.10.2026, without references to retired models or APIs.
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
What it does and when to use it
Answer analytical, KPI, metric, trend, cohort, and business-performance questions through a Sidemantic semantic layer. Use when asked to analyze data, explain why a metric changed, compare segments or periods, calculate a business measure, or explore warehouse data when Sidemantic MCP tools or semantic model files are available. Discover and reuse trusted definitions, distinguish durable semantic-model gaps from one-off query logic, and prefer semantic queries over duplicated raw SQL.
Original author description
Answer analytical, KPI, metric, trend, cohort, and business-performance questions through a Sidemantic semantic layer. Use when asked to analyze data, explain why a metric changed, compare segments or periods, calculate a business measure, or explore warehouse data when Sidemantic MCP tools or semantic model files are available. Discover and reuse trusted definitions, distinguish durable semantic-model gaps from one-off query logic, and prefer semantic queries over duplicated raw SQL.
How it works
- Workflow
- Decide What Belongs in the Model
- Handle Semantic Gaps
- Guardrails
SKILL.md preview
---
name: semantic-analyst
description: Answer analytical, KPI, metric, trend, cohort, and business-performance questions through a Sidemantic semantic layer. Use when asked to analyze data, explain why a metric changed, compare segments or periods, calculate a business measure, or explore warehouse data when Sidemantic MCP tools or semantic model files are available. Discover and reuse trusted definitions, distinguish durable semantic-model gaps from one-off query logic, and prefer semantic queries over duplicated raw SQL.
---
# Semantic Analyst
Use the semantic layer as accumulated business knowledge, not merely as a convenient query interface.
## Workflow
1. Search the semantic catalog for the user's concepts. Search by business terms and likely synonyms; do not dump the full graph unless search is unavailable or broader topology is necessary.
2. Explain candidate metrics and inspect the relevant models. Check descriptions, dependencies, filters, aggregation or formula, grain, relationships, source file, and provenance before deciding that a metric matches the request.
3. Translate the question into existing metrics, dimensions, segments, time grains, and one-off filters. Validate uncertain field combinations.
4. Prefer a structured semantic query. Use semantic SQL only when the structured query cannot express a needed operation. Use raw warehouse SQL only for genuinely exploratory work outside the modeled surface, and label that result as outside the semantic layer.
5. Check the result for the requested grain, units, time range, exclusions, null behavior, and denominator. State material assumptions.
6. Answer the business question directly. Include the metric definition or query provenance when it affects interpretation.
## Decide What Belongs in the Model
Promote durable business semantics into the model; keep ephemeral analytical operations in the query.
- Reuse an existing metric for requests such as revenue last week by state.
- Apply query filters for narrow cohorts such as California users who signed up Tuesday.
- Model definitions with durable policy, such as net revenue excluding refunds or repayment rate with an eligibility denominator.
- Model ratios or derived measures that recur across analyses.
- Keep unusual exploratory cohorts or temporary calculations out of the model until they become reusable.
Do not create combinatorial metrics that merely bake a dimension value, date range, or one-off filter into an otherwise reusable metric.
## Handle Semantic Gaps
When no existing definition faithfully represents the request, do not silently invent equivalent SQL. Return a concise structured gap:
```yaml
semantic_gap:
requested_concept: net revenue
why_missing: Existing revenue does not define refund treatment.
reusable: true
recommended_action: model_metric
proposed_definition:
name: net_revenue
policy: gross revenue minus refunded amount
open_questions:
- Which refund statuses count?
```
Use `recommended_action: query_only` for ephemeral operations and `clarify` when business policy is ambiguous.
If working as a coding agent with repository access, inspect the model's reported `source_file`, update the semantic definition through normal files and Git, run `sidemantic validate path/to/models/ --verbose`, run relevant project tests, and retry the original semantic query. Use the separate `modeler` skill for substantial authoring or migration work. If files cannot be edited, report the gap and proposed definition without claiming it was persisted.
## Guardrails
- Never substitute a similarly named metric without checking its definition.
- Never hide missing business policy inside ad hoc SQL.
- Never persist a new metric merely because a query is complex.
- Never claim causality from descriptive results alone.
- Preserve access controls and field visibility; do not work around unavailable semantic fields.
Files in this package (2)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
Versions
The database has no other skills named semantic-analyst.
Database snapshot: 13.11.2026 · package version 691fff5b0926 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100webapp-builder
Build interactive analytics webapps, demos, dashboards, or embedded app surfaces from Sidemantic semantic models using copyable component primitives and deterministic query inspection. Use when asked to create a web UI around Sidemantic models, generate a metric explorer, copy… - 100snowflake-analytics-semantic-data-product
Use this skill to review analytical correctness and business semantics in Snowflake: join grain and fan-out, window and null semantics, semantic views and their declared relationships, metric and KPI contracts, BI workload design, the Cortex Analyst semantic boundary, and… - 100modeler
Build, validate, and manage semantic models using Sidemantic. Use when asked to create a semantic layer, define metrics/dimensions, model a database schema, generate models from SQL queries, import from Cube/dbt/LookML, or set up analytics definitions. Prioritizes CLI-first… - 100semantic-layer
Semantic layer reference for Keboola. Auto-loads when the user mentions: semantic layer, semantic model, SL, metastore, semantic-metric, semantic-dataset, semantic-relationship, semantic-glossary, semantic-constraint, inspect model, validate model, threshold constraints, metric… - 90semantic-model-builder
Build structured semantic layer documentation for metrics, dimensions, and entities. Activate when you need to define a business metric, document a data model, or create YAML definitions compatible with dbt Semantic Layer or similar frameworks. - 90data-bi-tools
Use this skill when asked about BI, dashboard, Metabase, Superset, Looker, Tableau, PowerBI, reporting, data visualization, business intelligence, KPI dashboards, semantic layer, embedded analytics, or LookML. This skill enforces: tool selection based on team size and use case,…