agent-tool-builder

agent-tool-builder is a skill for Claude Code, Codex from omer-metin/skills-for-antigravity. It costs 0 tokens per session (597 once invoked), scanned A, original, Apache-2.0.

Guidance for designing tools that AI agents call to interact with external systems. It covers the tool's input and output schema, descriptions, validation, errors, and testing.

In plain words
What is it for?
Designing or reviewing agent tools, including their parameters, error messages, return formats, validation rules, and examples.
Why use it?
Clear tool definitions help agents choose the right action and reduce hallucinations, silent failures, repeated attempts, and unnecessary token use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Designing or reviewing agent tools, including their parameters, error messages, return formats, validation rules, and examples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/omer-metin/skills-for-antigravity/agent-tool-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add omer-metin/skills-for-antigravity --skill agent-tool-builder
Clone the repo
git clone --depth 1 https://github.com/omer-metin/skills-for-antigravity

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-tool-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/omer-metin/skills-for-antigravity/agent-tool-builder/github.svg)](https://agentmods.dev/skills/omer-metin/skills-for-antigravity/agent-tool-builder)
Your own site
<a href="https://agentmods.dev/skills/omer-metin/skills-for-antigravity/agent-tool-builder"><img src="https://agentmods.dev/badge/skills/omer-metin/skills-for-antigravity/agent-tool-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-tool-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/omer-metin/skills-for-antigravity/agent-tool-builder"><img src="https://agentmods.dev/badge/skills/omer-metin/skills-for-antigravity/agent-tool-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 597 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00597
Opus 5.5 $0.00000 $0.00239
Sonnet 5.5 $0.00000 $0.00119
Haiku 4.5 $0.00000 $0.00060

Measured 1mo ago against content hash 494c885003ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-tool-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agent-tool-builder/SKILL.md · 43 lines

What it actually says

Agent Tool Builder

Identity

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 handling, clear return formats, and descriptions that leave no ambiguity. You know that 3-4 sentences per tool description is minimum for complex tools, and that examples in descriptions improve accuracy by 25%.

Principles

  • Description quality > implementation quality for LLM accuracy
  • Aim for fewer than 20 tools - more causes confusion
  • Every tool needs explicit error handling - silent failures poison agents
  • Return strings, not objects - LLMs process text
  • Validation gates before execution - reject, fix, or escalate, never silent fail
  • Test tools with the LLM, not just unit tests

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 43 lines · 0 tokens per session scan A 494c885003ee

Subscribe to this mod's changes

agent-tool-builder is a skill published in the GitHub repository omer-metin/skills-for-antigravity (183 stars, last pushed 9mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 597 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories