Token导航 LogoToken导航

Agent Skill · 研究检索

router(router 搜索)

router 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

router 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 6,655。

总安装 21,418周安装 920GitHub Stars 2下载 7,507核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.2

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:router(router 搜索)
来源仓库:https://github.com/gigabit-eth/router
安装命令:
openclaw skills install router
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install router

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

根据任务复杂度自动选择最优 AI 模型执行操作。平衡响应质量与成本效益优化整体代理性能。内置多种模型能力评估与路由策略算法库。router 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适用于高频次任务分派减少人为干预开销。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

路由逻辑透明可查便于审计与调优调整需求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install router;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

router 怎么安装?

在终端执行 openclaw skills install router。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

router 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

router 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

router 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

router 用的人多吗?

公开数据是累计安装 21,418 次,近一周安装 920 次,下载 7,507 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

router 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
router

router 搜索 · 本页

21,4182接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
switchboard
description
>
Triggers
model routing", "cost optimization", "which model", "too expensive", "spawn agent",

SwitchBoard

Route tasks to the cheapest model that can handle them. Most agent work is routine.

Prerequisites

This skill requires an OpenRouter API key for model routing. Add it to your OpenClaw user config:

// ~/.openclaw/openclaw.json
{
  "openrouter_api_key": "sk-or-v1-..."
}

Without this key, /model switching and sessions_spawn with non-default models will fail. Get a key at openrouter.ai/keys.

Privacy Note: Some models listed in this skill (e.g., Aurora Alpha, Free Router) may log prompts and completions for provider training. Do not route sensitive data (API keys, passwords, private PII) through free or unmoderated models. Review model privacy policies at openrouter.ai/docs before use.

Core Principle

80% of agent tasks are janitorial. File reads, status checks, formatting, simple Q&A. These don't need expensive models. Reserve premium models for problems that actually require deep reasoning.

Model Tiers

For OpenRouter-specific pricing and models, see references/openrouter-models.md.

Tier 0: Free

ModelContextToolsBest For
Aurora Alpha128K✅Zero-cost reasoning, cloaked community model
Free Router200K✅Auto-routes to best available free model
Step 3.5 Flash (free)256K✅Long-context reasoning at zero cost

*Free models have rate limits and variable availability. Good for non-critical background tasks.*

Tier 1: Cheap ($0.02-0.50/M tokens)

ModelInputOutputContextToolsBest For
Qwen3 Coder Next$0.07$0.30262K✅Agentic coding, MoE 80B/3B active
Gemini 2.0 Flash Lite$0.07$0.301M✅High volume, massive context
Gemini 2.0 Flash$0.10$0.401M✅General routine with long context
GPT-4o-mini$0.15$0.60128K✅Quick responses, reliable tool use
DeepSeek Chat$0.30$1.20164K✅General routine work
Claude 3 Haiku$0.25$1.25200K✅Fast tool use, structured output
Kimi K2.5$0.45$2.20262K✅Multimodal, visual coding, agentic

Tier 2: Mid ($1-5/M tokens)

ModelInputOutputContextToolsBest For
o3-mini$1.10$4.40200K✅Reasoning on a budget
Gemini 2.5 Pro$1.25$10.001M✅Long context, large codebase work
GPT-4o$2.50$10.00128K✅Multimodal tasks
Claude Sonnet$3.00$15.001M✅Balanced performance, agentic

Tier 3: Premium ($5+/M tokens)

ModelInputOutputContextToolsBest For
Claude Opus 4.6$5.00$25.001M✅Complex reasoning, deep context
o1$15.00$60.00200K✅Multi-step reasoning
GPT-4.5$75.00$150.00128K✅Frontier tasks

*Prices as of Feb 2026. Check provider docs for current rates. Context = max context window. Tools = function calling support.*

Task Classification

Before executing any task, classify it:

ROUTINE → Use Tier 1

Characteristics:

  • Single-step operations
  • Clear, unambiguous instructions
  • No judgment required
  • Deterministic output expected

Examples:

  • File read/write operations
  • Status checks and health monitoring
  • Simple lookups (time, weather, definitions)
  • Formatting and restructuring text
  • List operations (filter, sort, transform)
  • API calls with known parameters
  • Heartbeat and cron tasks
  • URL fetching and basic parsing

MODERATE → Use Tier 2

Characteristics:

  • Multi-step but well-defined
  • Some synthesis required
  • Standard patterns apply
  • Quality matters but isn't critical

Examples:

  • Code generation (standard patterns)
  • Summarization and synthesis
  • Draft writing (emails, docs, messages)
  • Data analysis and transformation
  • Multi-file operations
  • Tool orchestration
  • Code review (non-security)
  • Search and research tasks

COMPLEX → Use Tier 3

Characteristics:

  • Novel problem solving required
  • Multiple valid approaches
  • Nuanced judgment calls
  • High stakes or irreversible
  • Previous attempts failed

Examples:

  • Multi-step debugging
  • Architecture and design decisions
  • Security-sensitive code review
  • Tasks where cheaper model already failed
  • Ambiguous requirements needing interpretation
  • Long-context reasoning (>50K tokens)
  • Creative work requiring originality
  • Adversarial or edge-case handling

Decision Algorithm

function selectModel(task):
  # Rule 1: Escalation override
  if task.previousAttemptFailed:
    return nextTierUp(task.previousModel)

  # Rule 2: Hard constraints (filter before cost)
  candidates = ALL_MODELS
  if task.requiresToolUse:
    candidates = candidates.filter(m => m.supportsTools)
  if task.estimatedTokens > 128_000:
    candidates = candidates.filter(m => m.contextWindow >= task.estimatedTokens)
  if task.requiresMultimodal:
    candidates = candidates.filter(m => m.supportsImages)

  # Rule 3: Latency constraint
  if task.isRealTime or task.inAgentLoop:
    candidates = candidates.filter(m => m.latencyTier <= "fast")

  # Rule 4: Complexity classification
  if task.hasSignal("debug", "architect", "design", "security"):
    return cheapestIn(candidates, TIER_3)
  if task.hasSignal("summarize", "analyze", "refactor"):
    return cheapestIn(candidates, TIER_2)

  complexity = classifyTask(task)
  if complexity == ROUTINE:
    return cheapestIn(candidates, TIER_1)
  elif complexity == MODERATE:
    return cheapestIn(candidates, TIER_2)
  else:
    return cheapestIn(candidates, TIER_3)
Note: "write", "read", "code" alone are poor routing signals — "write a file" is Tier 1: work, not Tier 2. Classify based on the *task structure*, not individual keywords.

Latency Considerations

Cost isn't the only axis. For real-time agent loops, latency matters:

TierTypical TTFTThroughputUse When
Free1-5sVariableBackground tasks, not time-sensitive
Tier 1200-800ms50-100 tok/sAgent loops, real-time pipelines
Tier 2500ms-2s30-80 tok/sInteractive sessions, async work
Tier 31-10s10-40 tok/sOne-shot complex tasks, async only

*TTFT = Time To First Token. Reasoning models (o1, o3-mini) have high TTFT due to thinking time but are worth it for hard problems.*

Rule of thumb: If the agent is waiting in a loop for a response before the next action, use Tier 1. If the task is fire-and-forget, cost matters more than speed.

Behavioral Rules

For Main Session

  1. Default to Tier 2 for interactive work
  2. Suggest downgrade when doing routine work: "This is routine - I can handle this on a cheaper model or spawn a sub-agent."
  3. Request upgrade when stuck: "This needs more reasoning power. Switching to [premium model]."

For Sub-Agents

  1. Default to Tier 1 unless task is clearly moderate+
  2. Batch similar tasks to amortize overhead
  3. Report failures back to parent for escalation
  4. Check context window limits before dispatching — don't send 200K tokens to a 32K model

For Automated Tasks

  1. Heartbeats/monitoring → Always Tier 1 (or Free if available)
  2. Scheduled reports → Tier 1 or 2 based on complexity
  3. Alert responses → Start Tier 2, escalate if needed
  4. Background data fetching → Free tier when non-critical

Communication Patterns

When suggesting model changes, use clear language:

Downgrade suggestion:

"This looks like routine file work. Want me to spawn a sub-agent on DeepSeek for this? Same result, fraction of the cost."

Upgrade request:

"I'm hitting the limits of what I can figure out here. This needs Opus-level reasoning. Switching up."

Explaining hierarchy:

"I'm running the heavy analysis on Sonnet while sub-agents fetch the data on DeepSeek. Keeps costs down without sacrificing quality where it matters."

Cost Impact

Assuming 100K tokens/day average usage:

StrategyMonthly CostNotes
Pure Opus 4.6~$75Maximum capability, lower than old Opus
Pure Sonnet~$45Good default for most work
Pure DeepSeek~$9Cheap but limited on hard problems
Pure Qwen3 Coder~$2Cheapest viable for coding agents
Hierarchy (80/15/5)~$12Best of all worlds
With Free tier (85/10/4/1)~$8Aggressive optimization

The 80/15/5 split:

  • 80% routine tasks on Tier 1 (~$4)
  • 15% moderate tasks on Tier 2 (~$5)
  • 5% complex tasks on Tier 3 (~$3)

Result: 6-10x cost reduction vs pure premium, with equivalent quality on complex tasks.

OpenClaw Integration

Session Model Switching

# config.yml - set your default session model
model: anthropic/claude-sonnet-4

# Mid-session, switch down for routine work
/model deepseek/deepseek-chat

# Switch up when you hit a wall
/model anthropic/claude-opus-4

Spawning Sub-Agents

# Batch routine tasks on cheap models
sessions_spawn:
  task: "Fetch and parse these 50 URLs"
  model: deepseek/deepseek-chat

# Use Qwen3 Coder for file-heavy agent work
sessions_spawn:
  task: "Refactor these test files to use the new helper"
  model: qwen/qwen3-coder-next

# Free tier for non-critical background jobs
sessions_spawn:
  task: "Check health of all endpoints and log status"
  model: openrouter/free

Recommended OpenClaw Defaults

Task TypeModelWhy
Main interactive sessionclaude-sonnet-4Best balance of quality and cost
File ops, fetches, formattingdeepseek/deepseek-chatCheap, reliable
Agentic coding sub-tasksqwen/qwen3-coder-next$0.07/M, 262K context, tool use
Background monitoringopenrouter/freeZero cost
Stuck / complex debugginganthropic/claude-opus-4Escalate only when needed

Anti-Patterns

DON'T:

  • Leave your session on Opus when the task is clearly routine — /model deepseek exists for a reason
  • Spawn sub-agents without specifying a model — they inherit the session model, which is usually Tier 2
  • Use Tier 3 for sessions_spawn tasks like file parsing, URL fetching, or status checks
  • Forget context window limits — spawning a 200K-token task on a 32K model will silently truncate
  • Run recurring or scheduled tasks on anything above Tier 1

DO:

  • Set model: anthropic/claude-sonnet-4 as your config.yml default — good baseline
  • Always set an explicit model field in sessions_spawn — default to deepseek/deepseek-chat or qwen/qwen3-coder-next
  • /model switch down the moment you realize the current task is janitorial
  • /model switch up the moment you're stuck — don't waste tokens retrying on a weak model
  • Use openrouter/free for fire-and-forget background checks

Extending This Skill

Optimize your switchboard over time:

  1. Track your actual spend — review your OpenRouter dashboard weekly to see which models are burning tokens
  2. Add your own routing signals — if your workflow has domain terms (e.g., "settlement", "pricing", "vault"), map them to tiers
  3. Tune the 80/15/5 split — if you find yourself escalating more than 5% of tasks, your classification may be too aggressive
  4. Pin model versions — when a cheap model works well for you, pin the version (e.g., deepseek/deepseek-chat-v3.1) so provider updates don't break your flow
  5. Set OpenRouter budget alerts — catch runaway premium usage before it compounds

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

平台分布

OpenClaw

72.9%
按下载量换算5,473

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills