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.
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 symfony/ai-mate --skill tools-call-batchgit clone --depth 1 https://github.com/symfony/ai-mateWrote 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/symfony/ai-mate/tools-call-batch)<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.
<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>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.00099 | $0.00809 |
| Opus 5.5 | $0.00040 | $0.00324 |
| Sonnet 5.5 | $0.00020 | $0.00162 |
| Haiku 4.5 | $0.00010 | $0.00081 |
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.
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,paramsandresource. A call has exactly one oftoolandresource, and a resource read takes noparams.
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.
- 8d ago First seen · 56 lines · 99 tokens per session scan A 11939a085e92
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.
tools-call-batch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tools-call-batchsymfony/ai-mate | Skill | 47 | 7d ago | MIT | A | 99 | Claude Code, Codex |
| apple-notesNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 17 | Claude Code, Codex |
| boxNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 14 | Claude Code, Codex |
| obsidianNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 19 | Claude Code, Codex |
| channels-setupCopilotKit/CopilotKit | Skill | 39k | today | MIT | A | 141 | Claude Code |
| gadgetomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 46 | Claude Code |
| dwsPinvou/pinvou-agent | Skill | 3.0k | today | MIT | A | 193 | Claude Code, Codex |