# Batch

> Execute multiple tool calls in parallel within a single response

- Skill: `tashfeenahmed/batch` (Agent Skill)
- Install (CLI): `npx skillmds@latest add tashfeenahmed/batch`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tashfeenahmed/batch/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tashfeenahmed (https://skillmd.com/u/tashfeenahmed)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/tashfeenahmed/batch

---


# Batch Skill

Execute multiple tool calls in parallel within a single response.

## How It Works

This is a documentation-only skill — there is no script to run. Instead, the agent should emit multiple `tool_use` blocks in a single response. The agent loop already handles parallel tool execution natively.

## When to Use

Use batch execution when:

- **Independent operations**: Multiple file reads, searches, or edits that don't depend on each other
- **Gathering information**: Reading several files at once to understand a codebase
- **Parallel writes**: Writing multiple independent files simultaneously
- **Speed optimization**: When operations can run concurrently

## How to Use

Simply include multiple tool calls in a single response. For example, to read three files at once:

```
[tool_use: read_file with path="src/a.ts"]
[tool_use: read_file with path="src/b.ts"]
[tool_use: read_file with path="src/c.ts"]
```

All three will execute in parallel and results will be returned together.

## Guidelines

- Only batch **independent** operations — if tool B depends on tool A's result, run them sequentially
- The agent loop handles execution, error handling, and result aggregation automatically
- Each tool call in the batch is executed independently — one failure does not affect others
- Results are returned in the order the tools complete

