/remote-gateway:gateway-doctorfrom remote-gateway
Diagnose a ByteDesk gateway install without printing secrets. Use for doctor, health check, missing control.env, or post-install verification.
Ships in remote-gateway. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
ROOT="${GROK_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"
SKILL_DIR="${ROOT:+$ROOT/skills/gateway-doctor}"
SKILL_DIR="${SKILL_DIR:-<directory containing this SKILL.md>}"
"$SKILL_DIR/scripts/doctor.sh"
# Windows: pwsh -File "$SKILL_DIR/scripts/doctor.ps1"
Reports presence of keys, healthz, and deps. Never dumps token values.
scripts/containment.py (opens in a new tab)scripts/containment_test.py (opens in a new tab)scripts/doctor.ps1 (opens in a new tab)scripts/doctor.sh (opens in a new tab)scripts/doctor_test.ps1 (opens in a new tab)scripts/doctor_test.sh (opens in a new tab)scripts/lib/platform.ps1 (opens in a new tab)scripts/lib/platform.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub bytedeskai/bytedesk-marketplace --plugin remote-gateway17 skills in this plugin
/commitCommit and push repo changes with human-only authorship, Keep a Changelog update, and embedded changelog sync. After a successful commit in a linked git worktree, offer to merge into the main checkout and remove the tree (Grok/Claude/Codex isolation). Never attributes coding agents or external co-authors. Use when the user runs /commit, says "commit", "commit and push", "land the changes", "update changelog and push", or wants a clean push of the current worktree.
/cutoverSafe production cutover for bytedesk-remote-gateway via this skill's bundled scripts/deploy-safe.sh, only from the develop branch. DEFAULT always restarts: preflight → stage → restart-cutover → postflight (do not stage-only or ask for restart). Use FORCE_RESTART=1 when stage is UNCHANGED but bounce is still required. Also after every completed implementation task that changes gateway/SPA runtime. After feature cutover PASS, ask the operator to /commit (do not auto-commit). Triggers: /cutover, "safe cutover", "deploy-safe", "stage binary" (stage-only only if user says stage only / no restart), "restart cutover", FORCE_RESTART, postflight healthz.
/desktop-depsCheck desktop/agents profile dependencies for the gateway on Linux, macOS, and Windows. Use when desktop profile, VNC, Xvfb, or ttyd is missing.
/gateway-installInstall ByteDesk remote gateway (commercial free core) on Linux, macOS, or Windows. Profiles core|agents|desktop. Use when the user says install gateway, setup gateway, or wants a private-first bytedesk-gateway home.
/gateway-lifecycleStart, stop, status, healthz, and print /setup URL for an installed ByteDesk gateway on Linux (systemd), macOS (launchd), or Windows (run.ps1/pid).
/gateway-logsDiagnose problems from a ByteDesk remote gateway's own log index with the gateway `logs` plugin: find the right logger, query by time window, level, text or correlation id, tail live, line logs up with an incident, export an NDJSON evidence slice, and mute a noisy logger reversibly. Use this whenever something on a gateway host misbehaves — errors, 5xx, a plugin that will not start, a crash or restart loop, slow requests, an agent session that died, "what happened at 03:27", "check the gateway logs", "tail the logs", "why is the log store full", "this logger is spamming" — and before guessing at a cause, even when the user does not say "logs". Covers the MCP tools `logs_list_loggers`, `logs_query`, `logs_get`, `logs_stats`, `logs_get_storage`, `logs_set_storage`, `logs_export`, `logs_mute_logger`, `logs_unmute_logger`, `logs_flush_now`, and the HTTP API `/logs/api/*`. For CPU, memory or goroutine questions use gateway-profiling next.