Index of every page on this site: llms.txt
All skills
nodal-data avatar

/analytics-plan

@030c867
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/nodal-data/nodal-context/analytics-plan

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesplan-format.md

≈833 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Analytical Plan Format

Produce this information as compact Markdown for people. Include the YAML block when another agent/session will execute the plan or when the user requests the artifact explicitly.

analytical_plan:
  version: 1
  interpreted_question: "..."
  domain: "..."
  ir:
    metric: "..."
    dimensions: []
    filters: []
    grain: "..."
    time_window: "..."
  evidence:
    - claim: "..."
      source: "..."
      authority: confirmed
      used: true
  sources:
    base: "database.schema.table"
    joins:
      - relation: "..."
        condition: "..."
        relationship: "many-to-one"
        approval: governed
  computation:
    measure: "..."
    mandatory_filters: []
    grouping: []
  expected_output:
    shape: "single value | time series | grouped table | rows"
    columns: []
  assumptions: []
  unresolved: []
  uncertainty: {}
  approval:
    status: pending

Completeness rules

  • Use explicit inclusive/exclusive time boundaries and timezone when material.
  • State base grain and final output grain separately when they differ.
  • Name join cardinality and deduplication before aggregation.
  • Preserve every governed mandatory filter, even when the user did not mention it.
  • Do not name a table or column that was not found in evidence.
  • Mark a source or join inferred when only schema shape supports it.
  • A plan with unresolved blocking decisions cannot be approved or executed.
  • Before a family/alias choice is resolved, present options and a conditional plan without executable SQL. A side-by-side comparison is a user-selectable interpretation, not a default answer to an unresolved singular metric request.
  • For ACF, record the effective status of every selected definition and any matching/coverage limitations. Preserve grouped filters, entity-filter stages, inherited constraints and declared ratio policy; an override must cite the method's explicit override decision.

For a method, replace the metric ir mapping with:

ir:
  method: cohort-retention
  metrics: [customers.active_customers]
  parameters:
    cohort_anchor: activity
    base_window: {start: "2026-01-01", end: "2026-02-01"}
    followup_window: {start: "2026-02-01", end: "2026-03-01"}
    as_of_date: "2026-03-01"
  time_window: last_month

The dates above illustrate bindings, not a default for real questions. Use the customer's declared token and explicitly agreed as-of/timezone. Include the method decision IDs, selected metric branches, defaulted parameters, output grain/columns, required disclosures and checks in computation and expected_output. Do not place expected snapshot values or a verified-query answer key in the plan.

When approved, retain the artifact unchanged beside the SQL. A necessary change to tables, joins, filters, grain, or time semantics creates a new plan revision and requires renewed approval.

Governance and analysis authorization

Keep definition certification separate from permission to run the plan. For an unverified analysis, record governance status, context revision (or unavailable), the missing evidence, the disclosed limitation and the user's explicit acceptance. Do not label that acceptance definition approval. Carry it into result verification and retain the governance warning in the final answer.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides a structured workflow for planning and executing business analytics queries. It includes explicit guardrails to prevent data modification (read-only enforcement), credential handling, and unauthorized system access, while requiring human approval before executing any generated SQL.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 030c867. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 3 weeks ago

README badge

README badge for nodal-data/nodal-context/analytics-plan