x-builder-doctor
Diagnose local x-builder setup and runtime failures. Use when Codex needs to check build artifacts, Node/pnpm prerequisites, Chrome CDP availability, local…
от creynir★ 37 звёзд на GitHub
Установить x-builder-doctor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
X Builder Doctor
Quick Diagnosis
Run the bundled doctor from the repo root:
node docs/features/agent-operator-skill/skills/x-builder-doctor/scripts/doctor.mjs
Use stricter checks when the user expects the overlay to be runnable now:
node docs/features/agent-operator-skill/skills/x-builder-doctor/scripts/doctor.mjs --require-build --require-cdp
Use JSON when another tool or report needs structured output:
node docs/features/agent-operator-skill/skills/x-builder-doctor/scripts/doctor.mjs --json
The doctor is read-only. It checks local files, package tools, build artifacts, SQLite metadata through the sqlite3 CLI when available, and the configured/local Chrome CDP endpoint. It must not write to the database, launch Chrome, bypass login, or touch X.
Triage Order
- Run the doctor and preserve its exact failing check names.
- If package/build checks fail, run the narrow command the failure names: usually
pnpm install,pnpm build, orpnpm --filter @x-builder/overlay build. - If CDP fails, verify Chrome was started with a remote debugging port and that the user is logged into x.com in that browser.
- If the overlay disappears after refresh, keep the runner process alive and verify post-refresh browser globals:
document.getElementById("xb-overlay-root")
window.__xbTransport
window.__xbuilder_getOverlayReadiness?.()
- If storage checks fail, inspect the path and permissions, but do not hand-edit SQLite rows.
- If archive, feedback, or active-context behavior is suspect, use supported APIs or app flows to inspect state.
Common Findings
overlay bundle missing: runpnpm --filter @x-builder/overlay buildorpnpm build.runner dist missing: runpnpm --filter @x-builder/runner buildorpnpm build.CDP unavailable: start or reuse Chrome with--remote-debugging-port=9222, then run the runner withXB_CDP_ENDPOINT=http://127.0.0.1:9222.database missing: acceptable on a fresh install before first runner/engine startup.SQLite user_version below current: the current code expects migrations through version 4; run the app normally so supported migrations apply.settings root missing: acceptable before first run.
Safety Rules
Do not diagnose by posting, liking, following, reposting, sending DMs, replaying X auth headers, auto-scrolling to harvest, or crafting authenticated GraphQL calls. Do not bypass user login/consent. Do not mutate ~/.x-builder/engine-settings/storage/x-builder.db directly.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
- scripts/doctor.mjs
FAQ
Что делает скилл x-builder-doctor?
Diagnose local x-builder setup and runtime failures. Use when Codex needs to check build artifacts, Node/pnpm prerequisites, Chrome CDP availability, local SQLite/storage boundaries, runner/overlay readiness, or explain why the x-builder overlay, engine, archive import, capture, or feedback loop is not working.
Как установить скилл x-builder-doctor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл x-builder-doctor запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
patterns
AnthropicFind patterns worth sharing from recent PRs and repo history, both repeats to fix and good practices worth spreading. Use when a champion wants to know what…
copilot-cli-quickstart
GitHubUse this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and…
vardoger-analyze
GitHubUse when the user asks to personalize the GitHub Copilot CLI assistant, adapt Copilot to their style, use vardoger, or analyze their Copilot CLI conversation…
policy-lookup
AnthropicFind and explain company policies in plain language. Trigger with "what's our PTO policy", "can I work remotely from another country", "how do expenses work"…