feat(94-dintel-bootstrap): add MCP agent installer skill

New Claude Skill that wraps the `dintel-bootstrap` CLI from the
dintel-auth package to install and diagnose the three D.intelligence
custom MCP agents (DTM, D.DA, OurSEO) in ~/.claude/settings.json.

Triggers on: "set up MCP agents", "install DTM/D.DA/OurSEO", "run MCP
doctor", "bootstrap a new machine", "my MCP agents stopped working".

Scope boundaries:
- Only registers existing agent installs (does NOT clone agent repos)
- Only touches ~/.claude/settings.json (does NOT modify .mcp.json)
- Does NOT store secrets; OurSEO profile uses op run wrapper
- Does NOT trigger interactive auth; prompts user to run op signin

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-23 21:13:09 +09:00
parent 665fe22201
commit 2667304bca
3 changed files with 239 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
# 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).