Retrieved article excerpt
Open article · Retrieved 2026-10-28T15:24:17.534567+00:00
# Nodal Analytics
> Agent skills for building governed analytics context, planning data questions,
> and verifying the answers.
[Watch the explainer (1:38)](https://youtu.be/hAdnq5KygvE) ·
[Documentation](https://docs.nodaldata.io) ·
[Quickstart](https://docs.nodaldata.io/quickstart) ·
[Website](https://nodaldata.io) ·
[Analytics Context Format](https://github.com/nodal-data/nodal-context/blob/main/skills/context-interview/references/SPEC.md) ·
[Getting started](https://github.com/nodal-data/nodal-context/blob/main/docs/getting-started.md)
[Support](https://github.com/nodal-data/nodal-context/blob/main/docs/support.md) · [Privacy](https://github.com/nodal-data/nodal-context/blob/main/docs/privacy.md) ·
[Terms](https://github.com/nodal-data/nodal-context/blob/main/docs/terms.md)
Analytics agents can write valid SQL and still give the wrong answer. They need
the definitions an experienced analyst carries around: what a metric means,
which table is canonical, which filters are mandatory, where joins fan out, and
when a result should be escalated instead of trusted.
Nodal turns that knowledge into reviewable context and reusable agent workflows.
An analyst remains the authority: the agent drafts choices where it finds uncertainty; the
analyst chooses the correct interpretation, then the agent verifies, records, and evaluates the context.
[Watch the Nodal Context explainer: an analyst interview turns ambiguous revenue definitions into reviewable context files and eval seeds.](https://youtu.be/hAdnq5KygvE)
*▶ [Watch the 1:38 explainer](https://youtu.be/hAdnq5KygvE) (AI-generated walkthrough of the fictional Shorelane Commerce example).*
[From analyst knowledge to trusted answers: build context through an active interview, deploy it anywhere, answer questions with governed workflows, and improve it through the enterprise learning loop.](https://github.com/nodal-data/nodal-context/blob/main/docs/assets/nodal-product-loop.svg)
## Who Nodal is for today
Nodal is currently best suited to teams that already have:
- a queryable analytics warehouse or database;
- an analyst or other domain expert who owns business definitions; and
- a supported local agent that can receive approved, read-only access to the
warehouse.
The person operating this open-source package should be comfortable working in a
local agent project and coordinating data access. They do not need to write
Python, and the domain expert who confirms definitions does not need to know dbt
or use a command line. dbt, historical query access, and BI dashboards improve
the evidence available to Nodal, but they are not all required.
Large organizations are in scope. Nodal is designed to roll out **one analytics
domain at a time**: establish the domain's definitions, failure cases, and eval
seeds; verify that its governed answers work; then expand to the next domain.
This creates a reviewable governance boundary at every step instead of requiring
a company-wide semantic migration before the first result.
Nodal is not yet optimized for organizations without a warehouse or technical
data owner. We are interested in extending it both upstream to more complex
enterprise environments and downstream to earlier-stage teams, while keeping
the current domain-by-domain validation model.
### Two ways to start
- **Use your own stack.** Start with one bounded business domain where a domain
expert can confirm the definitions. Prove the workflow there before adding
another domain.
- **Look at an example company.** See
[Shorelane Commerce](https://github.com/shorelane-data/shorelane), a fictional
company with a public warehouse and deliberately ambiguous revenue
definitions. The output of the analyst interview is here
[completed context repository](https://github.com/shorelane-data/shorelane-analytics-context).
For a self-contained format example, see
[Example Orchard](https://github.com/nodal-data/nodal-context/blob/main/examples/example-acf-03-company/README.md). It demonstrates the
complete ACF 0.3 revenue family, renewal components, cohort method, review blockers
and seed types using explicitly fictional approvals and snapshot values.
## Or let your agent guide installation
If you already use an AI coding agent, paste this prompt into a project where
you want to evaluate Nodal:
```
Help me understand and set up Nodal Analytics for this project. Read
https://github.com/nodal-data/nodal-context/blob/main/docs/agent-guide.md
first. Explain what will change, choose only one supported installation method,
and ask before installing anything or editing configuration. Then walk me
through it one step at a time.
```
The [agent guide](https://github.com/nodal-data/nodal-context/blob/main/docs/agent-guide.md) covers Nodal's purpose, data boundaries,
host-specific installation, the required new-session handoff, setup, and common
fixes. It lets the agent guide a non-command-line user without guessing or
silently installing both plugin and skills distributions.
## CLI Installation (about a minute)
Choose one installation method per host. Installing both a native plugin and
skills.sh copies makes every skill appear twice and can cause ambiguous
invocation.
**Claude Code**
```
claude plugin marketplace add nodal-data/nodal-context
claude plugin install nodal-analytics@nodal
```
To update an existing installation:
```
claude plugin marketplace update nodal
claude plugin update --scope user nodal-analytics@nodal
```
**Codex**
```
codex plugin marketplace add nodal-data/nodal-context
codex plugin add nodal-analytics@nodal
```
To update an existing installation:
```
codex plugin marketplace upgrade nodal
codex plugin add nodal-analytics@nodal
```
**Codex IDE, Cursor, and other skill-compatible agents**
```
npx skills@latest add nodal-data/nodal-context
```
This copies editable skills into your project. Select `setup-nodal` along with
the workflows you want to use.
## Where your data flows: nowhere new
Nodal's open-source package is a set of skills—instructions and local scripts
that run inside your own agent, on your own machine. There is no Nodal service
in the loop:
- **No data reaches Nodal.** Schema, query results, query history, dashboard
captures, and the generated context all stay on your machine and in
repositories you control. The package makes no network calls to Nodal and
contains no telemetry.
- **No credentials reach Nodal.** Warehouse access happens through an MCP
server you configure and authenticate yourself, using a read-only identity.
- **Your existing agent agreement is the only data flow.** Whatever your agent
reads while answering a question is processed by the model provider behind
your agent host—for example, Anthropic when you run on Claude Code—exactly as
in any other use of that agent. Nodal adds no new data recipient.
- **Optional browser verification downloads one pinned package.** If you
consent during setup, `setup-nodal` merges a Chrome DevTools MCP entry into
your own configuration. Your agent then runs the pinned
`[email protected]` package through `npx`, using a dedicated local
browser profile. Nodal adds nothing to your configuration without that consent.
- **Optional CI templates run in your GitHub Actions.** The workflows that
`context-interview` scaffolds into your context repository use the
repository's `github.token` to read manifests and dispatch drift checks
between your own GitHub repositories. If you add your own
`ANTHROPIC_API_KEY` as a repository secret, they also send drift reports and
eval cases to the Anthropic API. Without the key, those steps skip.
Nodal's separate [hosted offering](https://github.com/nodal-data/nodal-context#open-source-and-hosted-paths) is a paid
product that activates only when you opt in. Nothing in this package turns it
on, and no data reaches Nodal unless you become a hosted customer and connect
your context repository yourself.
## What you need before the first interview
Important
Nodal never handles warehouse credentials or sees your data—see
[where your data flows](https://github.com/nodal-data/nodal-context#where-your-data-flows-nowhere-new). Connect your
agent to the warehouse through an approved MCP server using a read-only
identity.
For the best initial context build, prepare:
- **A domain expert.** An analyst or other owner must confirm definitions. Nodal
does not silently promote generated documentation to truth.
- **Read-only warehouse access.** The connection must support `SELECT` and
metadata inspection. Nodal does not run DDL, DML, grants, or procedures.
- **Historical query-log visibility.** Full Stage 0 discovery needs access to
query history across the relevant people, BI service accounts, and workloads.
A connection that can see only its own queries can produce a misleadingly
thin sample. If access is unavailable, the interview continues but records
history mining as deferred or privilege-limited. Query-history permissions
vary by warehouse: Snowflake usually needs
`SNOWFLAKE.GOVERNANCE_VIEWER`, BigQuery needs project job-list visibility,
and Redshift needs unrestricted system-log visibility. See
[Getting started: historical query access](https://github.com/nodal-data/nodal-context/blob/main/docs/getting-started.md#historical-query-access)
for the exact read-only grants, retention windows, fallbacks, and privacy
caveats.
Before the interview, run the probe for your warehouse (replace the bracketed
BigQuery identifiers):
**Snowflake**
```
SELECT
CURRENT_USER() AS connected_user,
CURRENT_ROLE() AS active_role,
COUNT(*) AS visible_queries,
COUNT(DISTINCT user_name) AS visible_users
FROM SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY
WHERE start_time >= DATEADD(day, -1, CURRENT_TIMESTAMP());
```
**BigQuery**
```
SELECT
SESSION_USER() AS connected_user,
COUNT(*) AS visible_queries,
COUNT(DISTINCT user_email) AS visible_users
FROM `<PROJECT>`.`region-<LOCATION>`.INFORMATION_SCHEMA.JOBS
WHERE creation_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 1 DAY);
```
**Redshift**
```
SELECT
CURRENT_USER AS connected_user,
COUNT(*) AS visible_queries,
COUNT(DISTINCT user_id) AS visible_users
FROM SYS_QUERY_HISTORY
WHERE start_time >= DATEADD(day, -1, GETDATE());
```
A successful query confirms that the identity can read the history source.
More than one `visible_users` is evidence of cross-user visibility; zero or
one is inconclusive and should be treated as potentially privilege-limited.
- **Your dbt project, if you use dbt.** A local sibling checkout is recommended
so the interview can draft from real models, tests, and metric definitions.
- **A dashboard in a local browser, if you want automated dashboard
verification.** This is optional, is configured only with your consent, and is
not needed to build context or answer warehouse questions. See
[how dashboard verification works](https://github.com/nodal-data/nodal-context/blob/main/docs/dashboard-verification.md), or
[watch it run against a live Sigma dashboard](https://docs.nodaldata.io/open-source/evaluation#live-verification-against-your-dashboard).
## Set up your first project
Run setup once from the folder where you want to create the context repo. Preferably this
is where your data lineage, like a dbt repo, lives as well. Ideally:
```
code/ <-- start your Claude Code / Codex client here
├── dbt-repo/ # your existing dbt project
└── analytics-context/ # created by Nodal, sister repo to the dbt project
```
The analytics context repo Nodal builds sits alongside your dbt project as a
sister repo, so the agent can see your data lineage while it interviews you.
```
# Claude Code
/nodal-analytics:setup-nodal
# Codex
$setup-nodal
```
Setup probes read-query, metadata, and query-history capabilities; discovers
nearby dbt and context sources; and records whether da