/remote-gateway:gateway-lifecyclefrom remote-gateway
Start, stop, status, healthz, and print /setup URL for an installed ByteDesk gateway on Linux (systemd), macOS (launchd), or Windows (run.ps1/pid).
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-lifecycle}"
SKILL_DIR="${SKILL_DIR:-<directory containing this SKILL.md>}"
# Linux / macOS / Git Bash:
"$SKILL_DIR/scripts/start.sh"
"$SKILL_DIR/scripts/stop.sh"
"$SKILL_DIR/scripts/status.sh"
"$SKILL_DIR/scripts/health.sh"
"$SKILL_DIR/scripts/setup-url.sh"
# Windows PowerShell / pwsh:
if ($env:GROK_PLUGIN_ROOT) { $SKILL_DIR = "$env:GROK_PLUGIN_ROOT/skills/gateway-lifecycle" }
elseif ($env:CLAUDE_PLUGIN_ROOT) { $SKILL_DIR = "$env:CLAUDE_PLUGIN_ROOT/skills/gateway-lifecycle" }
else { $SKILL_DIR = "<directory containing this SKILL.md>" }
pwsh -File "$SKILL_DIR/scripts/start.ps1"
pwsh -File "$SKILL_DIR/scripts/stop.ps1"
pwsh -File "$SKILL_DIR/scripts/status.ps1"
pwsh -File "$SKILL_DIR/scripts/health.ps1"
pwsh -File "$SKILL_DIR/scripts/setup-url.ps1"
| OS | Service backend |
|---|---|
| Linux | systemctl --user when available, else run.sh + pid |
| macOS | launchd LaunchAgent ai.bytedesk.gateway |
| Windows | run.ps1 / binary + gateway.pid |
Home resolution: BYTEDESK_GATEWAY_HOME / GATEWAY_HOME / ~/.bytedesk-gateway / ~/.bytedesk-emote-gateway.
scripts/common.sh (opens in a new tab)scripts/health.ps1 (opens in a new tab)scripts/health.sh (opens in a new tab)scripts/lib/platform.ps1 (opens in a new tab)scripts/lib/platform.sh (opens in a new tab)scripts/setup-url.ps1 (opens in a new tab)scripts/setup-url.sh (opens in a new tab)scripts/start.ps1 (opens in a new tab)scripts/start.sh (opens in a new tab)scripts/status.ps1 (opens in a new tab)scripts/status.sh (opens in a new tab)scripts/stop.ps1 (opens in a new tab)scripts/stop.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
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.
Other plugins' skills for the same job