/dataapp-developer:semantic-layer-usagefrom dataapp-developer
Grounds SQL queries in a Keboola semantic model's physical column mappings (tableId, fqn, metric SQL) instead of business-facing display names, preventing query failures.
Ships in dataapp-developer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The Keboola MCP system prompt already documents the semantic-layer workflow
(discover with search_semantic_context, inspect with get_semantic_context,
validate_semantic_query, then query_data). This skill adds the one failure
mode that workflow does not spell out.
The semantic layer already carries the physical mapping — use it, don't
bypass it. A semantic-dataset returns its tableId and fqn; a
semantic-metric returns its SQL. The business-facing display names (a field
labelled Total Revenue, an entity Trips) are not the physical columns —
they are labels on top of the definition. The failure is writing SQL from those
labels instead of from the definition the tools already gave you.
Before you embed any SQL into app, transformation, or report code, confirm the
real column names against Keboola MCP — e.g. get_table on the dataset's
tableId — and use the metric's SQL verbatim rather than reinventing it. If
search_semantic_context returns nothing relevant, there is no model to
consult: say so and work against raw Storage. How you batch those checks is up
to you.
A user asked Kai to build a dashboard from the semantic layer over
out.c-nyc-aggregations-duckdb.rpt_* tables. Kai read the semantic context but
wrote the dashboard SQL from the semantic display names, never confirming
the physical columns. They didn't match the rpt_* schema, so every query
failed: the dashboard rendered empty even though the container was "running",
and Kai reported success without verifying.
What grounds it instead:
search_semantic_context(patterns=["nyc trips", "daily revenue"])
→ metric "daily_revenue", dataset with tableId out.c-nyc-aggregations-duckdb.rpt_daily
get_semantic_context(...) → metric SQL + dataset tableId + fqn (the physical mapping)
get_table(table_id="out.c-nyc-aggregations-duckdb.rpt_daily")
→ real columns: pickup_date, fare_total, trip_count (NOT the display labels)
The label the user thinks in ("revenue") is the physical column fare_total;
the semantic definition tells you that — read it instead of guessing.
dataapp-development skill — full app lifecycle; its
../dataapp-development/references/storage-access.md covers FQN quoting per backend and
../dataapp-development/references/dev-workflow.md covers the validate-first loop. Load this skill
alongside it when the data source is a semantic model.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub keboola/ai-kit --plugin dataapp-developer3 skills in this plugin
/dataapp-developmentUse when building, modifying, deploying, or debugging Keboola Apps (Streamlit or Python/JS). Covers the full lifecycle — choosing app type, the Python/JS prod-app-and-drafts model (never create a second app), configuring keboola-config/, storage access (RO workspace, RW Query Service, input mapping), authentication, DuckDB caching for performance, default Keboola styling, dashboard patterns, optional Kai chat integration, the three client paths (MCP-only, Claude Code with filesystem, kbagent CLI), and deploying from a private GitHub repo through the organization's GitHub connection instead of a PAT or SSH key./mcp-data-appHost an MCP server as a private, single-tenant Keboola data app — a dedicated remote MCP endpoint on your own Keboola compute (Keboola MCP is the built-in example, but it wraps any streamable-HTTP / FastMCP server) with client auth. Use when a user wants a private or self-hosted MCP endpoint, or would benefit from one but hasn't asked (see "When to use this"). Keywords: host/self-host MCP server as Keboola data app, private/remote MCP endpoint, deploy MCP to Keboola.Other plugins' skills for the same job