← 返回
未分类

Skill Router BZai

Cost-effective skill selector for maximizing ROI on AI operations (增收降本版 v1.0.0). Use when the user needs to accomplish a task and wants the optimal skill ch...
Cost-effective skill selector for maximizing ROI on AI operations (增收降本版 v1.0.0). Use when the user needs to accomplish a task and wants the optimal skill ch...
binziai7996 binziai7996 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 457
下载
💾 1
安装
1
版本
#latest

概述

Skill Router (增收降本版 v1.0.0)

智能技能选择器 - 用于增收降本的 AI 操作优化工具。

自动选择并执行最优技能,在保证质量的前提下最小化 Token 成本。

When to Use

  • User wants to accomplish something but doesn't know which skill to use
  • Multiple skills could solve the same problem - need to pick the best one
  • Want to minimize token cost while maximizing quality
  • Need to evaluate skills from clawhub.com before installation

Workflow

1. Parse Task

Analyze user request and decompose into atomic subtasks if needed.

2. Discover Skills

Search for candidate skills:

  • List local installed skills: openclaw skills list
  • Search clawhub.com: clawhub search

3. Evaluate Candidates

For each candidate skill, score on:

DimensionWeightEvaluation Criteria
----------------------------------------
Quality/Utility35%User ratings, downloads, functionality match
Token Cost30%Estimated input/output tokens based on skill complexity
Security/Reliability20%Code audit, permissions, update frequency, author trust
Speed15%API response time, execution efficiency

Scoring Algorithm:

final_score = (quality × 0.35) + (token_score × 0.30) + (security × 0.20) + (speed × 0.15)

4. Generate Recommendations

Present Top-3 ranked options:

  • Rank, skill name, final score
  • Breakdown by dimension
  • Estimated tokens and time
  • Reasoning for recommendation
  • Security assessment summary

5. User Confirmation

Wait for user to:

  • Select option (1, 2, or 3)
  • Request more details about a skill
  • Cancel or modify the task

6. Execute

After confirmation:

  • If skill not installed: clawhub install
  • Execute the skill with original user request
  • Record actual metrics vs estimates

Security Assessment

Before recommending any skill from clawhub:

  1. Code Review: Check for suspicious patterns (network calls, file system access, credential harvesting)
  2. Permission Analysis: Verify requested permissions match functionality
  3. Author Verification: Prefer verified authors, established projects
  4. Update Frequency: Recently updated skills are preferred
  5. Community Trust: Ratings, issues, download count

Red flags that disqualify a skill:

  • Requests excessive permissions for its stated purpose
  • Contains obfuscated code
  • Makes unexpected network calls
  • Has no recent updates and low community engagement

Token Estimation

Estimate token costs based on:

  • Skill description length/complexity
  • Historical usage data (if available)
  • Number of API calls required
  • Output format verbosity

Store actual vs estimated for continuous improvement.

Scripts

  • scripts/evaluate_skill.py - Score a skill across all dimensions
  • scripts/search_clawhub.py - Search and fetch skill metadata from clawhub
  • scripts/calculate_cost.py - Estimate token and time costs

References

  • references/evaluation-rubric.md - Detailed scoring criteria
  • references/security-checklist.md - Security audit checklist

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 18:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 842 📥 320,440
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,120 📥 840,929
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,486 📥 549,583