{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-switch",
    "name": "Openclaw Switch",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/2233admin/openclaw-switch",
    "canonicalUrl": "https://clawhub.ai/2233admin/openclaw-switch",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-switch",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-switch",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "_meta.json",
      "scripts/openclaw-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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-switch",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T00:46:19.426Z",
      "expiresAt": "2026-05-10T00:46:19.426Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-switch",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-switch",
        "contentDisposition": "attachment; filename=\"openclaw-switch-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-switch"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-switch"
    },
    "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/openclaw-switch",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-switch/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-switch/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-switch/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OpenClaw Switch",
        "body": "The missing model manager for OpenClaw. Switch models, visualize fallback chains, and manage multi-provider setups."
      },
      {
        "title": "Quick start",
        "body": "# Show current model, fallback chain, heartbeat & subagent config\nbash {baseDir}/scripts/openclaw-switch.sh status\n\n# List all available models across all providers\nbash {baseDir}/scripts/openclaw-switch.sh list\n\n# Switch primary model (by number from list)\nbash {baseDir}/scripts/openclaw-switch.sh switch 2\n\n# Show fallback chain only\nbash {baseDir}/scripts/openclaw-switch.sh fallback"
      },
      {
        "title": "How it works",
        "body": "OpenClaw natively supports model.fallbacks — when the primary model returns an error (429, 500, etc.), the next model in the chain is tried automatically. OpenClaw Switch helps users configure, visualize, and toggle this chain."
      },
      {
        "title": "Typical setup",
        "body": "Register multiple providers in openclaw.json, each with its own API key:\n\n{\n  \"models\": {\n    \"providers\": {\n      \"provider-a\": { \"apiKey\": \"...\", \"models\": [{ \"id\": \"model-1\" }] },\n      \"provider-b\": { \"apiKey\": \"...\", \"models\": [{ \"id\": \"model-2\" }] }\n    }\n  },\n  \"agents\": {\n    \"defaults\": {\n      \"model\": {\n        \"primary\": \"provider-a/model-1\",\n        \"fallbacks\": [\"provider-b/model-2\"]\n      }\n    }\n  }\n}"
      },
      {
        "title": "Use cases",
        "body": "Same provider, two API keys (e.g. paid + free Gemini) — register as separate providers\nCross-provider failover (e.g. Gemini → OpenAI → local Ollama)\nCost optimization — route heartbeat/subagents to cheaper or free models"
      },
      {
        "title": "Security",
        "body": "The bundled script:\n\nNever transmits API keys or config data over the network\nNever logs full API keys (masks all but first 8 chars)\nUses only bash + python3 stdlib — zero external dependencies\nSource is < 150 lines — fully auditable in 2 minutes"
      }
    ],
    "body": "OpenClaw Switch\n\nThe missing model manager for OpenClaw. Switch models, visualize fallback chains, and manage multi-provider setups.\n\nQuick start\n# Show current model, fallback chain, heartbeat & subagent config\nbash {baseDir}/scripts/openclaw-switch.sh status\n\n# List all available models across all providers\nbash {baseDir}/scripts/openclaw-switch.sh list\n\n# Switch primary model (by number from list)\nbash {baseDir}/scripts/openclaw-switch.sh switch 2\n\n# Show fallback chain only\nbash {baseDir}/scripts/openclaw-switch.sh fallback\n\nHow it works\n\nOpenClaw natively supports model.fallbacks — when the primary model returns an error (429, 500, etc.), the next model in the chain is tried automatically. OpenClaw Switch helps users configure, visualize, and toggle this chain.\n\nTypical setup\n\nRegister multiple providers in openclaw.json, each with its own API key:\n\n{\n  \"models\": {\n    \"providers\": {\n      \"provider-a\": { \"apiKey\": \"...\", \"models\": [{ \"id\": \"model-1\" }] },\n      \"provider-b\": { \"apiKey\": \"...\", \"models\": [{ \"id\": \"model-2\" }] }\n    }\n  },\n  \"agents\": {\n    \"defaults\": {\n      \"model\": {\n        \"primary\": \"provider-a/model-1\",\n        \"fallbacks\": [\"provider-b/model-2\"]\n      }\n    }\n  }\n}\n\nUse cases\nSame provider, two API keys (e.g. paid + free Gemini) — register as separate providers\nCross-provider failover (e.g. Gemini → OpenAI → local Ollama)\nCost optimization — route heartbeat/subagents to cheaper or free models\nSecurity\n\nThe bundled script:\n\nNever transmits API keys or config data over the network\nNever logs full API keys (masks all but first 8 chars)\nUses only bash + python3 stdlib — zero external dependencies\nSource is < 150 lines — fully auditable in 2 minutes"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/2233admin/openclaw-switch",
    "publisherUrl": "https://clawhub.ai/2233admin/openclaw-switch",
    "owner": "2233admin",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-switch",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-switch",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-switch/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-switch/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-switch/agent.md"
  }
}