batch-implement

batch-implement is a command for Claude Code from ANcpLua/ancplua-claude-plugins. It costs 35 tokens per session (1,177 once invoked), scanned A, original, MIT.

A workflow for implementing many similar items by first extracting a shared pattern, then assigning one agent to each item, reviewing consistency, and running build, test, and lint checks.

In plain words
What is it for?
Use it for groups of diagnostics, tests, endpoints, features, fixes, or database migrations that follow a common pattern.
Why use it?
It reduces duplicated design work and catches differences between parallel implementations before they are considered complete.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the TodoWrite tool; positional $N argument.

Part of the exodia plugin — 2 skills, 7 commands shipped together

Good fit Use it for groups of diagnostics, tests, endpoints, features, fixes, or database migrations that follow a common pattern.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ancplua/ancplua-claude-plugins/batch-implement
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/ANcpLua/ancplua-claude-plugins

Made for: Claude Code.

Or install exodia, the plugin that ships this one along with the rest of its 2 skills, 7 commands.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/ancplua/ancplua-claude-plugins/batch-implement"><img src="https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/batch-implement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,177 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.00035 $0.01177
Opus 5.5 $0.00014 $0.00471
Sonnet 5.5 $0.00007 $0.00235
Haiku 4.5 $0.00003 $0.00118

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

Security

Grade A, and why

batch-implement 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 14d 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.

plugins/exodia/commands/batch-implement.md · 154 lines

How it starts

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

BATCH IMPLEMENT — Parallel Items with Shared Pattern

Extract pattern. Parallelize. Review consistency. Verify.

Type: $0 (diagnostics|tests|endpoints|features|fixes|migrations) Items: $1 (comma-separated list)


TEAM ARCHITECTURE

BATCH LEAD (You — Orchestrator)
│
├─ Phase 1: PATTERN EXTRACTION (1 agent)
│  └── template-extractor
│  └── → template ready
│
├─ Phase 2: PARALLEL IMPLEMENTATION (1 agent per item)
│  ├── implementer-item-1 ... implementer-item-N
│  └── GATE → all complete
│
├─ Phase 3: CONSISTENCY REVIEW (1 agent)
│  └── consistency-reviewer
│  └── → fix issues found
│
└─ Phase 4: VERIFICATION (direct)
   └── Build + Test + Lint → DONE | BLOCKED

<CRITICAL_EXECUTION_REQUIREMENT>

STEP -1 — Inherit Prior Findings: If <EXODIA_FINDINGS_CONTEXT> tag exists in session context, read .eight-gates/artifacts/findings.json. Filter findings matching items in $0. Inject matching findings into Phase 2 agent prompts as context.

RUN ALL 4 PHASES WITHOUT STOPPING.

  1. Launch 1 template extractor
  2. Launch 1 implementer PER ITEM in ONE message (parallel)
  3. Launch 1 consistency reviewer
  4. Run verification directly

Use TodoWrite: one todo per item, mark complete as each finishes.

YOUR NEXT MESSAGE: 1 Task tool call for Phase 1. NOTHING ELSE.

</CRITICAL_EXECUTION_REQUIREMENT>


PHASE 1: PATTERN EXTRACTION — 1 Agent

template-extractor

subagent: feature-dev:code-explorer You are template-extractor. Extract the implementation pattern. TYPE: $0 | ITEMS: $1 Find: existing implementations of this type, common structure, required boilerplate, test patterns, registration/wiring. Create template: file structure, code skeleton, naming conventions, integration points. Output: Implementation template with placeholders


PHASE 2: PARALLEL IMPLEMENTATION

Parse $1 (comma-separated). Launch ONE agent PER ITEM in ONE message.

implementer-item-N (one per item)

subagent: feature-dev:code-architect IMPLEMENT: [ITEM_NAME from $1] | TYPE: $0 Using template from Phase 1. Follow TDD:

  1. Write failing test → 2. Implement → 3. Verify pass

Checklist: follows pattern, unit test, implementation, no copy-paste errors.

FILE OWNERSHIP: You own ONLY files for YOUR item. List owned files at the top of your output. DO NOT modify shared files (DI registrations, route tables, module exports, index files, barrel files). Leave a // TODO: register [ITEM_NAME] comment in your output — the consistency-reviewer handles all wiring. Output: Files created with paths + OWNED FILES list

Read the full file on GitHub · 154 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. 14d ago First seen · 154 lines · 35 tokens per session scan A c6f6376c8973

Subscribe to this mod's changes

batch-implement is a command published in the GitHub repository ANcpLua/ancplua-claude-plugins (6 stars, last pushed 3d ago), licensed MIT. It adds 35 tokens to every session and 1,177 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-10-01.