← 返回 Skills 市场
mpelissari

Dynamic Model Selector

作者 mpelissari · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1180
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install dynamic-model-selector
功能描述
Dynamically select the best AI model for a task based on complexity, cost, and availability in GitHub Copilot. Use when deciding between free/paid models, or when you want automatic model routing based on query analysis.
使用说明 (SKILL.md)

Dynamic Model Selector

Overview

This skill analyzes user queries to recommend the optimal AI model from available GitHub Copilot options, balancing performance, cost, and task requirements.

How to Use

  1. Provide the user query or task description.
  2. Run the classification script to analyze complexity.
  3. Choose the suggested model or adjust based on preferences.

Classification Criteria

  • Simple tasks (short responses, basic chat): Use faster, free models like grok-code-fast-1.
  • Complex reasoning (analysis, multi-step): Use advanced models like gpt-4o or claude-3.5-sonnet.
  • Code generation: Prefer code-optimized models.
  • Cost sensitivity: Favor free models when possible.

Example Usage

For a query like "Explain quantum computing": Classify as medium complexity -> Recommend gpt-4o.

For "Write a Python function to sort a list": Classify as code task -> Recommend grok-code-fast-1.

Resources

scripts/

  • classify_task.py: Analyzes the query and outputs model recommendation.

references/

  • models.md: Detailed list of available models, pros/cons, costs.
安全使用建议
This skill is plausible but has small inconsistencies you should resolve before trusting it. Steps to take before installing or running: - Open and read scripts/classify_task.py to confirm what it does: check for network calls, subprocess execution, or attempts to read files/credentials. If you are not comfortable inspecting it yourself, run it in an isolated sandbox. - Ensure you have the required runtime (likely Python). The SKILL.md should state how to run the script (python version, CLI args). Ask the author to add explicit run instructions. - Verify the models referenced in references/models.md actually map to models available in your environment (GitHub Copilot) — the examples include names from multiple providers, which may be inaccurate for Copilot-only routing. - Confirm there are no hidden data exfiltration behaviors (outbound network, telemetry) in the script before giving it access to real queries. - Because the source and homepage are unknown, treat this as untrusted code until you inspect it or obtain provenance from the publisher.
功能分析
Type: OpenClaw Skill Name: dynamic-model-selector Version: 1.0.0 The skill bundle is benign. The `SKILL.md` file provides clear instructions for its intended purpose without any prompt injection attempts. The `classify_task.py` script performs only local text analysis using standard Python libraries (`sys`, `re`) and does not engage in any file I/O, network communication, environment variable access, or dynamic code execution. All content aligns with the stated goal of recommending an AI model based on query characteristics, lacking any indicators of malicious intent or high-risk behaviors.
能力评估
Purpose & Capability
The skill claims to pick the best model 'available in GitHub Copilot' but its examples list model names spanning multiple vendors (gpt-4o, claude-3.5-sonnet, grok-code-fast-1). That may be accurate only if the skill is multi-provider, but the description and metadata emphasize GitHub Copilot specifically, so the mapping between claimed purpose and the actual model inventory is unclear.
Instruction Scope
SKILL.md instructs the agent to 'run the classification script' but gives no runtime instructions (no declared Python requirement, no CLI invocation, no input/output contract). The instructions otherwise stay on-topic and do not request unrelated files or credentials.
Install Mechanism
There is no install spec (lowest install risk) but a bundled script (scripts/classify_task.py) exists. The skill does not declare required binaries, yet the script implies a Python runtime — this mismatch should be resolved so users know how to run it.
Credentials
The skill requests no environment variables, no credentials, and no config paths, which is proportional for a local classification helper. There are no declared secrets or broad credential requirements.
Persistence & Privilege
No elevated privileges are requested: always is not set, model invocation settings are default, and the skill does not ask for permanent presence or special platform hooks.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dynamic-model-selector
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dynamic-model-selector 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with model classification based on query analysis
元数据
Slug dynamic-model-selector
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Dynamic Model Selector 是什么?

Dynamically select the best AI model for a task based on complexity, cost, and availability in GitHub Copilot. Use when deciding between free/paid models, or when you want automatic model routing based on query analysis. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1180 次。

如何安装 Dynamic Model Selector?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dynamic-model-selector」即可一键安装,无需额外配置。

Dynamic Model Selector 是免费的吗?

是的,Dynamic Model Selector 完全免费(开源免费),可自由下载、安装和使用。

Dynamic Model Selector 支持哪些平台?

Dynamic Model Selector 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dynamic Model Selector?

由 mpelissari(@mpelissari)开发并维护,当前版本 v1.0.0。

💬 留言讨论