🧪 Skills
Clawket
Generate QR codes for Clawket mobile app to pair with the local OpenClaw Gateway. Use when user mentions: Clawket pairing, login Clawket, QR code, mobile app...
v1.0.1
Description
name: clawket description: >- Generate QR codes for Clawket mobile app to pair with the local OpenClaw Gateway. Use when user mentions: Clawket pairing, login Clawket, QR code, mobile app connection, connect phone to Gateway, or scan to login.
Clawket Gateway QR Code
Generate a QR code that the Clawket mobile app can scan to auto-configure Gateway connection (URL + auth token).
Generate QR Code
Run the script:
bash SKILL_DIR/scripts/gateway-qr.sh
The script will:
- Read
~/.openclaw/openclaw.jsonfor the auth token - Detect the local LAN IP address
- Generate a QR code as a PNG image at
~/.openclaw/media/clawket-qr.png - Also print an ASCII QR code to the terminal
Send the PNG to the user via the message tool (filePath: ~/.openclaw/media/clawket-qr.png).
QR Payload Format
The QR code contains a JSON object:
{
"host": "192.168.1.100",
"port": 18789,
"token": "...",
"tls": false
}
The Clawket app scans this and auto-fills Gateway URL + auth token, then connects.
Troubleshooting
- If
qrencodeis not installed:brew install qrencode(macOS) /sudo apt install qrencode(Linux) /choco install qrencode(Windows) - If the LAN IP detection fails, the script falls back to
127.0.0.1 - The token is read directly from the JSON config file (not via
openclaw config getwhich redacts it)
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!