Install
openclaw skills install approve-pairingApprove a pending DM pairing request without the openclaw CLI, by directly editing credential files. Use when `openclaw pairing approve` is unavailable (CLI...
openclaw skills install approve-pairingApprove pending DM pairing requests by writing directly to OpenClaw credential files — no CLI required.
Pairing state lives in two files under ~/.openclaw/credentials/:
<channel>-pairing.json — pending requests (sender ID, code, accountId)<channel>-<accountId>-allowFrom.json — approved senders allowlistApproving = add sender ID to allowFrom file + remove code from pairing file.
python3 skills/approve-pairing/scripts/approve_pairing.py <channel> <code>
Example:
python3 skills/approve-pairing/scripts/approve_pairing.py telegram PWVW264M
The script:
~/.openclaw/credentials/<channel>-pairing.json~/.openclaw/credentials/<channel>-pairing.json to get id and meta.accountId~/.openclaw/credentials/<channel>-<accountId>-allowFrom.json:
{ "version": 1, "allowFrom": ["<sender_id>"] }
<channel>-pairing.jsoncreatedAt if approval failsopenclaw gateway restartaccountId is "default" or empty, the file is <channel>-default-allowFrom.json