agent-tool-builder · davila7 — Claude Code skill: what it does, how to install
Guides developers in designing tools, JSON Schema definitions, and error handling for AI agents. Useful when setting up function calling or MCP servers.
npx claude-code-templates@latest --skill ai-research/agent-tool-builderWhat agent-tool-builder does
Agents interact with external environments strictly through schemas and text descriptions. The model never inspects actual code. This skill establishes design guidelines for these boundaries, focusing on clear argument structures and informative error responses.
Ambiguous field descriptions inevitably cause model loops and balloon token costs. The skill highlights patterns to prevent silent failures and cluttered tool registries. It addresses input validation and the MCP interface format.
This guide pairs directly with multi-agent-orchestration and api-designer.
What it helps with
- write clear JSON Schema definitions for agent tools
- supply input examples that guide model invocations
- structure recovery-friendly error messages when calls fail
- detect anti-patterns such as silent failures and vague descriptions
Example prompts for the agent
- Draft a JSON Schema specification with argument examples for a database query tool
- Review my MCP tool description and add explicit error responses for network timeouts
- Audit this tool configuration to eliminate ambiguous field descriptions
How to install agent-tool-builder
1claude-code-templates
npx claude-code-templates@latest --skill ai-research/agent-tool-builder2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill agent-tool-builder -a claude-code3Manually: put the files in place
~/.claude/skills/agent-tool-builder/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agent-tool-builder/
Manually: put the files in place
.agents/skills/agent-tool-builder/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/agent-tool-builder/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates agent-tool-builder2Manually: put the files in place
.github/skills/agent-tool-builder/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/ai-research/agent-tool-builderManually: put the files in place
.devin/skills/agent-tool-builder/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about agent-tool-builder
How do I install agent-tool-builder in Claude Code?
Run npx claude-code-templates@latest --skill ai-research/agent-tool-builder in your terminal. This downloads and registers the skill in your project.
What does the agent-tool-builder skill do?
It provides patterns for crafting tool definitions, JSON Schema structures, and informative error handling. These practices help prevent LLM hallucinations and reduce unnecessary token usage.
Which skills work well alongside agent-tool-builder?
It is designed to work with multi-agent-orchestration, api-designer, llm-architect, and backend.
Similar skills
All skills for Agent setup: memory, context, orchestration →agent-tool-builder by other authors comes first.