Approve Pairing
/install approve-pairing
approve-pairing
Approve pending DM pairing requests by writing directly to OpenClaw credential files — no CLI required.
How It Works
Pairing state lives in two files under ~/.openclaw/credentials/:
\x3Cchannel>-pairing.json— pending requests (sender ID, code, accountId)\x3Cchannel>-\x3CaccountId>-allowFrom.json— approved senders allowlist
Approving = add sender ID to allowFrom file + remove code from pairing file.
Quick Approval (script)
python3 skills/approve-pairing/scripts/approve_pairing.py \x3Cchannel> \x3Ccode>
Example:
python3 skills/approve-pairing/scripts/approve_pairing.py telegram PWVW264M
The script:
- Reads
~/.openclaw/credentials/\x3Cchannel>-pairing.json - Finds the request matching the code
- Appends the sender ID to the allowFrom file
- Removes the code from pending requests
Manual Steps (if script unavailable)
- Read
~/.openclaw/credentials/\x3Cchannel>-pairing.jsonto getidandmeta.accountId - Write/update
~/.openclaw/credentials/\x3Cchannel>-\x3CaccountId>-allowFrom.json:{ "version": 1, "allowFrom": ["\x3Csender_id>"] } - Clear the pending request from
\x3Cchannel>-pairing.json
Notes
- Codes expire after 1 hour — check
createdAtif approval fails - A gateway restart may be needed:
openclaw gateway restart - If
accountIdis"default"or empty, the file is\x3Cchannel>-default-allowFrom.json - Pending requests capped at 3 per channel; old ones must expire before new ones are created
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install approve-pairing - After installation, invoke the skill by name or use
/approve-pairing - Provide required inputs per the skill's parameter spec and get structured output
What is Approve Pairing?
Approve a pending DM pairing request without the openclaw CLI, by directly editing credential files. Use when `openclaw pairing approve` is unavailable (CLI... It is an AI Agent Skill for Claude Code / OpenClaw, with 1032 downloads so far.
How do I install Approve Pairing?
Run "/install approve-pairing" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Approve Pairing free?
Yes, Approve Pairing is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Approve Pairing support?
Approve Pairing is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Approve Pairing?
It is built and maintained by madan-wego (@madan-wego); the current version is v2.0.0.