/atlanai-analytics:accuracy-checkfrom Atlan Analytics
Tests an agent on an eval set of questions with known answers, scores it, and explains each wrong answer. For accuracy checking, not eval generation.
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.
A capability. It works on any built run: a local SQLite or DuckDB one, or a warehouse build (Snowflake, Databricks or another) whose SQL runs through this host's warehouse query tool. It takes an eval set, asks each question to a fresh agent that sees only the context, compares each answer's result with the trusted result (by script, with a judge where the script refuses an answer that ran), and says why each miss failed. Every check also asks the same questions with column names only, so the result shows what the context changed. It generates no questions and changes nothing: a metric, a saved query and the set stay as they are. A person can call it directly, and another skill can call it as a step; it behaves the same either way.
Read shared conventions first: privacy,
read-only SQL and status reporting apply. Open this skill's files with the Read tool, one call
per file, never chained in a shell with echo separators: zsh reads a word like ===== as a
command.
| Step | Owner |
|---|---|
| Loading a set, its trusted answers, running it, the score, why each miss failed, testing again | this skill |
| Answering each question | analytics-ask, in a fresh subagent per question |
| Saving a check's set and runs to Atlan Trident, when asked | this skill |
| Generating a set, or saving a set on its own | eval-generation |
| Choosing a set, acting on a miss, changing a metric | whoever called it, never this skill |
CHECK, EVAL and PROJECT are as run and score a set names them. Pass each
command as separate argv entries; zsh does not split a string holding one.
A helper result with show_first carries a chip or card the run has reached: show it before
any other words or call. Between calls, write nothing of your own: no working notes, no line about a card before or after it,
and never a file path or a step's, gate's or helper's own name.
CHECK start --project <project> returns the built run, context_saved_to
(where the context lives; null means this machine only), execution (where its SQL runs)
and the project's sets, and before_after, always true. A caller that knows the run passes
--run <run-dir> here and to load. With several built runs and none named, the reply lists
them: ask which one once. With next load, the only set is the one written for this agent:
load the file load names, with no question.
With no set in the project, or the person asking for new questions, generate one: run
eval-generation generate with its default of 20 questions, then load the set it wrote. A
caller that wants another size passes --questions <n> here and --limit <n> to its
SCOPE pick (the demo passes 8).CHECK load --project <project> --file <set> puts it in a fresh eval folder
in .atlan-analytics/evals/. On a local run it runs each trusted SQL on the run's data, drops a question
whose trusted SQL fails or returns nothing (dropped), and sets the rest up for scoring. On a
warehouse run it returns pending_gold: get the trusted results as
trusted answers on a warehouse run
describes, and CHECK gold finishes the same way. work/selection.json holds each
question's metric, source and expected answer.CHECK load hands over (the table
CHECK show prints, as a chat message, only where that chip's line says the page is not open),
then one native question, worded as CHECK show's ask gives it ("Test your agent on these questions?",
or "Test your agent on this question?" for one), with its options, as the
demo's generated questions
step words it. The questions never go in the question's text. CHECK edit rewords a question
and CHECK drop takes questions out. This holds when a person calls this skill directly too.
When CHECK load (or CHECK gold) returns run_now true, the side page lists the questions:
show its chip and run them, with no question. A set the person brought and picked runs as it is.CHECK start lists earlier
checks; read them only when the person asks to compare, never to decide what to run.CHECK start is blocked because the folder holds no built context, say its reason in one
line and stop. This skill scores a context built with Atlan Analytics; it does not score an
Atlan Trident agent's own eval set, and it never falls back to another harness or to memory of an
earlier run.After the context changed, test again on the same eval folder, pinned to a metric version when the caller names one.
With 5 questions or more, ask for more offers to save the
check: the set, the column names only run and every run with
the context, each linked to the run before it. When a person called this skill directly, end on
the result and that question yourself, then PROJECT question close. No agent is registered:
the runs save without one. A skill that called this one asks it instead.
The run report as EVAL report prints it: the score_line, word for word, every run on the
set, the run it is compared with, and the misses under their numbers, grouped by cause, with
EVAL before-after's result, the numbers a person's result is written from. The eval folder, for whoever acts
on the misses. Never call a question checked when its SQL did not run.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/analytics-askAtlan Analytics: answer data questions from metrics and saved queries in Atlan Trident, or a setup kept on this machine. Use for totals, rates, trends, breakdowns and follow-ups. Not for setup or writing metrics (analytics-build, metrics-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).npx claudepluginhub atlanai/atlan-plugins --plugin atlanai-analyticsOther plugins' skills for the same job