/atlanai-analytics:analytics-askfrom Atlan Analytics
Answers data questions using metrics and saved queries from Atlan Trident. Handles totals, rates, trends, breakdowns, and follow-ups by searching released metrics and retrieving definitions.
Ships in Atlan Analytics. 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.
Read when SKILL.md points to them; scripts run unread.
Read shared conventions first; its Source of truth, read-only SQL and safety rules apply. Answer here without a new project, eval, agent or Atlan Trident write. It needs no subagent. Between calls, write nothing of your own: no working notes, no line about a card before or after it, no file path.
If a setup run was selected, or this folder holds one kept local, follow setup retrieval and return. Otherwise continue below using existing Atlan context. Ordinary questions need no local run, publication receipt or DuckDB. Never search the whole machine or substitute drafts for released context.
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 "I read this as . Tell me if you meant something else."
Open a session as Atlan Trident 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.
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 release receipt; the first carries its
definition, cut to the calculation. If the call refuses
definition_view or semantic by name, drop that argument for the session. Semantic search can drop a released metric whose name the query lacks: an
empty result proves nothing.
A hit is a candidate, not an answer. The right metric can rank low. Keep the hit 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. Only when no hit of either search below measures it is the answer "No metric in Atlan Trident covers ": go to Nothing found, naming near misses: "Close, but measuring something else: ."
Send these together after the search, as one mcp__call_read_tools call when listed:
semantic: false. Keep include_definition: without it, unreleased heads return.
Once the session is open, send both searches together.extension__metric__search_metrics
with its exact name, the workspace_id that hit carries (required with a name),
include_definition: true and definition_view: "compact". Never answer from the
definition attached to another hit.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: repeat it in 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), never
workspace by workspace.
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: write your own SQL, and step 5's Based on says so.
For a project run on this machine (SQLite or DuckDB), run each query with
PROJECT execute as project setup describes,
never by opening its database file.
This is an available data connection; do not ask for Snowflake or a new MCP server. Keep
the binding across turns; use fresh released definitions and query results.
Find the warehouse query tool with steps 0 to 2 of
warehouse discovery: 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 conversation.
With no warehouse tool, do not stop or run the rest of discovery for a one-off question. Open with "I can't reach your warehouse through Atlan. An Atlan admin can add it from the Atlan Store." Then offer the smallest thing that answers it:
End with "Next: paste the result, and I'll answer from it." 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: answer fresh from the
warehouse anyway, keep the metric's scope and give its Good to know line once. Never call
the result dashboard-validated or reuse the report's cutoff as the warehouse's. A recorded
failed check needs correction.
Apply explanation checks to numerical claims.
show_first of: in a setup or demo run, the answering PROJECT execute
with "answer": {"question": "<question>", "metrics": ["<each used>"]} (a warehouse plan's
next names the follow-up); with no run, python3 "<analytics-build dir>/scripts/project.py" visual answer --input - with those and the result's columns and rows.Lead with the answer in one or two sentences: the number, its definition and window ("CSAT, good ÷ answered ratings, Q2 2026: 94.1%"). Then, in the layout of definition links:
For missing definitions, corrections or a request to save/share the answer, follow answer follow-ups. For a dashboard from the answers, a question no published metric covers, or a wrong rule, follow next steps.
End with one Next: line: one a step above names, else "Next: ask a follow-up, or ask to
see the SQL." A setup run ends as retrieval says.
agents/openai.yaml (opens in a new tab)references/answer-checks.md (opens in a new tab)references/ask-followups.md (opens in a new tab)references/dashboard.md (opens in a new tab)references/definition-links.md (opens in a new tab)references/next-steps.md (opens in a new tab)references/retrieval.md (opens in a new tab)scripts/definition_link.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub atlanai/atlan-plugins --plugin atlanai-analytics7 skills in this plugin
/accuracy-checkAtlan Analytics: test your agent on an eval set, a list of questions with known answers, score it and explain each wrong answer. Use when asked to test or score accuracy, or to show a question of a check. Not for writing evals (eval-generation)./analytics-buildAtlan Analytics: set up, resume or hand off metrics on your data. Use for metrics in .atlan-analytics/: a metric's details, SQL or checks, what's ready, saving, a new workspace, or questions on a folder's dashboards. Not for a demo (analytics-demo)./analytics-demoGuided Atlan Analytics demo on made-up data: build an agent for a sample firm, save its metrics, ask it, then build a dashboard. Use when someone wants to try, see or learn Atlan Analytics. Not for their own data (analytics-build)./eval-generationAtlan Analytics: write an eval set to test your agent, 20 questions your team already asks, each with a known answer, kept here or saved to Atlan Trident. Use when asked to build evals or golden questions. Not for metrics (metrics-generation)./metrics-generationAtlan Analytics: build, test, change or save metrics and saved queries from dashboards, BI files, models or past queries (query history). Use when asked to refresh, fix, propose or publish a metric. Not for answering a data question (analytics-ask)./source-surveyAtlan Analytics: see what a warehouse, folder or dashboard holds: connections, key tables, what a source covers, metric names. Use when asked what data exists, which tables to use, or if a source works. Not for building metrics (metrics-generation).Other plugins' skills for the same job