# Send Iblai Openclaw Router to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/iblai-openclaw-router",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=iblai-openclaw-router",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.json",
      "scripts/install.sh",
      "scripts/uninstall.sh",
      "server.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "iblai-openclaw-router",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T22:43:06.173Z",
      "expiresAt": "2026-05-08T22:43:06.173Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=iblai-openclaw-router",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=iblai-openclaw-router",
        "contentDisposition": "attachment; filename=\"iblai-openclaw-router-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "iblai-openclaw-router"
      },
      "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/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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### iblai-router

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).

### Install

Run the install script to set up everything automatically:

bash "$(dirname "$0")/scripts/install.sh"

This will:

Copy server.js and config.json to ~/.openclaw/workspace/router/
Create and start a systemd service (iblai-router) on port 8402
Register iblai-router/auto as an OpenClaw model provider

After install, iblai-router/auto is available anywhere OpenClaw accepts a model ID.

### Verify

curl -s http://127.0.0.1:8402/health | jq .
curl -s http://127.0.0.1:8402/stats | jq .

### Use

Set iblai-router/auto as the model for any scope:

ScopeHowCron 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"

Tip: 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.

### Customize

All config lives in ~/.openclaw/workspace/router/config.json and hot-reloads on save — no restart needed.

### Models

Change the models per tier:

{
  "models": {
    "LIGHT":  "claude-3-5-haiku-20241022",
    "MEDIUM": "claude-sonnet-4-20250514",
    "HEAVY":  "claude-opus-4-20250514"
  }
}

### Non-Anthropic models (OpenAI, Google)

Set apiBaseUrl to route through OpenRouter:

{
  "models": {
    "LIGHT":  "openai/gpt-4.1-mini",
    "MEDIUM": "openai/gpt-4.1",
    "HEAVY":  "openai/o3"
  },
  "apiBaseUrl": "https://openrouter.ai/api/v1"
}

Update the API key in the systemd service when switching providers, then systemctl daemon-reload && systemctl restart iblai-router.

### Scoring

Keyword lists control which tier handles a request:

simpleKeywords, relayKeywords → push toward LIGHT (cheap)
imperativeVerbs, codeKeywords, agenticKeywords → push toward MEDIUM
technicalKeywords, reasoningKeywords, domainKeywords → push toward HEAVY (capable)

Tune boundaries and weights in config.json to match your workload. See the full README for details.

### Uninstall

bash "$(dirname "$0")/scripts/uninstall.sh"

Stops 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
- Source: tencent
- Verification: Indexed source record
- Publisher: Neuralshift1
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T22:43:06.173Z
- Expires at: 2026-05-08T22:43:06.173Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/iblai-openclaw-router)
- [Send to Agent page](https://openagent3.xyz/skills/iblai-openclaw-router/agent)
- [JSON manifest](https://openagent3.xyz/skills/iblai-openclaw-router/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/iblai-openclaw-router/agent.md)
- [Download page](https://openagent3.xyz/downloads/iblai-openclaw-router)