analytics-plan
Skill19 starsChanged 3 months agoApache-2.0View on GitHub
Plan and answer business analytics questions against read-only data, grounding interpretations in available ACF, KTX, dbt, documentation, and warehouse evidence. Use for metrics, reports, trends, comparisons, or warehouse questions. Do not use to author context, modify data, or write dbt models.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- chatquill/claude-code-websitestheir own version, first seen Nov 22, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- chatquill/claude-code-websites★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- template/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- template/CLAUDE.mdCLAUDE.md
- analyst-handoffSkill
- challenge-resultSkill
- context-interviewSkill
- dashboard-verifySkill
- setup-nodalSkill
- verify-resultSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 11 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Never jump directly from a plausible interpretation to a query.
- Very specific: line 30
Never ask for, expose, or persist credentials.
- Distinctive: line 32
Do not silently choose between conflicting governed definitions.
- Very specific: line 34
Do not edit context while answering.
- Distinctive: line 46
Write the known fields as a provisional IR and mark unresolved bindings explicitly.
- Very specific: line 49
Discover context: Look for the nearest .nodal.local.json upward to the current git root and accept only version 1.
- Very specific: line 68
Follow the analysis authorization policy in references/context-sources.md.
- Distinctive: line 73
Resolve the question: Prefer the highest-authority supported reading, but surface competing credible readings.
- Distinctive: line 76
When several governed family members share an alias and no default is confirmed, leave the selection open until the user chooses.
- Distinctive: line 79
Keep this reply to the choices and conditional plan.
- Distinctive: line 89
If required data is absent, decline the unavailable answer and name the source or responsible owner needed to unblock it.
- Very specific: line 95
Create the plan: Follow references/plan-format.md.
- Very specific: line 122
Use the shared matcher (scripts/match_question.py for an explicitly supplied IR) when available.
- Very specific: line 129
Always read structured definitions/entities.
- Distinctive: line 138
Use matching IDs/IR metadata to locate governed definitions, never copy an answer key to produce the answer.
- Very specific: line 144
When a SQL tool advertises _nodal_user_question, copy the original substantive business request verbatim.
- Very specific: line 149
When _nodal_context is advertised, use its versioned schema.
- Distinctive: line 154
Keep the plan revision fixed for its executions.
- Distinctive: line 157
Before delegation, give each child the original request, approved interpretation, plan revision, and its assigned question references.
- Distinctive: line 181
When the user selects among contested meanings, include a small candidate with the original question, selected intent, structured IR, …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
Analytics Plan
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.
Hard boundaries
- Warehouse access is read-only. Use only
SELECTor the platform's equivalent non-mutating metadata operation. Never execute DDL, DML, grants, procedures, or exports from this skill. - Context sources are evidence, not permission. Use only local files in scope and MCP tools already available and authorized by the user or their administrator.
- Never ask for, expose, or persist credentials. Never write
.nodal.local.json; onlysetup-nodalowns it. - Do not silently choose between conflicting governed definitions. Make the conflict part of the plan and ask the user to select.
- Do not edit context while answering. When the user resolves a new ambiguity,
emit an eval-seed candidate and offer a
context-interviewhandoff.
Workflow
- Interpret the request. Extract metric or measure, dimensions, filters,
population, grain, time window, comparison, and expected output shape. Keep
the decomposition compatible with ACF 0.3 IR: either
metricwith optionaldimensions,filters,grain,time_window, ormethod, resolvedmetrics, boundparameters, optionaldimensionsandtime_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. - Discover context. Look for the nearest
.nodal.local.jsonupward 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. Readreferences/context-sources.mdfor discovery, model-scoped retrieval, legacy tool fallbacks, authority, and conflicts. - Build an evidence ledger. For each load-bearing claim record the source,
authority, owner/freshness when present, and whether another source disagrees.
Retrieve only what the question needs; do not ingest an entire wiki or catalog.
Each additional retrieval must resolve a named gap in meaning, governance,
source structure, filters, population, grain, joins, or time semantics. Once
supported, produce the plan; if a required gap cannot be resolved, report the
gap and needed evidence. Distinguish unavailable governance evidence from a
known revocation or material defect. Missing authority alone does not make a
documented metric meaning unresolved. Explicitly offer the unverified path
once other semantic/technical gaps are resolved; do not only say "blocked".
Follow the analysis authorization policy
in
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. - Resolve the question. Prefer the highest-authority supported reading, but surface competing credible readings. Batch all ambiguities the user can answer now, with an evidence-backed recommendation for each. Never invent a foil. When several governed family members share an alias and no default is confirmed, leave the selection open until the user chooses. A labeled side-by-side comparison may be offered as another choice; it is not a safe default that bypasses selection. Keep this reply to the choices and conditional plan. Do not supply executable SQL for any member or comparison before the interpretation and plan are approved.
- Check satisfiability. Confirm that the available schema can produce the requested grain and dimensions, and that every join and mandatory filter is supported. Missing evidence is an explicit gap, not an invitation to guess. For ACF, expand shared fragments and transitive metric references, honor effective draft/blocker state, and keep row filters separate from entity-group filters. Respect allowed dimensions and explicit zero-denominator policy. A deterministic-form target supplies a reviewed procedure/pattern, not a license to invent an unsupported expression or executable query. If required data is absent, decline the unavailable answer and name the source or responsible owner needed to unblock it. Specify the required grain, identifiers, attribution/population rules and period alignment before combining new data with the available data. Do not invent a connector/table or promise execution before access and the revised plan are established. Available components are not a substitute for the requested result.
- Create the plan. Follow
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. - Measure uncertainty. Apply
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. - Ask for approval. Present a compact business-language interpretation plus the material assumptions, uncertainty drivers, and escalation advice. Do not execute until the user approves or resolves every blocking decision.
- Execute faithfully. Generate SQL from the approved plan and show it. If the plan must change, stop, revise it, re-score it, and request approval again.
- Return the answer. Derive acceptance checks from the plan and evidence;
do not invent uniqueness or nonzero-count requirements. Repeated flags can be
compatible with distinct counting, and zero can be a valid result.
Include the result, SQL, applied definitions/caveats,
evidence provenance, and preliminary confidence. If
verify-resultis 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.
ACF matching and evidence limits
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.
Optional Nodal query attribution
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.
Degraded paths
- No context: plan from warehouse metadata only, mark semantic claims inferred, and lower confidence. Ask rather than inventing a business definition.
- No warehouse: a documentation-only plan is allowed, but do not fabricate SQL artifacts or values. State that execution is blocked.
- Too vague: show the currently known domains or measures and ask the smallest batch of questions needed to form an IR.
- User asks for “just SQL”: provide a compact plan and uncertainty block first; approval may be equally compact, but it is still required.
Eval-seed candidate
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

