Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

approve-pairing

bởi madan-wego

Coding Agents & IDEs
466Lượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Approve a pending DM pairing request without the openclaw CLI, by directly editing credential files.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: approve the telegram pairing request with code PWVW264M

AGENT
  1. 1

    Run the approve_pairing.py script with channel 'telegram' and code 'PWVW264M'

  2. 2

    Script reads ~/.openclaw/credentials/telegram-pairing.json and finds the matching request

  3. 3

    Extracts the sender ID and accountId from the pending request entry

  4. 4

    Appends the sender ID to ~/.openclaw/credentials/telegram-<accountId>-allowFrom.json

  5. 5

    Removes the code entry from telegram-pairing.json

ĐẦU RA

Sender added to the telegram allowlist; pairing request cleared from pending

Cài đặt

clawhub install madan-wego/approve-pairing

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết