tools-call-batch

tools-call-batch is a skill for Claude Code, Codex from symfony/ai-mate. It costs 99 tokens per session (809 once invoked), scanned A, original, MIT.

A command that runs several tool calls and resource reads together. It is meant for investigations where multiple results contribute to the same question.

In plain words
What is it for?
Use it to correlate profiler data with logs or read several related parts of one profile in a single batch.
Why use it?
It avoids repeated back-and-forth calls when the needed requests are already known, while leaving dependent steps as separate calls.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it to correlate profiler data with logs or read several related parts of one profile in a single batch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/symfony/ai-mate/tools-call-batch
About the project

Symfony AI Mate is a command-line assistant and MCP server that gives coding agents access to development tools tailored to a Symfony project. Developers and agents use it during development to inspect tools and run project-aware commands directly.

symfony/ai-mate · 47 stars · on GitHub · symfony.com

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 symfony/ai-mate --skill tools-call-batch
Clone the repo
git clone --depth 1 https://github.com/symfony/ai-mate

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 tools-call-batch

README.md
[![agentmods](https://agentmods.dev/badge/skills/symfony/ai-mate/tools-call-batch/github.svg)](https://agentmods.dev/skills/symfony/ai-mate/tools-call-batch)
Your own site
<a href="https://agentmods.dev/skills/symfony/ai-mate/tools-call-batch"><img src="https://agentmods.dev/badge/skills/symfony/ai-mate/tools-call-batch/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 tools-call-batch

Your own site · 80×15
<a href="https://agentmods.dev/skills/symfony/ai-mate/tools-call-batch"><img src="https://agentmods.dev/badge/skills/symfony/ai-mate/tools-call-batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 809 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.00099 $0.00809
Opus 5.5 $0.00040 $0.00324
Sonnet 5.5 $0.00020 $0.00162
Haiku 4.5 $0.00010 $0.00081

Measured 8d ago against content hash 11939a085e92, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tools-call-batch 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 8d 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/tools-call-batch/SKILL.md · 56 lines

How it starts

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

tools:call-batch

tools:call-batch --json='[...]' runs several tools and resource reads in one command call. Each round-trip an agent makes back to Mate costs roughly the same regardless of how much a single tool response shrinks, because the whole conversation is resent every turn. When one investigation genuinely needs multiple tool results, one batched call replaces N individual tools:call invocations and saves the (N-1) extra round-trips.

When to reach for it

Use it when the results of two or more tools answer one question together, not when you happen to be calling tools in sequence for unrelated reasons.

  • Correlating a slow request with logs from the same time window: fetch the profiler profile and search the logs for that window in one call.
  • Reading several collectors of one profile (symfony-profiler://profile/<t>/db, /time, /logger) in one call.

Do not reach for it for a single tool call (tools:call is simpler) or when later calls in the sequence depend on the result of an earlier one (e.g. reading a profiler token you don't have yet): those cannot be expressed as one JSON array up front and must stay separate tools:call calls.

Usage

bin/mate tools:call-batch --json='[
  {"tool": "symfony-profiler-get", "params": {"token": "abc123"}},
  {"tool": "monolog-search", "params": {"level": "ERROR", "from": "2026-01-01T12:00:00"}}
]'

Each entry is {"tool": "<name>", "params": {...}} (params is optional for a tool that takes none) or {"resource": "<uri>"} for a resource read. The result is a JSON array, one entry per call, in the same order: {"tool": "...", "ok": true|false, "result": <decoded tool output>|null, "error": "..."|null}. A resource read has resource (the URI) in place of tool.

Supports --format=json (default is a human-readable pretty rendering, one section per tool) and --format=toon when helgesverre/toon is installed, same as tools:call.

What it does not do

  • No concurrency. Calls run sequentially, in array order. The saving is the collapsed number of agent-visible round-trips, not wall-clock parallelism; do not expect it to run faster than the sum of the individual tool calls.
  • No partial abort. One call throwing or targeting an unknown tool name does not stop the rest of the batch; every entry gets its own ok/result/error, so read the whole array.
  • Runs tools as given. There is no read-only check. Batch only tools you would also call one by one.
  • Exit code. The command exits non-zero when any call failed. Call objects accept only the keys tool, params and resource. A call has exactly one of tool and resource, and a resource read takes no params.

Read the full file on GitHub · 56 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. 8d ago First seen · 56 lines · 99 tokens per session scan A 11939a085e92

Subscribe to this mod's changes

tools-call-batch is a skill published in the GitHub repository symfony/ai-mate (47 stars, last pushed 7d ago), licensed MIT. It adds 99 tokens to every session and 809 once invoked, about $0.0004 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-11-22.

Related

tools-call-batch compared with skills from other repositories

tools-call-batch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tools-call-batchsymfony/ai-mateSkill477d agoMITA99Claude Code, Codex
apple-notesNousResearch/hermes-agentSkill267ktodayMITA17Claude Code, Codex
boxNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
obsidianNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
channels-setupCopilotKit/CopilotKitSkill39ktodayMITA141Claude Code
gadgetomnigent-ai/omnigentSkill12ktodayApache-2.0A46Claude Code
dwsPinvou/pinvou-agentSkill3.0ktodayMITA193Claude Code, Codex