setup-nodal
Skill19 starsChanged 3 months agoApache-2.0View on GitHub
Configure 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.
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
- analytics-planSkill
- challenge-resultSkill
- context-interviewSkill
- dashboard-verifySkill
- verify-resultSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Create or repair project-local Nodal configuration without storing credentials.
- Distinctive: line 13
When explicitly invoked only to change browser verification, preserve every valid warehouse and context-source field unchanged, run only …
- Distinctive: line 27
Search the project root, its children to depth 3, and sibling directories to depth 3.
- Very specific: line 38
read query: SELECT 1 (or the platform's equivalent).
- Very specific: line 47
Read browser.mode from a valid existing configuration.
- Very specific: line 55
If no binding is live, check only whether the bundled binding is already present in the project .mcp.json by running the helper's sanitized …
- Distinctive: line 63
When a dashboard is named or automation is explicitly requested and no binding is configured, explain before asking: *"Nodal can optionally …
- Distinctive: line 109
Never work around helper refusal.
≈ “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
Setup Nodal
Create or repair project-local Nodal configuration without storing credentials.
This is the only Nodal skill allowed to write .nodal.local.json or merge a
browser binding into .mcp.json.
When explicitly invoked only to change browser verification, preserve every valid warehouse and context-source field unchanged, run only the browser, confirmation, and write portions of this procedure, and re-probe only the browser.
Procedure
- Establish the user's project root from the current repository or the path they name. Never write into this installed skill directory.
- Discover local context candidates with bounded searches only:
- ACF: identify
context.config.yaml. - KTX: identify
semantic-layer/pluswiki/. - dbt: identify
dbt_project.ymlortarget/manifest.json. - Markdown or agent skills: identify only directories the user names or that are already inside the bounded project search. Search the project root, its children to depth 3, and sibling directories to depth 3. Do not crawl the home directory.
- git remotes: inspect only candidates already found. Present at most five most-recent candidates and ask which ones to use.
- ACF: identify
- Discover documentation and semantic-layer tools that are already loaded and
user-authorized. Classify each chosen source by kind, access (
localormcp), authority, and availability. For MCP sources, record only the binding name — never connector configuration, document contents, account identifiers, or credentials. Probe with a bounded search/read that retrieves no sensitive document body when the tool supports metadata-only discovery. - Discover available warehouse tools and run non-mutating probes:
- read query:
SELECT 1(or the platform's equivalent); - metadata: list one catalog/schema without fetching table contents;
- query history: a bounded metadata query using the platform recipe from the
context-interview skill when available.
Record only classifications (
ok,unavailable,denied,full,limited, orunsupported) and a UTC verification timestamp. Never record raw errors, authentication responses, query text, tokens, account names, or credentials.
- read query:
- Resolve browser intent without turning general setup into a browser-install
prompt:
- Read
browser.modefrom a valid existing configuration. Missingmodeis backward-compatible: inferautomatedwhenbindingis set andask_when_neededotherwise. - Respect
mode: manualbefore live discovery. Do not use an otherwise available browser for Nodal or ask again unless the user explicitly asks to change browser verification. - Discover browser tools already loaded. A suitable live binding means
mode: automated; record its binding. - If no binding is live, check only whether the bundled binding is already
present in the project
.mcp.jsonby running the helper's sanitizedmcp-statuscommand. Never display or record the MCP configuration body. If it reportsconfigured, say that a session restart and one-time project server approval are still required. Do not offer to install it again. - During general setup, when the user has not named a dashboard or asked for
automated dashboard verification, use
mode: ask_when_neededand do not interrupt setup with a browser offer. - When a dashboard is named or automation is explicitly requested and no
binding is configured, explain before asking: "Nodal can optionally open a
visible, dedicated Chrome profile to read one named dashboard, capture its
values and active filters, and compare them with warehouse answers. You
sign in yourself; Nodal never requests or handles credentials. This is not
needed to build context or answer warehouse questions." Offer automated
or manual verification. A manual choice writes
mode: manualwith a null binding so it is not asked again. For automated verification, offer the bundledassets/chrome-devtools.mcp.json, explain that Chrome DevTools MCP is a local browser bridge rather than the Chrome developer panel, and merge it only after explicit consent. Writemode: automatedandbinding: chrome-devtools, then clearly request the required session restart.
- Read
- Show the complete destination and sanitized configuration for confirmation.
The normal fresh context destination is
../analytics-context, resolved from the user's project root. Always confirm before writing. Resolve the helper from the directory containing this actually loaded
SKILL.md; do not assume a checkout path or environment variable. Write through that deterministic helper (it validates and uses atomic replace):python3 <resolved-setup-skill-directory>/scripts/nodal_config.py write --project-root <project-root> --input <sanitized-json>For an approved default browser binding:
python3 <resolved-setup-skill-directory>/scripts/nodal_config.py mcp-status --project-root <project-root> --binding chrome-devtools python3 <resolved-setup-skill-directory>/scripts/nodal_config.py merge-mcp --project-root <project-root> --binding chrome-devtools --consent- Re-run the live probes and report the sanitized warehouse and context-source capability tables. A failed optional probe degrades normally; it does not invalidate the config.
Configuration contract
The helper accepts version 1 only. context_sources is an array whose entries
carry a unique name, kind (acf, ktx, dbt, markdown, agent-skill, or
documentation), access (local or mcp), authority (confirmed, governed,
documented, behavioral, or inferred), sanitized availability, verification
timestamp, and enabled flag. Local sources require location; MCP sources require
binding. Local paths may be relative to the project root. Repository identities
are durable host paths such as github.com/acme/acme-dbt. The file is local and
gitignored.
Never work around helper refusal. Malformed JSON, secret-like fields, an invalid status, or an existing browser binding require the user to repair or choose a different binding explicitly; this skill does not overwrite them.
browser.mode is ask_when_needed, manual, or automated. New configurations
always write it. Version-1 configurations without mode remain valid and infer
the intent from binding. automated requires a non-null binding; the other
modes require a null binding. The mode records the user's durable preference,
not whether a tool happens to be live in the current session.
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.

