{
  "schemaVersion": "1.0",
  "item": {
    "slug": "approve-pairing",
    "name": "Approve Pairing",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/madan-wego/approve-pairing",
    "canonicalUrl": "https://clawhub.ai/madan-wego/approve-pairing",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/approve-pairing",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=approve-pairing",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/approve_pairing.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/approve-pairing"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/approve-pairing",
    "agentPageUrl": "https://openagent3.xyz/skills/approve-pairing/agent",
    "manifestUrl": "https://openagent3.xyz/skills/approve-pairing/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/approve-pairing/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "approve-pairing",
        "body": "Approve pending DM pairing requests by writing directly to OpenClaw credential files — no CLI required."
      },
      {
        "title": "How It Works",
        "body": "Pairing state lives in two files under ~/.openclaw/credentials/:\n\n<channel>-pairing.json — pending requests (sender ID, code, accountId)\n<channel>-<accountId>-allowFrom.json — approved senders allowlist\n\nApproving = add sender ID to allowFrom file + remove code from pairing file."
      },
      {
        "title": "Quick Approval (script)",
        "body": "python3 skills/approve-pairing/scripts/approve_pairing.py <channel> <code>\n\nExample:\n\npython3 skills/approve-pairing/scripts/approve_pairing.py telegram PWVW264M\n\nThe script:\n\nReads ~/.openclaw/credentials/<channel>-pairing.json\nFinds the request matching the code\nAppends the sender ID to the allowFrom file\nRemoves the code from pending requests"
      },
      {
        "title": "Manual Steps (if script unavailable)",
        "body": "Read ~/.openclaw/credentials/<channel>-pairing.json to get id and meta.accountId\nWrite/update ~/.openclaw/credentials/<channel>-<accountId>-allowFrom.json:\n{ \"version\": 1, \"allowFrom\": [\"<sender_id>\"] }\n\n\nClear the pending request from <channel>-pairing.json"
      },
      {
        "title": "Notes",
        "body": "Codes expire after 1 hour — check createdAt if approval fails\nA gateway restart may be needed: openclaw gateway restart\nIf accountId is \"default\" or empty, the file is <channel>-default-allowFrom.json\nPending requests capped at 3 per channel; old ones must expire before new ones are created"
      }
    ],
    "body": "approve-pairing\n\nApprove pending DM pairing requests by writing directly to OpenClaw credential files — no CLI required.\n\nHow It Works\n\nPairing state lives in two files under ~/.openclaw/credentials/:\n\n<channel>-pairing.json — pending requests (sender ID, code, accountId)\n<channel>-<accountId>-allowFrom.json — approved senders allowlist\n\nApproving = add sender ID to allowFrom file + remove code from pairing file.\n\nQuick Approval (script)\npython3 skills/approve-pairing/scripts/approve_pairing.py <channel> <code>\n\n\nExample:\n\npython3 skills/approve-pairing/scripts/approve_pairing.py telegram PWVW264M\n\n\nThe script:\n\nReads ~/.openclaw/credentials/<channel>-pairing.json\nFinds the request matching the code\nAppends the sender ID to the allowFrom file\nRemoves the code from pending requests\nManual Steps (if script unavailable)\nRead ~/.openclaw/credentials/<channel>-pairing.json to get id and meta.accountId\nWrite/update ~/.openclaw/credentials/<channel>-<accountId>-allowFrom.json:\n{ \"version\": 1, \"allowFrom\": [\"<sender_id>\"] }\n\nClear the pending request from <channel>-pairing.json\nNotes\nCodes expire after 1 hour — check createdAt if approval fails\nA gateway restart may be needed: openclaw gateway restart\nIf accountId is \"default\" or empty, the file is <channel>-default-allowFrom.json\nPending requests capped at 3 per channel; old ones must expire before new ones are created"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/madan-wego/approve-pairing",
    "publisherUrl": "https://clawhub.ai/madan-wego/approve-pairing",
    "owner": "madan-wego",
    "version": "2.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/approve-pairing",
    "downloadUrl": "https://openagent3.xyz/downloads/approve-pairing",
    "agentUrl": "https://openagent3.xyz/skills/approve-pairing/agent",
    "manifestUrl": "https://openagent3.xyz/skills/approve-pairing/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/approve-pairing/agent.md"
  }
}