TopRank Skills

Home / Claw Skills / 其他 / Chitin Core
Official OpenClaw rules 15%

Chitin Core

chitin core

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Chitin Core 技能。 若已安装,则直接安装 Chitin Core 技能。

Overview

Skill Key
adroidian/chitin-core
Author
adroidian
Source Repo
openclaw/skills
Version
-
Source Path
skills/adroidian/chitin-core
Latest Commit SHA
5be7a1877d8fe7404ba20e673bfeb4ede5c7e938

Extracted Content

SKILL.md excerpt

# chitin-core

Route tasks to the cheapest capable model. Never crash on rate limits.

## Activation

When spawning sub-agents or delegating tasks, use ModelRouter to select the optimal model.

**Trigger phrases:** "route this", "spawn a sub-agent", "delegate", or any time you need to choose a model for a task.

## Usage

### Route a Task
```bash
node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js route "task description here"
```

Returns JSON:
```json
{"tier":"MEDIUM","model":"google-antigravity/gemini-3.1-pro","confidence":0.85,"estimatedCost":0.005,"signals":["codeSignals:2×1.2=2.4"]}
```

Use the returned `model` value in `sessions_spawn`.

### Handle Failures
If a spawned session fails with a rate limit or error:
```bash
node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js fail "provider/model" "error message"
```

Then re-route — the failed model will be skipped:
```bash
node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js route "same task"
```

### Check Health
```bash
node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js health
```

### View Costs
```bash
node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js costs
```

### Validate Config
```bash
node ~/.openclaw/workspace/skills/chitin-core/scripts/router.js validate
```

## Workflow

1. Receive task from user
2. Run `router.js route "<task>"` to get optimal model
3. `sessions_spawn` with returned model
4. If spawn fails → `router.js fail "<model>" "<error>"` → retry route
5. Return result to user

## Tiers

| Tier | Use Case | Models |
|------|----------|--------|
| LIGHT | Greetings, simple Q&A, status checks | Flash, DeepSeek, gpt-5-mini, Groq, Ollama |
| MEDIUM | Code, summaries, standard tasks | Gemini Pro, gpt-5.2, DeepSeek Reasoner |
| HEAVY | Architecture, complex reasoning, agentic | gpt-5.2-pro, o3, Codex |

## Override Tags

Include in task text to force a tier:
- `@light` — force cheapest model
- `@medium` — force mid-tier
- `@heavy` — force...

Related Claw Skills