ai-agent-tool-routing

ai-agent-tool-routing is a skill for Claude Code from iradoweck/antigravity-awesome-skills. It costs 36 tokens per session (1,218 once invoked), scanned A, a copy of ai-agent-tool-routing, MIT.

A register for how autonomous coding agents discover and use external tools, including parameter conversion, duplicate-request protection, and error-retry rules. It records the boundaries and recovery policies used during tool calls.

In plain words
What is it for?
Use it to document available tools, accepted parameters, idempotency keys that prevent repeated actions, and recovery policies for failures. It can export CSV, SQL, JSON Schema, and Notion formats.
Why use it?
It removes the need to define tool behaviour separately in many places. Clear schemas and retry rules make tool use more consistent and easier to review.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-awesome-skills plugin — 243 skills shipped together

Good fit Use it to document available tools, accepted parameters, idempotency keys that prevent repeated actions, and recovery policies for failures. It can export CSV, SQL, JSON Schema, and Notion formats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iradoweck/antigravity-awesome-skills/ai-agent-tool-routing
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 iradoweck/antigravity-awesome-skills --skill ai-agent-tool-routing
Clone the repo
git clone --depth 1 https://github.com/iradoweck/antigravity-awesome-skills

Made for: Claude Code.

Or install agentic-awesome-skills, the plugin that ships this one along with the rest of its 243 skills.

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 ai-agent-tool-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/iradoweck/antigravity-awesome-skills/ai-agent-tool-routing/github.svg)](https://agentmods.dev/skills/iradoweck/antigravity-awesome-skills/ai-agent-tool-routing)
Your own site
<a href="https://agentmods.dev/skills/iradoweck/antigravity-awesome-skills/ai-agent-tool-routing"><img src="https://agentmods.dev/badge/skills/iradoweck/antigravity-awesome-skills/ai-agent-tool-routing/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 ai-agent-tool-routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/iradoweck/antigravity-awesome-skills/ai-agent-tool-routing"><img src="https://agentmods.dev/badge/skills/iradoweck/antigravity-awesome-skills/ai-agent-tool-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,218 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 100% copy Near-identical to another mod 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.00036 $0.01218
Opus 5.5 $0.00014 $0.00487
Sonnet 5.5 $0.00007 $0.00244
Haiku 4.5 $0.00004 $0.00122

Measured today against content hash c83227fece5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-agent-tool-routing 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 today.

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.

Origin

This is a copy

100% identical to ai-agent-tool-routing — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agentic-awesome-skills-claude/skills/ai-agent-tool-routing/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI Agent Tool Routing Register

When to Use

  • Define which tools an agent may call, their parameter schemas and runtime limits.
  • Review a proposed tool registration before connecting it to an agent runtime.
  • Document timeout, retry and authorization contracts for an existing router.

Scope and prerequisites

This skill produces a register and a verification plan. A register does not implement a router or establish that a tool is safe. Read the actual server/tool schema and the application's identity and permission model. Record observed configuration separately from proposed policy. Do not invoke registered tools, read credentials or enable a production registration merely to fill the table.

Workflow

  1. Identify a task, the calling principal/tenant, the intended tool and its read or write effect. Tool names, model output and descriptions are not authorization.
  2. Read the advertised schema and implementation boundaries. Define required fields, additional-field rejection, length/range limits and schema version. Prefer rejection to guessed or lossy coercion. Schema validation does not enforce row-level authorization, path containment or network restrictions.
  3. Describe identity propagation and server-side resource checks. Bind a request to the verified principal; never let a tool argument select an arbitrary tenant.
  4. Set measured/project-approved timeout, rate, concurrency, response-size and cost limits. Cancellation must propagate to downstream work where supported; returning a timeout alone does not prove a write did not finish.
  5. Classify retries by effect. Retry only classified transient failures within a bounded budget. A write requires a verified server-side deduplication contract and reconciliation for ambiguous completion; a random key alone is insufficient.
  6. Define adversarial and failure cases: missing/unknown arguments, wrong tenant, denied resources, unavailable tool, oversized response and late completion.
  7. Record actual test evidence and unresolved gaps. Keep status Draft until the required checks ran against the exact runtime and schema revision. A register label never grants execution permission.

Read the full file on GitHub · 119 lines

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. today Changed · -18 lines · +5 tokens per session c83227fece5c
  2. 3d ago First seen · 137 lines · 31 tokens per session scan A 3d16ef0181a2

Subscribe to this mod's changes

ai-agent-tool-routing is a skill published in the GitHub repository iradoweck/antigravity-awesome-skills (30 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,218 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to ai-agent-tool-routing, differing in 0 lines, and is treated as a copy.