본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

gateway-guard

runeweaverstudios 제작

Coding Agents & IDEs
670clawskills.sh가 보고한 다운로드 수
2스타
1조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Ensures OpenClaw gateway auth consistency and can auto-prompt "continue" when a run error (Unhandled stop reason.

설명

이 스킬이 하는 일

Keeps OpenClaw gateway authentication in sync with openclaw.json by detecting token and password mismatches. Can automatically send "continue" to a stalled agent when "Unhandled stop reason: error" appears in gateway logs. Invoke it before delegating to sub-agents or after updating OpenClaw.

Automates the check-and-restart cycle that would otherwise require manually inspecting logs, editing openclaw.json, and restarting the gateway each time auth drifts.

사용 시점

  • Diagnosing device_token_mismatch errors before spawning sub-agents
  • Verifying gateway auth is correct after an OpenClaw update
  • Auto-resuming stalled agent runs when a run error appears in gateway logs
  • Restarting the gateway with the correct credentials when the TUI disconnects
  • Checking gateway status at the start of an orchestrator flow

예시 워크플로

입력

User asks: The TUI won't connect and logs show device_token_mismatch

에이전트
  1. 1

    Run gateway_guard.py status --json to get current auth state

  2. 2

    Detect mismatch between running gateway credentials and openclaw.json

  3. 3

    Run gateway_guard.py ensure --apply --wait to restart gateway with correct credentials

  4. 4

    Confirm gateway port is open and status returns ok

출력

Gateway restarted with credentials matching openclaw.json, TUI can reconnect

설치

clawhub install runeweaverstudios/gateway-guard

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크