batch-execute

batch-execute is a command for Claude Code from OdinMB/ops-workflow. It costs 30 tokens per session (861 once invoked), scanned A, original, MIT.

A command for running a sequence of non-code work plans continuously without asking for input between plans. It records problems and questions in a Markdown file for later discussion.

In plain words
What is it for?
Use it when the user explicitly provides a batch of plans to execute in order.
Why use it?
It removes repeated pauses during a planned batch of tasks while preserving issues that need the user’s attention.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the ops plugin — 9 skills, 10 commands, 5 agents shipped together

Good fit Use it when the user explicitly provides a batch of plans to execute in order.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/odinmb/ops-workflow/batch-execute
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.

Clone the repo
git clone --depth 1 https://github.com/OdinMB/ops-workflow

Made for: Claude Code.

Or install ops, the plugin that ships this one along with the rest of its 9 skills, 10 commands, 5 agents.

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-execute

README.md
[![agentmods](https://agentmods.dev/badge/commands/odinmb/ops-workflow/batch-execute/github.svg)](https://agentmods.dev/commands/odinmb/ops-workflow/batch-execute)
Your own site
<a href="https://agentmods.dev/commands/odinmb/ops-workflow/batch-execute"><img src="https://agentmods.dev/badge/commands/odinmb/ops-workflow/batch-execute/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-execute

Your own site · 80×15
<a href="https://agentmods.dev/commands/odinmb/ops-workflow/batch-execute"><img src="https://agentmods.dev/badge/commands/odinmb/ops-workflow/batch-execute.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 861 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.00030 $0.00861
Opus 5.5 $0.00012 $0.00344
Sonnet 5.5 $0.00006 $0.00172
Haiku 4.5 $0.00003 $0.00086

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

Security

Grade A, and why

batch-execute 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 11d 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.

commands/batch-execute.md · 51 lines

How it starts

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

Task

You will be going on a plan execution spree for non-code work. I will provide a list of plans. Execute these plans one by one without interruptions.

Follow the ops:work-autonomously skill throughout.

Steps

  1. Check the current branch — if you're already on a feature branch, stay on it. Only create a new branch if you're on main (or the repo's default branch).
  2. Identify the batch prefix to process. The user usually names it (e.g. "execute the music batch"); otherwise infer it from the plan files they list, or ask. Plans use the convention plans/<batch>-NN-YYYY-MM-DD-<slug>.md and plans/<batch>-direct-tasks.md so multiple concurrent batches can coexist in plans/.
  3. Create a follow-up file per the ops:work-autonomously skill.
  4. Build the ordered work queue: merge plan files (plans/<batch>-NN-*.md) and any entries in plans/<batch>-direct-tasks.md into a single list sorted by numeric prefix. Only include files matching this batch's prefix — leave other batches alone. Don't look ahead, don't run items in parallel.
  5. Process the queue in order. Plan-file items go through the plan-based flow below; direct-task items go through the direct-task flow.
  6. After all items are processed, use the /ops:review-followup skill to walk through follow-up items with the user.
  7. When all follow-up items are resolved, confirm with the user to merge the branch. Then perform the merge.

Execution (plan files)

For each plan file, spawn an executor with subagent_type: "ops:executor" and this prompt:

Plan file path: <path to the plan>
Follow-up file path: <path to the follow-up file>

After each executor agent completes:

  1. Review its summary for status and any follow-up items. Note the summary's Effort line — if one delegation's effort dwarfs its peers, mention it in the follow-up file so the batch's expensive spots stay visible.
  2. Verify the agent persisted insights: check if MEMORY.md or backlog files were updated when appropriate. If the agent produced findings but didn't persist them, do it now.
  3. Commit the plan's changes (artifacts + state updates + completed plan) with a descriptive message, naming their paths: git add -- <paths>, then git commit -m "<message>" -- <paths>. Take the paths from the executor's summary and git status; never git add -A or a bare git commit (see ops:work-autonomously, rule 4)

Read the full file on GitHub · 51 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. 11d ago Changed · -4 lines · -14 tokens per session ce7b5d1357f6
  2. 1mo ago Changed 1dc642fb22b9
  3. 2mo ago First seen · 55 lines · 44 tokens per session scan A 12f840786c58

Subscribe to this mod's changes

batch-execute is a command published in the GitHub repository OdinMB/ops-workflow (6 stars, last pushed 10d ago), licensed MIT. It adds 30 tokens to every session and 861 once invoked, about $0.0001 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.

Related

batch-execute compared with commands from other repositories

batch-execute next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
batch-executeOdinMB/ops-workflowCommand610d agoMITA30Claude Code
forge-compact-taskluiseiman/dotforgeCommand82d agoMITA46Claude Code
forge-bootstrapluiseiman/dotforgeCommand82d agoMITA20Claude Code
forge-insightsluiseiman/dotforgeCommand82d agoMITA16Claude Code
capluiseiman/dotforgeCommand82d agoMITA19Claude Code
forge-auditluiseiman/dotforgeCommand82d agoMITA17Claude Code
forge-captureluiseiman/dotforgeCommand82d agoMITA20Claude Code