返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
o

openclaw-model-router-skill

Production-grade model router for OpenClaw: prefix routing (@codex/@mini), timezone-aware schedule switching, verify-after-switch, rollback, lock protection, and JSONL audit logs.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.2.1
安全检测
已通过
621
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

openclaw-model-router-skill

# OpenClaw Model Router Skill Deterministic model routing with a **closed-loop production switch pipeline**. ## Why use this skill - Explicit user intent routing (`@codex`, `@mini`) - Time-window model policy (`router.schedule.json`) - Safe switch flow with verification and rollback - Concurrency lock to prevent race conditions - Structured audit logs for operations and incident review ## Core capabilities 1) **Prefix routing** - `@codex` → `openai-codex/gpt-5.3-codex` - `@mini` → `minimax/MiniMax-M2.5` - Aliases: `@c`, `@m` 2) **Scheduler routing** - Rule-based windows by day/time/priority - Timezone-aware resolution (`router.schedule.json.timezone`) - Supports overnight windows (e.g. 18:00 → 09:00) 3) **Production switch loop** - `schedule apply` / `schedule end` - Auth gate (`auth.requiredEnv[]`) - Switch + readback verify - Failure classification (`auth_expired`, `rate_limit`, `provider_drift`, `unknown`) - Optional rollback (`safety.rollbackOnFailure`) - Lock file (`safety.lockPath`) to avoid concurrent switching - Audit logs (`router.log.jsonl` + rotation) ## Quick commands ```bash # Validate config node src/cli.js validate # Route inspection node src/cli.js route "@codex implement this" --json # Scheduler node src/cli.js schedule validate node src/cli.js schedule resolve --at "2026-03-02T10:00:00+01:00" --json node src/cli.js schedule apply --json node src/cli.js schedule end --id workday_codex --json ``` ## Key config files - `router.config.json` (prefix map, retry, auth, safety, logging, controller) - `router.schedule.json` (timezone + rules) ## Reliability checklist - Deterministic mapping - Idempotent switching behavior - Execute only after switch verification - Observable success/failure events - Recoverability on failure paths ## Tests ```bash node --test ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openclaw-model-router-skill-1776288556 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclaw-model-router-skill-1776288556 技能

通过命令行安装

skillhub install openclaw-model-router-skill-1776288556

下载

⬇ 下载 openclaw-model-router-skill v0.2.1(免费)

文件大小: 21.96 KB | 发布时间: 2026-4-16 15:56

v0.2.1 最新 2026-4-16 15:56
优化ClawHub商店文案:生产闭环能力、风险控制与操作指南重构

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部