batch · wangzan101 — Claude Code prompt: what it does, how to install
This Claude Code prompt groups known interface actions into one batch. It adds wait conditions for loading steps and checks newly revealed fields before continuing.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/batch.mdWhat batch does
The prompt guides how the agent acts on an interface. When the next actions are clear, it sends them through one do_steps call and includes a wait condition for steps that load content or a screen.
For visible form fields, the agent enters each complete value in a single batch instead of choosing among fields it already knows. If a field appears only after an action, it inspects the updated screen first. Unclear sequences are handled one step at a time.
What it helps with
- group known interface actions into one call
- wait for a page or result to load
- enter complete values in visible form fields
- inspect a changed screen before planning further actions
Example prompts for the agent
- Open the search form, enter my query, and submit it as one batch of actions.
- Fill every visible form field with its known value.
- Wait for the submitted page to load, then inspect the new screen.
How to install batch
Manually: put the files in place
.claude/commands/batch.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about batch
How do I install batch in Claude Code?
Save the prompt file at .claude/commands/batch.md.
What does batch do?
It tells the agent to combine clear interface actions, wait for loading steps, and inspect the screen when an action reveals new fields.
When does batch run actions one at a time?
When the next steps are uncertain. If a field appears only after an action, the agent checks the updated screen before planning further.
Source text
batch.md · Apache-2.0
- When you are sure of the next few steps (for example: tap the search box → type → tap search), give them in one do_steps call, and give a wait condition (expect) to the steps that load something. For visible form fields, tap and enter each whole value in one batch; do not ask the model to decide between known fields. If a field only appears after a step, inspect that new screen before planning more actions. When you are not sure, go one step at a time.
© wangzan101 · Apache-2.0 · wangzan101/Mika
Similar prompts
All prompts for Browser and scraping →batch by other authors comes first.