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.
npx skills add khalilbenaz/claude-skills-collection --skill tool-calling-architectgit clone --depth 1 https://github.com/khalilbenaz/claude-skills-collectionWrote 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.
[](https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/tool-calling-architect)<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/tool-calling-architect"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/tool-calling-architect/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.
<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/tool-calling-architect"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/tool-calling-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00096 | $0.03132 |
| Opus 5 | $0.00048 | $0.01566 |
| Sonnet 5 | $0.00019 | $0.00626 |
| Haiku 4.5 | $0.00010 | $0.00313 |
Grade A, and why
tool-calling-architect 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tool Calling Architect
Critères de décision : quel pattern choisir ?
| Situation | Pattern recommandé |
|---|---|
| Outil ponctuel dans un seul agent | Function calling inline (JSON schema dans le prompt) |
| Outil partagé entre plusieurs agents | MCP Server (stdio ou HTTP+SSE) |
| Enchaînement prévisible de 3+ étapes | Pipeline déterministe, pas tool chaining LLM |
| Actions parallèles indépendantes | Parallel tool calling natif (OpenAI/Anthropic) |
| Outil exposé à des LLMs tiers/clients | MCP Server avec authentification |
| Wrapping d'API REST existante | Tool = thin wrapper + validation Pydantic |
Workflow en 10 étapes
1. Définir le contrat de l'outil
Avant d'écrire du code, complète cette fiche :
- Nom : snake_case explicite (
get_invoice_by_id, pasget_data) - Description : une phrase claire sur CE QUE l'outil fait + QUAND l'utiliser (le LLM lit cette phrase pour décider d'appeler ou non)
- Inputs : chaque paramètre typé, obligatoire ou optionnel, avec valeurs autorisées si
enum - Output : format de retour standardisé (
status,dataouerror) - Effets de bord : lecture seule ? écriture ? irréversible ?
Règle : si la description de l'outil est ambiguë pour un développeur humain, elle le sera aussi pour le LLM.
2. Rédiger le JSON Schema
Format OpenAI-compatible (compatible Anthropic, Gemini, Mistral) :
SEARCH_WEB_SCHEMA = {
"name": "search_web",
"description": (
"Recherche des informations récentes sur le web. "
"Utilise cet outil uniquement quand tu as besoin d'informations "
"publiées après ta date de coupure ou de données factuelles précises."
),
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Requête en langage naturel, la plus spécifique possible"
},
"max_results": {
"type": "integer",
"description": "Nombre max de résultats retournés (1-10)",
"default": 5
},
"language": {
"type": "string",
"enum": ["fr", "en", "ar"],
"description": "Langue des résultats",
"default": "fr"
}
},
"required": ["query"],
"additionalProperties": False # bloque les paramètres inconnus
}
}
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.
- 11d ago First seen · 360 lines · 96 tokens per session scan A 99695bb439a6
tool-calling-architect is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (22 stars, last pushed 17d ago), licensed MIT. It adds 96 tokens to every session and 3,132 once invoked, about $0.0005 per session on Opus 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-08-30.
Other skills, from other repositories
api-patterns
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe retries. Triggers: API design, REST, GraphQL, OpenAPI, Swagger, error response, HTTP status, rate limit.
csharp-patterns
C#/.NET: LINQ, async/await, DI, records, nullable refs, ASP.NET Core, EF Core, MediatR. Triggers: C#, .NET, dotnet, ASP.NET, EF Core, LINQ, record type, IServiceCollection.
java-patterns
Java: Spring Boot, CompletableFuture, records, sealed types, JPA/Hibernate, virtual threads. Triggers: Java, Spring, JPA, Hibernate, Maven, Gradle, virtual thread, sealed class.
explain
Explains code/architecture with Mermaid diagrams and sequence flows. Triggers: what does X do, how does Y work, explain code, sequence diagram.
common-sense-index-investing-bogle
Apply John Bogle index investing rules for low-cost funds, asset allocation, fees, taxes, ETFs, advisers, and buy-hold discipline.
medplum-rules
Medplum (FHIR healthcare) coding rules: style, patterns, security, testing. Triggers: medplum.config.mts, medplum.config.ts, FHIR, Medplum, Bot, Subscription, Questionnaire.