agent-tool-builder

仓库创建 2026年1月15日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由

聚焦工具规范化,能显著降低代理调用失败与幻觉率。

这个 Skill 做什么

教你从 schema 到错误处理设计高质量、稳健的代理工具接口。

教你如何为 LLM 代理设计稳健的工具接口,从 JSON Schema 到描述写法、校验和错误处理全覆盖,目的是让代理少胡言、少失败并节省 tokens。在把外部 API 或内部能力暴露给代理时使用,能显著提高代理的可靠性和可用性。重点是写出能让模型理解的字段描述、清晰的输入校验和一致的错误反馈规范。

▸ 展开 SKILL.md 英文原文

Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary. This skill covers tool design from schema to error handling.

开发编程工具设计JSON Schema错误处理通用
4.2w
Stars
6.8k
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/agent-tool-builder/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/agent-tool-builder/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Agent Tool Builder

Tools are how AI agents interact with the world. A well-designed tool is the
difference between an agent that works and one that hallucinates, fails
silently, or costs 10x more tokens than necessary.

This skill covers tool design from schema to error handling. JSON Schema
best practices, description writing that actually helps the LLM, validation,
and the emerging MCP standard that's becoming the lingua franca for AI tools.

Key insight: Tool descriptions are more important than tool implementations.
The LLM never sees your code - it only sees the schema and description.

## Principles

- Description quality > implementation quality for LLM accuracy
- Aim for fewer tha
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有