integrail/everworker-plugins/diagnose
Claude Code and agent skill by integrail/everworker-plugins
- community
Checking that the SKILL.md file is still in the repository.
Diagnose and package a debug report when the ai-builder plugin can't connect, authenticate, or run its MCP tools — server unreachable, 401/403 auth errors, version/contract mismatch, or Claude Code suddenly unable to use the `mcp__ai_builder__*` tools. Runs entirely from local host resources (no MCP needed) and produces a single redacted zip the user can send to the Everworker team.
Install
npx vskill@latest install integrail/everworker-plugins/diagnoseSKILL.md
The same SKILL.md was published earlier as integrail/everworker-plugins/diagnose.
The user's ai-builder plugin is failing to connect / authenticate / run MCP tools, and they want a debug package to send for investigation. Their description of the problem (may be empty):
$ARGUMENTS
This skill must NOT use any `mcp__ai_builder__*` tool — the whole point is that the MCP is (probably) broken. Everything here runs via local shell commands. Do not read the PLAYBOOK or call MCP tools; just follow these steps.
Generating the package is the whole job. Do not send, upload, or transmit it anywhere — the user forwards it themselves.
Run these steps in order:
- Set expectations (one line to the user). Tell them: this runs local-only checks (no MCP needed), writes a redacted package (your token is never included), and sends nothing — they review it and forward it to the Everworker team.
- Create a staging directory under the current working directory:
everworker-diagnostics/<UTC-timestamp>/ (e.g. everworker-diagnostics/2026-06-25T1430Z/). Use Bash: date -u +%Y-%m-%dT%H%MZ for the stamp.
- Run the diagnostic engine. Invoke the shipped script, passing the staging dir:
``bash bash "${CLAUDE_PLUGIN_ROOT}/scripts/diagnose.sh" "<staging-dir>" ` If $CLAUDE_PLUGIN_ROOT is empty in the shell, locate the script first: find "$HOME/.claude/plugins" -name diagnose.sh -path 'ai-builder' 2>/dev/null | head -1 (or use the repo path if developing locally), then run it. The script probes connectivity / health / the MCP endpoint (unauthenticated) / version, folds in cached authenticated facts + Claude Code state, **redacts secrets**, and writes capture files (environment.txt, health.txt, health.json, mcp-unauth.txt, auth-probe.json, claude-code.txt, verdict.txt) into the staging dir. **Relay its stdout VERDICT:` line to the user verbatim** — it's the headline finding.
- Collect the user's narrative (the part the probes can't know). Ask for, and pre-fill from
$ARGUMENTSwhere possible:
- the exact error text they saw (paste / screenshot transcription),
- what they were doing when it happened,
- steps to reproduce,
- when it started and whether it ever worked,
- any recent changes (server deploy/redeploy,
/plugin update, token rotation, network/VPN change).
Write their answers to <staging-dir>/user-report.md.
- Compose `<staging-dir>/report.md` — the headline artifact. Include, in this order:
- Verdict (from
verdict.txt) and a one-line plain-English "most likely cause". - Environment (from
environment.txt): timestamps, OS, Claude Code version, plugin version + git commit, target URL, server contract + features. - Probe results table: health (curl exit + HTTP status), MCP unauthenticated (HTTP + JSON-RPC code), authenticated facts (status, initialize ok, token expired?, has required scope?, fingerprint, when probed), version/feature match.
- User report: the narrative + repro steps from step 4.
- Suggested next step derived from the verdict (e.g. "server-side MCP mount failure — Everworker team to check pod logs for the cf-ray / initFailed"; "token expired — reissue"; "version mismatch — upgrade server or install matching plugin channel").
Reference the raw capture files by name so the recipient knows what's in the zip.
- Confirm before bundling. Render
report.mdinline for the user, list the files that will be zipped, and state the redactions applied (JWT, Bearer tokens, URL credentials, token query params — never included). Ask them to eyeball it and approve. Do not bundle until they say yes.
- On approval, bundle a single archive in the current working directory:
``bash ( cd everworker-diagnostics && zip -rq "../everworker-diagnostics-<ts>.zip" "<ts>/" ) ` If zip is unavailable, fall back to tar -czf everworker-diagnostics-<ts>.tgz -C everworker-diagnostics "<ts>"`. Print the final path and tell the user: "Send this single file to the Everworker team." Leave the zip; you may remove the staging folder or keep it — your call, but keep the zip.
- If `auth-probe.json` was missing (the script wrote
auth-probe-missing.txt), the authenticated checks couldn't run from the cache. Tell the user that connectivity findings are still complete, and offer the one optional command fromauth-probe-missing.txtthey can run themselves via the!prefix (their token stays in their shell) to add the authenticated signal — then re-run this skill to fold it in.
Keep the whole interaction tight and reassuring: the user is likely blocked and frustrated. Lead with the verdict, then produce the package.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ai-builder/skills/diagnose/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/integrail/everworker-plugins/diagnose)