Skills authenticate-wallet
Authenticate to AgnicPay wallet using browser OAuth or non-browser API token mode
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/agnicpay-prog/agnic-authenticate-wallet" ~/.claude/skills/clawdbot-skills-authenticate-wallet-dcd1c4 && rm -rf "$T"
manifest:
skills/agnicpay-prog/agnic-authenticate-wallet/SKILL.mdsource content
Authenticate Wallet
Authenticate the user with their AgnicPay wallet using browser OAuth or token-based auth for headless agents.
Steps
-
Preferred for headless agents: provide a token (no browser required):
npx agnic@latest --token <agnic_token> status --jsonOr set an environment variable:
export AGNIC_TOKEN=<agnic_token> npx agnic@latest status --json -
Browser mode: run the login command:
npx agnic@latest auth loginThis opens the user's browser to AgnicPay where they sign in and set spending limits.
-
Wait for the browser flow to complete. The CLI will show "Authenticated!" when done.
-
Verify authentication:
npx agnic@latest status --json
Expected Output
{ "authenticated": true, "userId": "did:privy:...", "email": "user@example.com", "walletAddress": "0x...", "tokenExpiry": "2026-05-22T..." }
Error Handling
- If the user cancels the browser flow, the CLI will show "Authentication failed".
- If the browser doesn't open, the CLI prints a URL the user can copy manually.
- If token auth fails, check whether the token is valid/revoked/expired.
- If already authenticated,
will confirm without re-login.agnic status
Logout
To remove stored credentials:
npx agnic@latest auth logout