tool-discovery
它能做什么
这个技能帮助 AI 挑选能完成任务的最少工具,并确认每个工具的正确用法。适合拥有大量可用工具、有时会选错工具的人。
适用场景
- ✓当你的 AI 拥有很多工具,需要为任务选出合适的一个的时候。
- ✓当之前的工具调用因使用了错误的工具或设置而失败的时候。
- ✓当任务需要 AI 之前从未用过的能力的时候。
技能链接
https://github.com/odysseus-dev/odysseus/blob/dev/resources/skills/agent/tool-discovery/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请找出合适的工具,检查下周日历是否有时间冲突,并在运行前确认它需要哪些细节。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 把请求转化为所需的能力,查找匹配的工具,并阅读它们的说明和输入规则。它优先选择一个直接的工具,在不确定时进行一次小规模测试调用。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
When to Use
Use when a task requires tools whose names, capabilities, or argument shapes are not already clear. This is especially useful when many tools are available or a previous call failed because the wrong tool or parameters were selected.
Procedure
- Translate the request into required capabilities such as reading, searching, editing, executing, browsing, or verifying.
- Search the tool index for those capabilities and inspect the returned tool descriptions and schemas.
- Prefer one direct tool over a chain of indirect tools when it can complete the operation and provide evidence.
- Check required parameters, identifiers, path rules, side effects, and approval requirements before calling the tool.
- Make a small read-only probe when the environment or target is uncertain.
- Execute the selected action, inspect the result, and only broaden the tool search if the result shows a concrete capability gap.
Pitfalls
- Do not guess tool names or argument keys from memory when the index or schema is available.
- Do not load unrelated tool groups into context.
- Do not repeat the same failed call without changing the arguments or strategy.
- Do not use a broad shell or browser workaround when a scoped native tool already owns the operation.
Verification
- The chosen tool directly matches the required capability.
- Required arguments follow the exposed schema.
- The result contains evidence of the requested effect or a specific error that guides the next step.
常见问题
它会加载所有工具吗?
不会。该技能说明,不要把无关的工具组加载进上下文。
它会猜测参数名称吗?
不会。在有相关信息时,它会先检查工具的结构定义(schema)。
工具调用失败后怎么办?
它会修改参数或策略,而不是重复同样失败的调用。
详情
作者的原始描述
Discover the smallest capable tool set and confirm argument schemas before acting
repo: odysseus-dev/odysseus
热度
- GitHub 星标
- 95k
- 排名
- #1308
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
odysseus
95k让你的智能体通过限定范围的令牌,读取并更新你的 Odysseus 数据,例如待办事项、邮件、日历、记忆和文档。
odysseus
95k让你的智能体通过 Codex Agent 令牌,读取并更新你的 Odysseus 数据,例如待办事项、邮件、日历、记忆和文档。
artifact-completion
95k帮你的智能体尽早产出所需的文件或文档,根据实际输出进行完善,并在宣布完成前进行检查。
terminal-recovery
95k帮你的智能体从失败的终端命令中恢复,读取错误信息,找出可能的原因,并尝试一次有针对性的修复。