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 alivirgo/Major-AI-Skills --skill multi-tool-batch-invocationgit clone --depth 1 https://github.com/alivirgo/Major-AI-SkillsWrote 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/alivirgo/major-ai-skills/multi-tool-batch-invocation)<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/multi-tool-batch-invocation"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/multi-tool-batch-invocation/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/alivirgo/major-ai-skills/multi-tool-batch-invocation"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/multi-tool-batch-invocation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00042 | $0.01442 |
| Opus 5 | $0.00021 | $0.00721 |
| Sonnet 5 | $0.00008 | $0.00288 |
| Haiku 4.5 | $0.00004 | $0.00144 |
Grade A, and why
multi-tool-batch-invocation 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 9d 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 — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Multi-Tool Parallel Batch Invocation Protocol
Overview
When an agent needs to inspect 4 related files (e.g., schema.prisma, auth.ts, routes.ts, and types.ts), naive agents execute 4 sequential back-and-forth turns:
- Turn 1: Call
view_file("schema.prisma")$\rightarrow$ Wait for response - Turn 2: Call
view_file("auth.ts")$\rightarrow$ Wait for response - Turn 3: Call
view_file("routes.ts")$\rightarrow$ Wait for response - Turn 4: Call
view_file("types.ts")$\rightarrow$ Wait for response
Sequential tool calling re-sends the entire conversation transcript 4 separate times, incurring 4 API roundtrips and 15 to 20 seconds of latency.
The Multi-Tool Batch Invocation Protocol leverages modern function calling specifications to emit multiple tool calls in a single turn (tool_calls: [...]), executing independent operations concurrently via asyncio.gather or Promise.all.
Sequential Single-Tool Turns vs. Parallel Batch Tooling
┌─────────────────────────────────────────────────────────────┐
│ Tool Execution Roundtrips │
│ │
│ Sequential Tool Calls (4 Turns / 14,800 Tokens): │
│ • Turn 1: Reads `schema.prisma` ──► 1 API Roundtrip (3.2s) │
│ • Turn 2: Reads `auth.ts` ──► 1 API Roundtrip (3.4s) │
│ • Turn 3: Reads `routes.ts` ──► 1 API Roundtrip (3.5s) │
│ • Turn 4: Reads `types.ts` ──► 1 API Roundtrip (3.1s) │
│ ↳ 4 Roundtrips, 13.2s total latency, 14,800 tokens billed │
│ │
│ Parallel Batch Invocation (1 Turn / 4,200 Tokens): │
│ • Turn 1: Model emits array of 4 `view_file` tool calls │
│ ↳ Client executes all 4 reads concurrently (0.05s CPU) │
│ • Turn 2: Model receives all 4 results in 1 batch return │
│ ↳ 1 Roundtrip, 3.4s total latency (3.8x Faster, 71% Cut!) │
└─────────────────────────────────────────────────────────────┘
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.
- 9d ago First seen · 137 lines · 42 tokens per session scan A 444bb733e03a
multi-tool-batch-invocation is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 1,442 once invoked, about $0.0002 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-31.
Other skills, from other repositories
snip
You are an expert at writing declarative YAML filters for snip, a CLI proxy that reduces LLM token consumption by filtering shell output.
azure-pipelines
Expert knowledge for Azure Pipelines development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when securing agents/secrets, configuring YAML builds, migrating from Jenkins…
azure-arc
Expert knowledge for Azure Arc development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when managing Arc-enabled Kubernetes, data services, Edge Volumes, Agentic Retrieval APIs…
azure-blob-storage
Expert knowledge for Azure Blob Storage development including troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when using Blob tiers, lifecycle/immutability, NFS/SFTP mounts, static sites, or SDK/CLI data workflows, and…
azure-local
Expert knowledge for Azure Local development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when planning Azure Local racks/SDN, disconnected clusters, Arc VMs, GPU workloads, or…
azure-defender-for-cloud
Expert knowledge for Azure Defender For Cloud development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when securing VMs, containers/AKS, SQL, storage, multi‑cloud connectors, or…