decker-setup
Installation
SKILL.md
Connect this agent to Decker
Run this handshake yourself. Request a device code, send the user to the Google-authenticated approval page, poll for approval, and save the issued key. Never ask the user to copy a credential.
1. Check the existing connection
Use DECKER_URL from .env, defaulting to https://decker.site. Load DECKER_API_KEY without printing it and call:
curl -fsS "$DECKER_URL/api/auth/whoami" \
-H "Authorization: Bearer $DECKER_API_KEY"
If it succeeds, report which account is connected and stop. If the key is missing or the response is 401, continue.