Batch Run

Batch Run is a skill for Claude Code from CocoRoF/geny-executor. It costs 38 tokens per session (732 once invoked), scanned A, original, Apache-2.0.

A procedure for applying the same prompt or operation to every item in a list and collecting the results. It keeps each result in the same format.

In plain words
What is it for?
Running repeated summaries, status checks, linting tasks, or other operations across a batch of items and reporting successes, warnings, and errors.
Why use it?
It avoids inconsistent handling when the same task must be performed across many files, pull requests, or records, and lets one failed item be reported without stopping the rest.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Running repeated summaries, status checks, linting tasks, or other operations across a batch of items and reporting successes, warnings, and errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cocorof/geny-executor/batch
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 CocoRoF/geny-executor --skill batch
Clone the repo
git clone --depth 1 https://github.com/CocoRoF/geny-executor

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 Batch Run

README.md
[![agentmods](https://agentmods.dev/badge/skills/cocorof/geny-executor/batch/github.svg)](https://agentmods.dev/skills/cocorof/geny-executor/batch)
Your own site
<a href="https://agentmods.dev/skills/cocorof/geny-executor/batch"><img src="https://agentmods.dev/badge/skills/cocorof/geny-executor/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 Batch Run

Your own site · 80×15
<a href="https://agentmods.dev/skills/cocorof/geny-executor/batch"><img src="https://agentmods.dev/badge/skills/cocorof/geny-executor/batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 732 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.00038 $0.00732
Opus 5.5 $0.00015 $0.00293
Sonnet 5.5 $0.00008 $0.00146
Haiku 4.5 $0.00004 $0.00073

Measured 1mo ago against content hash 5a066fac712b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Batch Run 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 1mo 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.

src/geny_executor/skills/bundled/batch/SKILL.md · 72 lines

How it starts

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

Batch — same operation, every item

You're applying one operation across a list. Be uniform: every item should get the same depth and same output shape. The caller's downstream pipeline almost certainly expects regular output.

Inputs

  • ${items} — the list. Comma-separated by default; if entries contain commas, the caller may have used newlines instead. Trim whitespace and drop empty entries.
  • ${operation} — what to do for each item. A short verb phrase ("summarise", "check status", "lint and report"). If missing, ask the user once — don't guess.

Algorithm

  1. Parse items. Confirm count back to the user one time at the start: "I'll run operation on N items: ..." (no need to list all if N is large; show first 3 + "...and M more").
  2. For each item:
    • Run the operation.
    • Emit a fixed-shape result entry. The shape is always:
      ## <item>
      <findings — 1–3 sentences>
      **Status**: ok | warning | error | n/a
      
    • If a single item fails or is unanswerable, mark its Status as error / n/a with a one-line reason. Do not abort the whole batch.
  3. After every item is processed, emit a one-paragraph summary:
    • How many ran cleanly?
    • Common patterns / common failures?
    • One follow-up suggestion (if any).

Constraints

  • Don't think out loud per-item — the loop should feel mechanical. Save reasoning for the final summary.
  • Don't re-order the list. Whatever order the user provided is the canonical order; the user may rely on it for downstream processing.
  • Don't skip items silently. Every input item must appear in the output (even if the entry is just "n/a — couldn't reach").

When this is the wrong fit

If items differ enough that the same operation produces wildly different outputs (e.g. "review this codebase" vs "review this README"), bail out early: tell the user the items aren't uniform and ask whether to split into per-type batches. A consistent shape matters more than processing every item.

Read the full file on GitHub · 72 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. 1mo ago First seen · 72 lines · 38 tokens per session scan A 5a066fac712b

Subscribe to this mod's changes

Batch Run is a skill published in the GitHub repository CocoRoF/geny-executor (2 stars, last pushed 13d ago), licensed Apache-2.0. It adds 38 tokens to every session and 732 once invoked, about $0.0002 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-08-31.