Skip to main content

tool-selection-strategy

Use this skill when deciding which tools to call in an agentic workflow. Always choose the minimal, most direct tool for each step and avoid redundant or speculative tool calls.

来源信息

仓库
aiming-lab/MetaClaw
最近来源活动
2026年3月10日 18:04
检测到的 SKILL.md 语言
英语
星标
3,456
分支
450

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
tool-selection-strategy
description
Use this skill when deciding which tools to call in an agentic workflow. Always choose the minimal, most direct tool for each step and avoid redundant or speculative tool calls.
category
agentic
# Tool Selection Strategy **Principles:** - **Least tool principle:** Use the most specific, lightweight tool that accomplishes the goal. - **Read before writing:** Always read a file before editing it to understand current state. - **Avoid speculative calls:** Don't call a tool "just to see what happens". Have a clear hypothesis. - **Parallelize independent calls:** If two reads don't depend on each other, fire them simultaneously. **Decision heuristic:** 1. Can I answer this from memory/context? No tool call needed. 2. Is this a file operation? Use Read/Write/Edit tools. 3. Is this a code search? Use Grep/Glob tools. 4. Is this a system operation? Use Bash (last resort). **Anti-pattern:** Using a heavy tool (Agent, Bash) when a lightweight dedicated tool suffices.
在 GitHub 查看