{
  "schemaVersion": "1.0",
  "item": {
    "slug": "iblai-openclaw-router",
    "name": "Iblai Openclaw Router",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Neuralshift1/iblai-openclaw-router",
    "canonicalUrl": "https://clawhub.ai/Neuralshift1/iblai-openclaw-router",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/iblai-openclaw-router",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=iblai-openclaw-router",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.json",
      "scripts/install.sh",
      "scripts/uninstall.sh",
      "server.js"
    ],
    "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",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-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/iblai-openclaw-router"
    },
    "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/iblai-openclaw-router",
    "agentPageUrl": "https://openagent3.xyz/skills/iblai-openclaw-router/agent",
    "manifestUrl": "https://openagent3.xyz/skills/iblai-openclaw-router/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/iblai-openclaw-router/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": "iblai-router",
        "body": "A zero-dependency proxy that sits between OpenClaw and the Anthropic API, routing each request to the cheapest capable model using a 14-dimension weighted scorer (<1ms overhead)."
      },
      {
        "title": "Install",
        "body": "Run the install script to set up everything automatically:\n\nbash \"$(dirname \"$0\")/scripts/install.sh\"\n\nThis will:\n\nCopy server.js and config.json to ~/.openclaw/workspace/router/\nCreate and start a systemd service (iblai-router) on port 8402\nRegister iblai-router/auto as an OpenClaw model provider\n\nAfter install, iblai-router/auto is available anywhere OpenClaw accepts a model ID."
      },
      {
        "title": "Verify",
        "body": "curl -s http://127.0.0.1:8402/health | jq .\ncurl -s http://127.0.0.1:8402/stats | jq ."
      },
      {
        "title": "Use",
        "body": "Set iblai-router/auto as the model for any scope:\n\nScopeHowCron jobSet model to iblai-router/auto in job configSubagentsagents.defaults.subagents.model = \"iblai-router/auto\"Per-session/model iblai-router/autoAll sessionsagents.defaults.model.primary = \"iblai-router/auto\"\n\nTip: Keep the main interactive session on a fixed model (e.g. Opus). Use the router for cron jobs, subagents, and background tasks where cost savings compound."
      },
      {
        "title": "Customize",
        "body": "All config lives in ~/.openclaw/workspace/router/config.json and hot-reloads on save — no restart needed."
      },
      {
        "title": "Models",
        "body": "Change the models per tier:\n\n{\n  \"models\": {\n    \"LIGHT\":  \"claude-3-5-haiku-20241022\",\n    \"MEDIUM\": \"claude-sonnet-4-20250514\",\n    \"HEAVY\":  \"claude-opus-4-20250514\"\n  }\n}"
      },
      {
        "title": "Non-Anthropic models (OpenAI, Google)",
        "body": "Set apiBaseUrl to route through OpenRouter:\n\n{\n  \"models\": {\n    \"LIGHT\":  \"openai/gpt-4.1-mini\",\n    \"MEDIUM\": \"openai/gpt-4.1\",\n    \"HEAVY\":  \"openai/o3\"\n  },\n  \"apiBaseUrl\": \"https://openrouter.ai/api/v1\"\n}\n\nUpdate the API key in the systemd service when switching providers, then systemctl daemon-reload && systemctl restart iblai-router."
      },
      {
        "title": "Scoring",
        "body": "Keyword lists control which tier handles a request:\n\nsimpleKeywords, relayKeywords → push toward LIGHT (cheap)\nimperativeVerbs, codeKeywords, agenticKeywords → push toward MEDIUM\ntechnicalKeywords, reasoningKeywords, domainKeywords → push toward HEAVY (capable)\n\nTune boundaries and weights in config.json to match your workload. See the full README for details."
      },
      {
        "title": "Uninstall",
        "body": "bash \"$(dirname \"$0\")/scripts/uninstall.sh\"\n\nStops the service, removes the systemd unit, and deletes router files. Reminder: switch any workloads using iblai-router/auto back to a direct model first."
      }
    ],
    "body": "iblai-router\n\nA zero-dependency proxy that sits between OpenClaw and the Anthropic API, routing each request to the cheapest capable model using a 14-dimension weighted scorer (<1ms overhead).\n\nInstall\n\nRun the install script to set up everything automatically:\n\nbash \"$(dirname \"$0\")/scripts/install.sh\"\n\n\nThis will:\n\nCopy server.js and config.json to ~/.openclaw/workspace/router/\nCreate and start a systemd service (iblai-router) on port 8402\nRegister iblai-router/auto as an OpenClaw model provider\n\nAfter install, iblai-router/auto is available anywhere OpenClaw accepts a model ID.\n\nVerify\ncurl -s http://127.0.0.1:8402/health | jq .\ncurl -s http://127.0.0.1:8402/stats | jq .\n\nUse\n\nSet iblai-router/auto as the model for any scope:\n\nScope\tHow\nCron job\tSet model to iblai-router/auto in job config\nSubagents\tagents.defaults.subagents.model = \"iblai-router/auto\"\nPer-session\t/model iblai-router/auto\nAll sessions\tagents.defaults.model.primary = \"iblai-router/auto\"\n\nTip: Keep the main interactive session on a fixed model (e.g. Opus). Use the router for cron jobs, subagents, and background tasks where cost savings compound.\n\nCustomize\n\nAll config lives in ~/.openclaw/workspace/router/config.json and hot-reloads on save — no restart needed.\n\nModels\n\nChange the models per tier:\n\n{\n  \"models\": {\n    \"LIGHT\":  \"claude-3-5-haiku-20241022\",\n    \"MEDIUM\": \"claude-sonnet-4-20250514\",\n    \"HEAVY\":  \"claude-opus-4-20250514\"\n  }\n}\n\nNon-Anthropic models (OpenAI, Google)\n\nSet apiBaseUrl to route through OpenRouter:\n\n{\n  \"models\": {\n    \"LIGHT\":  \"openai/gpt-4.1-mini\",\n    \"MEDIUM\": \"openai/gpt-4.1\",\n    \"HEAVY\":  \"openai/o3\"\n  },\n  \"apiBaseUrl\": \"https://openrouter.ai/api/v1\"\n}\n\n\nUpdate the API key in the systemd service when switching providers, then systemctl daemon-reload && systemctl restart iblai-router.\n\nScoring\n\nKeyword lists control which tier handles a request:\n\nsimpleKeywords, relayKeywords → push toward LIGHT (cheap)\nimperativeVerbs, codeKeywords, agenticKeywords → push toward MEDIUM\ntechnicalKeywords, reasoningKeywords, domainKeywords → push toward HEAVY (capable)\n\nTune boundaries and weights in config.json to match your workload. See the full README for details.\n\nUninstall\nbash \"$(dirname \"$0\")/scripts/uninstall.sh\"\n\n\nStops the service, removes the systemd unit, and deletes router files. Reminder: switch any workloads using iblai-router/auto back to a direct model first."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Neuralshift1/iblai-openclaw-router",
    "publisherUrl": "https://clawhub.ai/Neuralshift1/iblai-openclaw-router",
    "owner": "Neuralshift1",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/iblai-openclaw-router",
    "downloadUrl": "https://openagent3.xyz/downloads/iblai-openclaw-router",
    "agentUrl": "https://openagent3.xyz/skills/iblai-openclaw-router/agent",
    "manifestUrl": "https://openagent3.xyz/skills/iblai-openclaw-router/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/iblai-openclaw-router/agent.md"
  }
}