ai-agent-tool-routing

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

A set of rules for routing requests from an autonomous AI agent to external tools. It covers tool schemas, input conversion, duplicate-request protection, retries, and error recovery.

In plain words
What is it for?
Use it to describe tool interfaces, enforce runtime limits, attach idempotency keys so repeats are safe, and define recovery behavior.
Why use it?
It reduces failures caused by invalid parameters, repeated operations, or temporary tool errors.

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 describe tool interfaces, enforce runtime limits, attach idempotency keys so repeats are safe, and define recovery behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sickn33/agentic-awesome-skills/ai-agent-tool-routing
About the project

AAS Core is a local control plane for coding agents that lets them search a large catalogue of skills, choose a stack, validate it, and create a reproducible plan. It is used to assemble and review agent workflows through its CLI, local MCP server, catalogue, plugins, and Workbench. The catalogue add-ons provide the skills, plugins, bundles, and workflows that AAS Core helps agents select and validate.

sickn33/agentic-awesome-skills · 47,686 stars · on GitHub · aaskills.tech

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 sickn33/agentic-awesome-skills --skill ai-agent-tool-routing
Clone the repo
git clone --depth 1 https://github.com/sickn33/agentic-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/sickn33/agentic-awesome-skills/ai-agent-tool-routing/github.svg)](https://agentmods.dev/skills/sickn33/agentic-awesome-skills/ai-agent-tool-routing)
Your own site
<a href="https://agentmods.dev/skills/sickn33/agentic-awesome-skills/ai-agent-tool-routing"><img src="https://agentmods.dev/badge/skills/sickn33/agentic-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/sickn33/agentic-awesome-skills/ai-agent-tool-routing"><img src="https://agentmods.dev/badge/skills/sickn33/agentic-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 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.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 yesterday 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 yesterday.

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

Copies of this mod

2 near-identical copies found in the catalogue:

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. yesterday Changed · -18 lines · +5 tokens per session c83227fece5c
  2. 13d 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 sickn33/agentic-awesome-skills (47,686 stars, last pushed today), 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-03.