Skip to content
Skills Library
Data & analytics · Analysis

analytics-ask

/analytics-ask

Atlan Analytics Ask: answer data questions from published Atlan metrics and saved SQL, or explicitly explore a prepared local dataset. Use for totals, rates, trends, breakdowns and follow-ups. Not for setup or metric authoring (metrics-generation).

Licence
Apache-2.0
Last repository change
12.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
9
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/definition_link.py

What it does and when to use it

Atlan Analytics Ask: answer data questions from published Atlan metrics and saved SQL, or explicitly explore a prepared local dataset. Use for totals, rates, trends, breakdowns and follow-ups. Not for setup or metric authoring (metrics-generation).

Original author description

Atlan Analytics Ask: answer data questions from published Atlan metrics and saved SQL, or explicitly explore a prepared local dataset. Use for totals, rates, trends, breakdowns and follow-ups. Not for setup or metric authoring (metrics-generation).

How it works

  1. 1. Frame the question
  2. 2. Find the definitions
  3. 3. Reach the data
  4. 4. Query and check
  5. 5. Answer
  6. 6. Close the gap
Original SKILL.md headings · 135 lines, 1,324 words
SKILL.md preview
---
name: analytics-ask
description: "Atlan Analytics Ask: answer data questions from published Atlan metrics and saved SQL, or explicitly explore a prepared local dataset. Use for totals, rates, trends, breakdowns and follow-ups. Not for setup or metric authoring (metrics-generation)."
---

# Answer a data question from managed context

Read [shared conventions](../analytics-build/references/conventions.md) first; its **Source of
truth**, read-only SQL and safety rules apply. Answer here without creating a project,
eval, agent or registry write. No subagents are needed.

If a setup run was selected, or this folder holds one kept local, follow
[setup retrieval](references/retrieval.md) and return. Resolve ambiguity only among relevant runs in this project. Otherwise continue
below using existing Atlan context. Ordinary questions require no local run, publication
receipt or DuckDB. Do not search the whole machine or substitute drafts for released context.

## 1. Frame the question

From the question, write down the measure, the time window, the population and the grain, and
whether it asks for **one value** (a lookup) or **an explanation** (a trend, a comparison, a
driver of a change). Ask only when a missing piece would change the answer, and then once;
otherwise take the narrowest reasonable reading and say so in the answer.

## 2. Find the definitions

1. Open a registry session as **Registry calls** in the conventions describes, with the question
   as the `objective`. Its first call is step 2's search; send nothing else until it returns the
   session id.
2. Search released metrics in every workspace at once: call
   `extension__metric__search_metrics` with the measure and its business nouns as `query`,
   `semantic: true`, `include_definition: true`, `definition_view: "compact"`,
   `definition_limit: 1` (2 when the top two names both fit the measure) and no
   `workspace_id`. Each item names its workspace and carries its release receipt; the first
   carries its definition, which compact cuts to the calculation. If the call refuses
   `definition_view` or `semantic` by name, send it again without that argument for the rest of
   the session. An empty result is the answer "no published metric": go to **Nothing found**,
   and never fall back to a search without `include_definition`, which returns unreleased heads.

   **A hit is a candidate, not an answer.** Search ranks by wording, so it always returns
   something, and the right metric can rank low: "on-time departure rate" has put `otp_d15`
   eighth, under a turnaround metric. Read every hit's name and display name, not only the
   first, and keep the one whose name or formula measures what the question asks (revenue is a
   sum of money; a count of crew is not revenue), allowing the synonyms its description lists.
   Sharing a dimension word such as "region" is not a match. When no hit measures it, the answer
   is "no published metric"; name the near misses you set aside in one line of the answer.
3. Send these together after the search, as one `mcp__call_read_tools` call when listed:
   - **The kept hit's definition, when it is not the first**: `extension__metric__search_metrics`
     with its exact `name`, the `workspace_id` that hit carries (an exact name is refused
     without one), `include_definition: true` and `definition_view: "compact"`. Never answer
     from the definition attached to another hit.
   - **The warehouse**, unless this conversation already holds it: step 3 below.
   - **Saved queries**, only when no released metric answers or the person asks for one:
     `extension__metric__search_queries` with `query`, `limit: 5`, `include_sql: false` and the
     metric's `workspace_id` when you have one. Then fetch the SQL of the one query you will use
     by `name` and its `workspace_id`. Without the metric tools, use `registry__search_artifacts`
     with kind `metric` or `sql_query` and read the hit at a release, as step 4 says.

   An older metric app refuses a search with no `workspace_id`: take the workspace of the best
   `registry__search_artifacts` hit (kind `metric`, the measure as `query`), or the first of
   `registry__get_artifact_counts` (kind `metric`, `group_by` `workspace_id`), and repeat the
   search there. Never search workspaces one by one.
4. Use only released revisions: a rejected query is skipped, an unreviewed one is a caveat, and
   a usage note or rule is followed. Read a metric or query that came without its release with
   `registry__get_artifact` and `channel: "latest"`; a missing or withdrawn release never falls
   back to a head. Keep each returned id, `version_id`, `release_id` and `channel`.

**Nothing found** is an answer too: say the workspace has no published definition for the measure,
then continue with your own SQL and its assumptions spelled out (step 5 labels it).

## 3. Reach the data

For a selected project run with `execution.kind: duckdb`, use its recorded Python runtime
and `project.py execute` as [project setup](../analytics-build/references/project.md) describes.
This is an available data connection; do not ask for Snowflake or a new MCP server. Keep
the binding across turns and use fresh released definitions and fresh query results.

Find the warehouse query tool with steps 0 to 2 of
[warehouse discovery](../source-survey/references/connect.md): a record this conversation
or a project holds, then a SQL tool behind Atlan (`mcp__search_tools`), then the harness's own
connectors. Hold what you find, or that there is none, for the rest of the conversation.

With no warehouse tool, do not stop and do not run the rest of discovery for a one-off
question. Open the answer by saying no warehouse is reachable through Atlan, and that an Atlan
admin can add it from the Store. Then offer the smallest thing that answers the question:
- **Run the SQL yourself**: write the statement from the definition, in the dialect it names
  (that dialect's section of [warehouses](../source-survey/references/warehouses.md)), for the
  person to run, and answer from what they paste back;
- **Paste or attach the result** of a query, or a CSV export.

End with the missing input, not a status token. The published definition still decides the formula and
filters, whatever the data source.

A released dashboard metric may carry
`extensions.atlan_analytics.dashboard_validation.parity: unmeasured`. Snapshot mismatch
or missing report references do not prevent a fresh warehouse answer. Preserve the metric
scope and state this limitation once; never call the result dashboard-validated or reuse
the report cutoff as the current warehouse cutoff. A recorded failed check needs correction.

## 4. Query and check

Apply [explanation checks](references/answer-checks.md) to numerical claims.

1. Write one SELECT or WITH statement that keeps the definition's formula, population, mandatory
   filters and grain, adding only the filters the question needs. Check column names against
   the definition or the table's columns; never guess one.
2. Run it with the warehouse query tool, with a LIMIT on anything returning rows.
3. Before answering, check the result:
   - the window is complete, or the answer says it is partial (this week so far);
   - a rate has a non-zero denominator, and segment shares add up to the total;
   - a join did not multiply rows: compare the count before and after when in doubt;
   - the number is plausible against the definition (no all-NULL or zero where a count is
     expected). If not, re-check the filters against the definition before answering.
4. For an explanation, break the change down along the definition's dimensions, one at a time,
   and report the largest contributors with their share of the change. Say "associated with",
   not "caused", unless an experiment shows it.

## 5. Answer

Lead with the answer in one or two sentences: the number, its definition and window ("CSAT,
good ÷ answered ratings, Q2 2026: 94.1%"). Then, briefly:
- **Proof**: always, each metric or query used, by name, as a link to its page in Atlan
  Trident ([definition links](references/definition-links.md)), never
  a bare id anywhere in prose or caveats. Resolve the organization automatically through
  the authenticated self-profile; never ask for its slug or URL. Or **Not managed: no published metric covers this**, followed by the
  formula and filters you assumed;
- **Caveats**: an unreviewed query, a partial window, an assumption about the question;
- the SQL, only when the person asks to see it.

When a conflict between sources shaped the answer, say which one answered and why, as the
conventions' **Source of truth** says.

## 6. Close the gap

For missing definitions, corrections or a request to save/share the answer, follow
[answer follow-ups](references/ask-followups.md). For a dashboard from the answers, a
question no published metric covers, or a wrong rule, follow [next steps](references/next-steps.md).

End naturally with the result or next action, as the conventions describe.
Files in this package (9)
  • SKILL.md 9 KB
  • agents/openai.yaml 1 KB
  • references/answer-checks.md 2 KB
  • references/ask-followups.md 1 KB
  • references/dashboard.md 2 KB
  • references/definition-links.md 5 KB
  • references/next-steps.md 2 KB
  • references/retrieval.md 5 KB
  • scripts/definition_link.py 6 KB

Versions

The database has no other skills named analytics-ask.

Database snapshot: 13.11.2026 · package version fd37c9d0547e (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

  • 90metrics-generation
    Atlan Analytics: generate, check, edit or save metrics and saved SQL from dashboards, BI exports, models or query history. Use when asked to build, mine, refresh, fix, propose or publish a metric. Not for answering a data question (analytics-ask).
  • 90analytics-demo
    Guided Atlan Analytics demo on made-up data: pick a demo, build its metrics, save them, ask a question and design a dashboard. Use when someone wants to try, see or learn Atlan Analytics. Not for their own data (analytics-build).
  • 100atlan-search
    How to find things in the Atlan data catalog with the Atlan MCP tools — which of semantic_search / search_assets / get_assets / traverse_lineage / resolve_metadata / get_users to reach for, and the filter rules that make each one return the right answer. Use for any discovery…
  • 90clickhouse-analytics
    Answer data questions against ClickHouse through the ch-ui MCP server. Use when the user asks about data, tables, metrics, dashboards or query performance in ClickHouse, or when ch-ui MCP tools are available.
  • 100data
    (forwward) Designs analytics systems, writes SQL queries, plans event tracking, and builds dashboards for product and user metrics. Triggers on SQL, analytics, dashboards, tracking, data pipelines, or user behavior analysis.
  • 100jiake-metric-query
    家客(家庭客户)业务指标查询的专用操作手册。当用户问家庭宽带/FTTR/千兆/智能组网/家庭安防/互联网电视/家宽质量/装维工单等家客经营数据的数值、趋势、排名、占比、环比同比或对比时使用。覆盖 sqlbot MCP 的 12 个工具选择、区域与时间口径、模板优先与只读 SQL 逃生口、图表产出与数据自查。

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.