S claudeskill.wiki
ai-research

agent-tool-builder

Las herramientas son la forma en que los agentes de IA interactúan con el mundo. Una herramienta bien diseñada es la diferencia entre un agente que funciona y uno que alucina, falla silenciosamente o consume 10 veces más tokens de los necesarios. Esta habilidad abarca el diseño de herramientas desde el esquema hasta el manejo de errores. Mejores prácticas de JSON Schema, redacción de descripciones que realmente ayudan al LLM, validación y el estándar emergente MCP que se está convirtiendo en la lengua franca para las herramientas de IA. Insight clave: Las descripciones de las herramientas son más importantes que la implementa

199

Instalación

npx claude-code-templates@latest --skill ai-research/agent-tool-builder

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

Related Skills

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