batch-execute

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

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 commands/odinmb/ops-workflow/batch-execute
Clone the repo
git clone --depth 1 https://github.com/OdinMB/ops-workflow
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 783 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 $0.00044 $0.00783
Opus 5 $0.00022 $0.00392
Sonnet 5 $0.00009 $0.00157
Haiku 4.5 $0.00004 $0.00078

Measured yesterday against content hash 12f840786c58, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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 · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 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 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 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 /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 sub-agent (agents/executor.md):

Read the executor agent instructions at: agents/executor.md

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 all changes (artifacts + state updates + completed plan) with a descriptive message

Read the full file on GitHub · 55 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. yesterday 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 (7 stars, last pushed 14d ago), licensed MIT. It adds 44 tokens to every session and 783 once invoked, about $0.0002 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.