{
  "schemaVersion": "1.0",
  "item": {
    "slug": "chitin-core",
    "name": "chitin-core",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/adroidian/chitin-core",
    "canonicalUrl": "https://clawhub.ai/adroidian/chitin-core",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/chitin-core",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=chitin-core",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README-SYNC.md",
      "SKILL.md",
      "_meta.json",
      "config.json",
      "scripts/provider-sync.js",
      "scripts/router.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. 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-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/chitin-core"
    },
    "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/chitin-core",
    "agentPageUrl": "https://openagent3.xyz/skills/chitin-core/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chitin-core/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chitin-core/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": "chitin-core",
        "body": "Route tasks to the cheapest capable model. Never crash on rate limits."
      },
      {
        "title": "Activation",
        "body": "When spawning sub-agents or delegating tasks, use ModelRouter to select the optimal model.\n\nTrigger phrases: \"route this\", \"spawn a sub-agent\", \"delegate\", or any time you need to choose a model for a task."
      },
      {
        "title": "Route a Task",
        "body": "node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js route \"task description here\"\n\nReturns JSON:\n\n{\"tier\":\"MEDIUM\",\"model\":\"google-antigravity/gemini-3.1-pro\",\"confidence\":0.85,\"estimatedCost\":0.005,\"signals\":[\"codeSignals:2×1.2=2.4\"]}\n\nUse the returned model value in sessions_spawn."
      },
      {
        "title": "Handle Failures",
        "body": "If a spawned session fails with a rate limit or error:\n\nnode ~/.openclaw/workspace/skills/chitin-core/scripts/router.js fail \"provider/model\" \"error message\"\n\nThen re-route — the failed model will be skipped:\n\nnode ~/.openclaw/workspace/skills/chitin-core/scripts/router.js route \"same task\""
      },
      {
        "title": "Check Health",
        "body": "node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js health"
      },
      {
        "title": "View Costs",
        "body": "node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js costs"
      },
      {
        "title": "Validate Config",
        "body": "node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js validate"
      },
      {
        "title": "Workflow",
        "body": "Receive task from user\nRun router.js route \"<task>\" to get optimal model\nsessions_spawn with returned model\nIf spawn fails → router.js fail \"<model>\" \"<error>\" → retry route\nReturn result to user"
      },
      {
        "title": "Tiers",
        "body": "TierUse CaseModelsLIGHTGreetings, simple Q&A, status checksFlash, DeepSeek, gpt-5-mini, Groq, OllamaMEDIUMCode, summaries, standard tasksGemini Pro, gpt-5.2, DeepSeek ReasonerHEAVYArchitecture, complex reasoning, agenticgpt-5.2-pro, o3, Codex"
      },
      {
        "title": "Override Tags",
        "body": "Include in task text to force a tier:\n\n@light — force cheapest model\n@medium — force mid-tier\n@heavy — force most capable"
      },
      {
        "title": "Graceful Degradation",
        "body": "If all models in a tier are rate-limited, the router automatically:\n\nTries adjacent tiers (escalate or downgrade)\nFalls back to local Ollama if configured\nReturns structured error with retry time (never crashes)"
      },
      {
        "title": "Configuration",
        "body": "Edit config.json in the skill directory to:\n\nAdd/remove models per tier\nAdjust cost figures\nTune classification boundaries"
      }
    ],
    "body": "chitin-core\n\nRoute tasks to the cheapest capable model. Never crash on rate limits.\n\nActivation\n\nWhen spawning sub-agents or delegating tasks, use ModelRouter to select the optimal model.\n\nTrigger phrases: \"route this\", \"spawn a sub-agent\", \"delegate\", or any time you need to choose a model for a task.\n\nUsage\nRoute a Task\nnode ~/.openclaw/workspace/skills/chitin-core/scripts/router.js route \"task description here\"\n\n\nReturns JSON:\n\n{\"tier\":\"MEDIUM\",\"model\":\"google-antigravity/gemini-3.1-pro\",\"confidence\":0.85,\"estimatedCost\":0.005,\"signals\":[\"codeSignals:2×1.2=2.4\"]}\n\n\nUse the returned model value in sessions_spawn.\n\nHandle Failures\n\nIf a spawned session fails with a rate limit or error:\n\nnode ~/.openclaw/workspace/skills/chitin-core/scripts/router.js fail \"provider/model\" \"error message\"\n\n\nThen re-route — the failed model will be skipped:\n\nnode ~/.openclaw/workspace/skills/chitin-core/scripts/router.js route \"same task\"\n\nCheck Health\nnode ~/.openclaw/workspace/skills/chitin-core/scripts/router.js health\n\nView Costs\nnode ~/.openclaw/workspace/skills/chitin-core/scripts/router.js costs\n\nValidate Config\nnode ~/.openclaw/workspace/skills/chitin-core/scripts/router.js validate\n\nWorkflow\nReceive task from user\nRun router.js route \"<task>\" to get optimal model\nsessions_spawn with returned model\nIf spawn fails → router.js fail \"<model>\" \"<error>\" → retry route\nReturn result to user\nTiers\nTier\tUse Case\tModels\nLIGHT\tGreetings, simple Q&A, status checks\tFlash, DeepSeek, gpt-5-mini, Groq, Ollama\nMEDIUM\tCode, summaries, standard tasks\tGemini Pro, gpt-5.2, DeepSeek Reasoner\nHEAVY\tArchitecture, complex reasoning, agentic\tgpt-5.2-pro, o3, Codex\nOverride Tags\n\nInclude in task text to force a tier:\n\n@light — force cheapest model\n@medium — force mid-tier\n@heavy — force most capable\nGraceful Degradation\n\nIf all models in a tier are rate-limited, the router automatically:\n\nTries adjacent tiers (escalate or downgrade)\nFalls back to local Ollama if configured\nReturns structured error with retry time (never crashes)\nConfiguration\n\nEdit config.json in the skill directory to:\n\nAdd/remove models per tier\nAdjust cost figures\nTune classification boundaries"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/adroidian/chitin-core",
    "publisherUrl": "https://clawhub.ai/adroidian/chitin-core",
    "owner": "adroidian",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/chitin-core",
    "downloadUrl": "https://openagent3.xyz/downloads/chitin-core",
    "agentUrl": "https://openagent3.xyz/skills/chitin-core/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chitin-core/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chitin-core/agent.md"
  }
}