{
  "schemaVersion": "1.0",
  "item": {
    "slug": "rei",
    "name": "Rei-Clawd",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/0xReisearch/rei",
    "canonicalUrl": "https://clawhub.ai/0xReisearch/rei",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/rei",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rei",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/revert.sh",
      "scripts/setup.sh",
      "scripts/switch.sh"
    ],
    "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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.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/rei"
    },
    "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/rei",
    "agentPageUrl": "https://openagent3.xyz/skills/rei/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rei/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rei/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": "Rei Qwen3 Coder",
        "body": "Rei provides Qwen3 Coder via an OpenAI-compatible endpoint at coder.reilabs.org."
      },
      {
        "title": "Setup via Script",
        "body": "./skills/rei/scripts/setup.sh YOUR_REI_API_KEY\n\nThis adds the provider, adds it to the model allowlist, and restarts the gateway."
      },
      {
        "title": "Setup via Agent",
        "body": "Ask your agent:\n\n\"Set up Rei with API key: YOUR_KEY\"\n\nThe agent will read this skill and run the setup script for you."
      },
      {
        "title": "Switching Models",
        "body": "Via chat:\n\n/model rei\n/model opus\n\nVia script:\n\n./skills/rei/scripts/switch.sh rei\n./skills/rei/scripts/switch.sh opus\n\nVia agent:\n\n\"Switch to Rei\" or \"Switch back to Opus\""
      },
      {
        "title": "Revert",
        "body": "If something breaks, restore the backup:\n\n./skills/rei/scripts/revert.sh"
      },
      {
        "title": "Manual Setup",
        "body": "Add to ~/.clawdbot/clawdbot.json:\n\n{\n  \"models\": {\n    \"providers\": {\n      \"rei\": {\n        \"baseUrl\": \"https://coder.reilabs.org/v1\",\n        \"apiKey\": \"YOUR_API_KEY\",\n        \"api\": \"openai-completions\",\n        \"headers\": { \"User-Agent\": \"Clawdbot/1.0\" },\n        \"models\": [{\n          \"id\": \"rei-qwen3-coder\",\n          \"name\": \"Rei Qwen3 Coder\",\n          \"contextWindow\": 200000,\n          \"maxTokens\": 8192\n        }]\n      }\n    }\n  },\n  \"agents\": {\n    \"defaults\": {\n      \"models\": {\n        \"rei/rei-qwen3-coder\": { \"alias\": \"rei\" }\n      }\n    }\n  }\n}\n\nThen restart: clawdbot gateway restart"
      },
      {
        "title": "Troubleshooting",
        "body": "403 errors: The User-Agent: Clawdbot/1.0 header is required. The setup script adds this automatically. If you configured manually, make sure the header is present.\n\n\"Model not allowed\": Rei must be in agents.defaults.models to switch to it. The setup script handles this. For manual setup, add the allowlist entry shown above."
      }
    ],
    "body": "Rei Qwen3 Coder\n\nRei provides Qwen3 Coder via an OpenAI-compatible endpoint at coder.reilabs.org.\n\nSetup via Script\n./skills/rei/scripts/setup.sh YOUR_REI_API_KEY\n\n\nThis adds the provider, adds it to the model allowlist, and restarts the gateway.\n\nSetup via Agent\n\nAsk your agent:\n\n\"Set up Rei with API key: YOUR_KEY\"\n\nThe agent will read this skill and run the setup script for you.\n\nSwitching Models\n\nVia chat:\n\n/model rei\n/model opus\n\n\nVia script:\n\n./skills/rei/scripts/switch.sh rei\n./skills/rei/scripts/switch.sh opus\n\n\nVia agent:\n\n\"Switch to Rei\" or \"Switch back to Opus\"\n\nRevert\n\nIf something breaks, restore the backup:\n\n./skills/rei/scripts/revert.sh\n\nManual Setup\n\nAdd to ~/.clawdbot/clawdbot.json:\n\n{\n  \"models\": {\n    \"providers\": {\n      \"rei\": {\n        \"baseUrl\": \"https://coder.reilabs.org/v1\",\n        \"apiKey\": \"YOUR_API_KEY\",\n        \"api\": \"openai-completions\",\n        \"headers\": { \"User-Agent\": \"Clawdbot/1.0\" },\n        \"models\": [{\n          \"id\": \"rei-qwen3-coder\",\n          \"name\": \"Rei Qwen3 Coder\",\n          \"contextWindow\": 200000,\n          \"maxTokens\": 8192\n        }]\n      }\n    }\n  },\n  \"agents\": {\n    \"defaults\": {\n      \"models\": {\n        \"rei/rei-qwen3-coder\": { \"alias\": \"rei\" }\n      }\n    }\n  }\n}\n\n\nThen restart: clawdbot gateway restart\n\nTroubleshooting\n\n403 errors: The User-Agent: Clawdbot/1.0 header is required. The setup script adds this automatically. If you configured manually, make sure the header is present.\n\n\"Model not allowed\": Rei must be in agents.defaults.models to switch to it. The setup script handles this. For manual setup, add the allowlist entry shown above."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/0xReisearch/rei",
    "publisherUrl": "https://clawhub.ai/0xReisearch/rei",
    "owner": "0xReisearch",
    "version": "1.0.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/rei",
    "downloadUrl": "https://openagent3.xyz/downloads/rei",
    "agentUrl": "https://openagent3.xyz/skills/rei/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rei/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rei/agent.md"
  }
}