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

/setup-nodal

@030c867
Run it yourself

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.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈64 tokens for metadata: the name and description. ≈1.7k when used: this file. ≈120 more on demand in 2 files.

How this Skill uses context

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

This Skill turns off automatic use in Claude Code. Its description stays out of the automatic Skill list by default.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

  1. Establish the user's project root from the current repository or the path they name. Never write into this installed skill directory.

  2. Discover local context candidates with bounded searches only:

    • ACF: identify context.config.yaml.
    • KTX: identify semantic-layer/ plus wiki/.
    • dbt: identify dbt_project.yml or target/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.
  3. Discover documentation and semantic-layer tools that are already loaded and user-authorized. Classify each chosen source by kind, access (local or mcp), 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.

  4. 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, or unsupported) and a UTC verification timestamp. Never record raw errors, authentication responses, query text, tokens, account names, or credentials.
  5. Resolve browser intent without turning general setup into a browser-install prompt:

    • Read browser.mode from a valid existing configuration. Missing mode is backward-compatible: infer automated when binding is set and ask_when_needed otherwise.
    • Respect mode: manual before 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.json by running the helper's sanitized mcp-status command. Never display or record the MCP configuration body. If it reports configured, 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_needed and 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: manual with a null binding so it is not asked again. For automated verification, offer the bundled assets/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. Write mode: automated and binding: chrome-devtools, then clearly request the required session restart.
  6. 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.

  7. 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
  8. 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.

Source: SKILL.md on GitHub

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 secure configuration interface for Nodal projects with strong built-in protections against credential theft. It includes a dedicated Python helper that strictly validates data and blocks any fields that appear to be secrets or passwords. External tools are limited to specific, versioned packages from the official npm registry.

  • 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 months ago
disable-model-invocation
true

README badge

README badge for nodal-data/nodal-context/setup-nodal