# 94-dintel-bootstrap

**Claude Skill for installing and verifying D.intelligence custom MCP agents.**

Wraps the `dintel-bootstrap` CLI (shipped in the `dintel-auth` Python package)
so Claude Code can install, verify, and diagnose the three custom MCP agents
used across D.intelligence work:

| Agent | Role |
|-------|------|
| **DTM** (`dtm-agent`) | Google Tag Manager tag/trigger/variable management |
| **D.DA** (`dda`) | Google Analytics 4 + Search Console analytics |
| **OurSEO** (`ourseo`) | SEO crawler, audit, KG/CSE search, schema tools |

## Activation Triggers

The skill activates automatically when the user says things like:

- "Set up MCP agents on this machine"
- "Install DTM / D.DA / OurSEO"
- "Run MCP doctor"
- "My MCP agents stopped working"
- "Bootstrap a new laptop"

## What It Does

1. Checks prerequisites (`op`, `gcloud` ADC, Python 3.10+, `uv`).
2. Installs `dintel-auth` if not already present.
3. Runs `dintel-bootstrap doctor --agent all` (read-only diagnosis).
4. On failure, runs `dintel-bootstrap install --agent all` to repair
   `~/.claude/settings.json`.
5. Prompts the user to restart Claude Code.

## What It Does NOT Do

- **Does not install the three agent repos themselves.** Each has its own
  install script (`install` / `setup.sh` in the agent's repo). Run those
  first; this skill only registers existing installs in MCP config.
- **Does not modify project-scoped `.mcp.json` files.** Only touches
  `~/.claude/settings.json`.
- **Does not store secrets.** All sensitive values remain in 1Password;
  the OurSEO profile uses `op run` to inject them at MCP launch time.
- **Does not trigger interactive auth.** `op signin`, `gcloud auth login`,
  and Touch ID confirmations must happen in the user's own terminal.

## Related

- `dintel-auth` — the Python package that owns the `dintel-bootstrap` CLI and
  the MCP profile JSONs.
- `91-multi-agent-guide` — multi-agent collaboration framework (different
  scope: project-level agent coordination, not machine bootstrap).
