repair
Diagnose and fix a broken devboy-tools setup — corrupt config, missing tokens, keychain trouble, wrong paths, plugin install failures.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Diagnose and fix a broken devboy-tools setup — corrupt config, missing tokens, keychain trouble, wrong paths, plugin install failures.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | repair |
| description | Diagnose and fix a broken devboy-tools setup — corrupt config, missing tokens, keychain trouble, wrong paths, plugin install failures. |
| category | self-bootstrap |
| version | 2 |
| compatibility | devboy-tools >= 0.24 |
| activation | ["repair devboy","fix devboy","devboy is broken","devboy doctor failing","devboy plugin not working"] |
| tools | ["doctor","config","test"] |
Walk a misbehaving devboy-tools setup back to health. This skill is driven by devboy doctor --format json — the structured output is the source of truth for what's wrong, and every repair step maps to a diagnostic code.
devboy doctor exits non-zero.ProviderUnsupported unexpectedly.devboy test <provider> prints a 401 / 403 / network error.If the issue is "nothing is configured yet" — use setup instead. This skill assumes a prior configuration existed.
Before running doctor, check whether we are in plugin context (Claude Code plugin or Codex plugin) and whether the binary is reachable at all:
if [ -n "$CLAUDE_PLUGIN_DATA" ]; then PLUGIN_CONTEXT=claude; PLUGIN_DATA="$CLAUDE_PLUGIN_DATA"; fi
if [ -n "$CODEX_PLUGIN_DATA" ]; then PLUGIN_CONTEXT=codex; PLUGIN_DATA="$CODEX_PLUGIN_DATA"; fi
command -v devboy || ls -la "${PLUGIN_DATA:-/dev/null}/bin/devboy" 2>/dev/null
If the binary is missing entirely, the plugin's setup skill failed during install. Recover before continuing:
npm path failed (sudo refused, restrictive prefix, npm not installed) — fall back to the platform tarball from GitHub Releases. Releases are not signed today, but each asset ships with a .sha256 sibling file; the snippet below verifies it before extraction:
case "$(uname -s)" in Linux*) os=linux ;; Darwin*) os=macos ;; esac
case "$(uname -m)" in x86_64|amd64) arch=x86_64 ;; aarch64|arm64) arch=arm64 ;; esac
asset="devboy-${os}-${arch}.tar.gz"
base="https://github.com/meteora-pro/devboy-tools/releases/latest/download"
mkdir -p "$PLUGIN_DATA/bin"
cd "$PLUGIN_DATA"
curl -sSL "$base/$asset" -o "$asset"
curl -sSL "$base/$asset.sha256" -o "$asset.sha256"
shasum -a 256 -c "$asset.sha256" # aborts on mismatch
tar -xzf "$asset" -C "$PLUGIN_DATA/bin/"
chmod +x "$PLUGIN_DATA/bin/devboy"
export PATH="$PLUGIN_DATA/bin:$PATH"
Binary present but MCP not connected — Claude Code or Codex needs /reload-plugins (or a session restart) for the MCP server entry to pick up a newly installed binary. Tell the user to run /reload-plugins and try again.
Plugin enabled but skills missing in the agent's skill catalogue — the agent has not refreshed; either reload or check that ~/.claude/settings.json#enabledPlugins actually contains devboy@meteora-devboy.
Once the binary is reachable, continue with doctor.
devboy doctor --format json > /tmp/devboy-doctor.json
jq '.' /tmp/devboy-doctor.json
The JSON shape is:
{
"version": { "current_version": "...", "latest_version": "...", "update_available": false, "install_method": "...", "update_command": "devboy upgrade" },
"results": [
{ "id": "environment.os_support", "category": "Environment", "name": "...", "status": "pass|warning|error", "message": "...", "details": null, "fix_command": "devboy init", "fix_url": null }
]
}
Every result has { id, category, name, status, message, details, fix_command, fix_url }. Status values are pass (good), warning (recoverable but worth attention), and error (must be fixed). Any non-null fix_command is a suggested starting point.
If the command itself fails to run, devboy is not on PATH — install or re-link the binary before continuing.
The real check id taxonomy (from devboy doctor --list-checks):
environment.os_support, environment.config_dir, environment.credential_store. The first two warn when the config directory is missing (run devboy init); the third warns when the OS keychain daemon isn't reachable (move tokens to env vars — see step 3).config.exists, config.valid_toml, config.active_context. Missing file → devboy init; invalid TOML → open .devboy.toml in an editor or run devboy init --force; stale active context → edit the active_context field or re-run devboy init.credentials.github, credentials.gitlab, credentials.clickup, credentials.jira, credentials.slack. A warning/error means the token is missing. Store it with devboy config set-secret <provider>.token or set the matching DEVBOY_<PROVIDER>_TOKEN / <PROVIDER>_TOKEN env var.providers.github, providers.gitlab, providers.clickup, providers.jira, providers.slack. error means the token is rejected (401/403) or the endpoint is unreachable. 401/403 → rotate the token. Unreachable → check network / base URL.mcp.tools reports on the built-in tool filter; only warns if the config disables every tool.proxy.servers checks upstream MCP proxy connectivity. Failure usually means a bad --proxy-token or a dead URL; re-issue with devboy proxy add <name> --url <url> --force --token <new>.After each fix:
devboy doctor --format json | jq '[.results[] | select(.status=="error")] | length'
Zero error results is the target (some warnings are expected — e.g. "no config file" until devboy init runs). Repeat step 3 until every error is resolved.
devboy tools list
devboy tools call get_issues '{"limit": 3}'
Either must produce real data. ProviderUnsupported at this point means the provider is mis-configured (wrong project id, wrong list id, wrong repo owner) — go back to step 2.
*_token / set-secret argument as opaque..devboy.toml automatically — config changes are a user decision.devboy doctor — it is the only deterministic source of ground truth here.devboy doctor exits zero with no failing checks.Walk a project from "no values provisioned" to "doctor --secrets is green" — eight idempotent steps with resume support via setup-state.toml. Wraps the secret framework (ADR-023 §3.8) for AI agents and headless onboarding.
Bootstrap devboy from scratch — install the CLI if missing, register the MCP server, run `devboy onboard` for the active agent, optionally bootstrap the secret framework, verify with `doctor`. First-run skill for both manual installs and the Claude Code / Codex plugin.
First-run wizard for the devboy secret framework — walk a fresh project from "no secret manifest, no router, no daemon" to "every required secret provisioned and verified". Idempotent eight-step flow per ADR-023 §3.8 with state at ~/.devboy/secrets/setup-state.toml so the user can resume or skip.
Analyse the user's Claude Code (or other agent) logs and auto-configure the layered-pipeline compression profiles for their tools, models, and workflow.
Enumerate and introspect the active tool bundle — names, categories, schemas, how to invoke each tool from the CLI.
Create a well-structured issue in the configured tracker using Feature, Defect, or Task templates.