Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Approve DM pairing requests without the openclaw CLI
What This Skill Does
Approves pending DM pairing requests by directly editing OpenClaw credential files instead of using the CLI. Works when the `openclaw pairing approve` command is unavailable due to PATH issues, permission restrictions, or sandbox environments. Supports telegram, whatsapp, signal, imessage, discord, slack, and feishu.
Bypasses CLI dependency entirely by operating on credential files directly, so pairing can be approved in any environment where file system access is available.
When to use it
- Approving a pairing request in a sandboxed CI environment
- Recovering pairing access when openclaw CLI is not in PATH
- Manually approving a sender on a remote server without elevated permissions
- Scripting bulk pairing approvals across multiple channels
- Unblocking a pairing request before the 1-hour code expiry
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: approve the telegram pairing request with code PWVW264M
- 1Run the approve_pairing.py script with channel 'telegram' and code 'PWVW264M'
- 2Script reads ~/.openclaw/credentials/telegram-pairing.json and finds the matching request
- 3Extracts the sender ID and accountId from the pending request entry
- 4Appends the sender ID to ~/.openclaw/credentials/telegram-<accountId>-allowFrom.json
- 5Removes the code entry from telegram-pairing.json
Sender added to the telegram allowlist; pairing request cleared from pending