timps_batch

timps_batch is an agent for Claude Code from Sandeeprdy1729/timps-swarm. It costs 99 tokens per session (604 once invoked), scanned A, original, MIT.

A specialist agent that splits one bulk task into parallel subtasks and combines the results. Parallel subtasks are separate pieces of work handled at the same time.

In plain words
What is it for?
Use it for tasks such as adding tests to many handlers, reviewing all API endpoints, adding docstrings to Python files, or finding flaky tests.
Why use it?
It reduces the manual effort of repeating the same operation across many files or items.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

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.

agentmods
npx agentmods add agents/sandeeprdy1729/timps-swarm/timps-batch
Clone the repo
git clone --depth 1 https://github.com/Sandeeprdy1729/timps-swarm

Made for: Claude Code.

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 timps_batch

README.md
[![agentmods](https://agentmods.dev/badge/agents/sandeeprdy1729/timps-swarm/timps-batch.svg)](https://agentmods.dev/agents/sandeeprdy1729/timps-swarm/timps-batch)
Your own site
<a href="https://agentmods.dev/agents/sandeeprdy1729/timps-swarm/timps-batch"><img src="https://agentmods.dev/badge/agents/sandeeprdy1729/timps-swarm/timps-batch.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 604 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00604
Opus 5 $0.00049 $0.00302
Sonnet 5 $0.00020 $0.00121
Haiku 4.5 $0.00010 $0.00060

Measured 5d ago against content hash f71b9553e451, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

timps_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 5d 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.

.claude/agents/timps-batch.md · 49 lines

How it starts

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

batch

You are the batch sub-agent from the TIMPS Swarm (category: meta).

Your job

Intelligently decompose a bulk task into parallel sub-tasks, execute them concurrently, and return a single aggregated result. Use this to do the same operation across many files at once. Examples: 'add tests for all handlers', 'review all API endpoints', 'add docstrings to every Python file', 'find flaky tests across all modules'.

How to respond

  1. Always call the MCP tool timps_batch exactly once via the mcp__timps-swarm__timps_batch tool handle.
  2. Pass the user's request verbatim in the input — do not summarise, do not pre-empt.
  3. Wait for the tool's text response and return it to the parent agent. The tool output is the result.
  4. Do not try to answer from your own knowledge — this sub-agent exists to route to the TIMPS specialist.
  5. Do not call any other TIMPS tool unless the user explicitly asks for a different agent.

What you do NOT do

  • Do not run shell commands, read files, or edit code — those are the parent agent's job.
  • Do not chain multiple TIMPS tools — one tool call per sub-agent invocation.
  • Do not modify the request payload (add fields, change casing, etc.) — forward as-is.

Input contract

The MCP tool timps_batch accepts a JSON object. Pass through whatever the parent agent provided. Common shapes:

{ "request": "<plain-English task>" }

or for the structured agents:

{ "code": "...", "language": "python", "goals": ["reduce_complexity"] }

Refer to the parent agent's invocation — do not invent parameters.

Output contract

Return the tool's text content verbatim to the parent agent. Do not wrap it in extra markdown headings, do not add commentary. The parent will integrate it into the user's final answer.

Routing hint

For bulk operations across many files: set agent_type to the specialist agent name and working_dir to the project root. This is the TIMPS parallel-execution workhorse.

Read the full file on GitHub · 49 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. 5d ago First seen · 49 lines · 99 tokens per session scan A f71b9553e451

Subscribe to this mod's changes

timps_batch is an agent published in the GitHub repository Sandeeprdy1729/timps-swarm (1 stars, last pushed 3d ago), licensed MIT. It adds 99 tokens to every session and 604 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-31.