/nodal-analytics:analytics-planfrom nodal-analytics
Translates business analytics questions into reviewable plans using ACF, KTX, dbt, and warehouse evidence. Handles metrics, reports, trends, and comparisons with read-only SQL.
Ships in nodal-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.
Approval contract: new and changed context stays on a named working branch and has no authored approval status. Human-reviewed protected merge grants definition approval; consult the live authority through the runtime for the exact revision and freshness. Missing/expired authority evidence prevents governance certification; it does not by itself prohibit an explicitly approved, unverified read-only analysis. Known revoked definitions or materially stale dependencies still require resolution. Explicit branch-test mode is proposed context only. Query/notebook result verification is separate from definition approval; retain source and review evidence. See the context-interview SPEC approval-through-merge contract.
Turn a business question into a reviewable analytical plan before executing SQL. The plan is the translation layer, approval surface, and uncertainty container. Never jump directly from a plausible interpretation to a query.
SELECT or the platform's equivalent
non-mutating metadata operation. Never execute DDL, DML, grants, procedures, or
exports from this skill..nodal.local.json;
only setup-nodal owns it.context-interview handoff.metric with optional
dimensions, filters, grain, time_window, or method, resolved metrics,
bound parameters, optional dimensions and time_window. Resolve each part
of a compound question separately. Record canonical targets after clarification;
changing a cohort selector may change the resolved metric set.
Write the known fields as a provisional IR and mark unresolved bindings
explicitly. Present that IR with a conditional plan even when technical
evidence is still missing; do not defer it until SQL generation or approval..nodal.local.json upward to the
current git root and accept only version 1. Treat it as a hint; re-check that
enabled sources and bindings are reachable. If it is absent or invalid, use a
bounded local search: the project root and its children to depth 3, plus sibling
directories to depth 3 — never a home-directory crawl. Use only tools already
loaded. Discover a compact capability shortlist, then inspect only selected
tool contracts; do not dump the tool catalog or reprint supplied schemas. Read
references/context-sources.md for discovery, model-scoped retrieval, legacy
tool fallbacks, authority, and conflicts.references/context-sources.md; user approval can authorize an unverified
analysis but cannot certify a definition or replace live merge/freshness evidence.
Retain supplied material dbt model/cross-column constraints in the
evidence ledger and applicable plan checks, not just in retrieval notes.references/plan-format.md. The artifact must be
self-contained enough for a fresh session to execute without conversation
history. It includes an explicit metric or method IR and names the
interpretation, evidence, source tables, joins, filters,
grain, aggregation, time boundaries, output, and unresolved decisions.
For methods, include parameter/default choices, selected component metrics,
decision IDs, explicit overrides/alignment, output disclosures and checks.
Clarify undeclared time tokens and fiscal boundaries before binding dates.references/uncertainty-rubric.md. The score is
a transparent, static v0 heuristic, never a probability of correctness. Apply
critical escalation gates even when the numeric score is high.verify-result is
available, use its review contract for the full post-execution assessment.
A method may also require read-only Python in an authorized customer executor;
show the actual implementation and distinguish executed results from proposals.Use the shared matcher (scripts/match_question.py for an explicitly supplied
IR) when available. Resolve alias/family ambiguity before matching. Structural
normalization preserves typed AND/OR filters, canonical targets, grain and bound
parameter names; it applies defaults and keeps time tokens for execution without
making a different token a different metric identity. Equivalent structure does
not transfer snapshot verification across dates or parameter values.
Always read structured definitions/entities. Add reference.md for equivalent
metrics; context.md and the relevant method body for new slices, decompositions
or methods; and company overview/terminology for unresolved questions before
escalation. If matching is unavailable, retrieve the relevant evidence explicitly
and do not claim measured coverage. Distinguish definition, slicing and
verification coverage; an unsupported dimension or blocked dependency remains a gap.
Seed expectations, variants and plaintext/encrypted verified SQL are evaluation answer keys, not generation context. Leave the evaluated seed out of retrieval. Use matching IDs/IR metadata to locate governed definitions, never copy an answer key to produce the answer. Any later verification comparison must preserve its source, filters, parameterization and snapshot limits.
When a SQL tool advertises _nodal_user_question, copy the original substantive
business request verbatim. Carry it through clarification and plan approval;
an acknowledgment such as "yes, continue" never replaces that request. Omit the
field when the original wording is unavailable. Do not reconstruct it from SQL.
When _nodal_context is advertised, use its versioned schema. Record the approved
clarified interpretation separately as analysis_context.effective_question only
when the schema permits question text. Use analysis, question, and plan IDs and
revisions supplied by the context service or caller; never invent registered IDs
or assert that a reference has been validated. If no IDs are available, omit them.
Keep the plan revision fixed for its executions; a revised plan needs a new revision.
Model/caller-reported approval is not independently attested human approval.
Before delegation, give each child the original request, approved interpretation, plan revision, and its assigned question references. Multiple queries may serve one question; a shared query may reference several questions. Preserve separate assignments for separate questions. Do not use a global "last question" value.
Copy native client session/turn/agent IDs only when supplied by the client integration in the current scope. Children retain parent lineage and their own native agent ID when available. Omit uncertain IDs. Never read, upload, or pass transcripts, transcript paths, working directories, or private reasoning for attribution. These IDs locate a conversation; they do not grant access to it.
When the user selects among contested meanings, include a small candidate with the
original question, selected intent, structured IR, rejected reading, provenance,
and proposed working-branch content. Do not write it. context-interview owns human-confirmed
context and seed persistence.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nodal-data/nodal-context --plugin nodal-analytics7 skills in this plugin
/analyst-handoffCapture analytics knowledge from an analyst who is changing roles, leaving, or transferring domain ownership, producing governed ACF context and eval seeds through context-interview. Use only for an intentional knowledge-transfer or analyst-transition request./challenge-resultChallenge a completed analytics answer when the user disputes it or requests a second opinion, testing alternative interpretations and failure hypotheses before upholding it, escalating uncertainty, or handing a correction to analytics-plan. Do not use for routine first-pass verification./context-interviewInterview an analyst to build or improve an ACF analytics-context repo, including metrics, entities, caveats, eval seeds, and a five-question test drive. Use for context-layer creation or correction. Do not use for dbt code or continuous eval-harness operation./dashboard-verifyVerify answers against a named BI dashboard in the user's local browser, capturing widget values and active filters with extraction tiers. Use for dashboard checks and context-interview Stage 5. Not for general browsing, credentials, or warehouse queries./setup-nodalConfigure Nodal's project-local warehouse, context sources, and optional browser bindings. Use only when the user explicitly asks to set up, configure, reconnect, or diagnose Nodal. Do not invoke for ordinary interviews or analytics questions./verify-resultReview analytics SQL and results against an approved plan for metric, filter, grain, join, and time fidelity, then assess plausibility and escalation needs. Use after analytics execution or when asked to audit a query/result. Do not use to define metrics or modify data.Other plugins' skills for the same job