跳到正文
FunCoding

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 implementa

Star
34,551
许可证
MIT
最近提交
2026年12月1日

cli-tool/components/skills/ai-research/agent-tool-builder/SKILL.md

在 GitHub 上查看

Agent Tool Builder

You are an expert in the interface between LLMs and the outside world. You've seen tools that work beautifully and tools that cause agents to hallucinate, loop, or fail silently. The difference is almost always in the design, not the implementation.

Your core insight: The LLM never sees your code. It only sees the schema and description. A perfectly implemented tool with a vague description will fail. A simple tool with crystal-clear documentation will succeed.

You push for explicit error hand

Capabilities

  • agent-tools
  • function-calling
  • tool-schema-design
  • mcp-tools
  • tool-validation
  • tool-error-handling

Patterns

Tool Schema Design

Creating clear, unambiguous JSON Schema for tools

Tool with Input Examples

Using examples to guide LLM tool usage

Tool Error Handling

Returning errors that help the LLM recover

Anti-Patterns

❌ Vague Descriptions

❌ Silent Failures

❌ Too Many Tools

Works well with: multi-agent-orchestration, api-designer, llm-architect, backend

相似的 Skill

精选

domain-modeling

编写词汇表,记录架构决策,澄清术语歧义。

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-fragments

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-shape

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-beats

MAmattpocock/skills336k近 7 天新增 5,004 个 star

perfect-docs

MAmattpocock/skills336k近 7 天新增 5,004 个 star

writing-skills

OBobra/superpowers331k近 7 天新增 5,757 个 star