resource_global-serial — Claude Code prompt: calls in order
The resource_global-serial Claude Code prompt sequences tool calls that share one exclusive resource. It batches calls whose outcomes are already determined and separates steps that need feedback.
MIT ★ 488 updated 2026-11-15
.claude/commands/resource_global-serial.mdWhat resource_global-serial does
The prompt makes tools sharing one resource take turns. Calls run one at a time, in the order they enter the queue. Calls with decisions already settled can be batched, reducing planning exchanges.
A step that depends on an intermediate result starts a separate batch. The agent needs that feedback before deciding what comes next. For Claude Code, place the prompt file at .claude/commands/resource_global-serial.md.
What it helps with
- queue calls that share an exclusive resource
- run tool calls one at a time in admission order
- batch calls with decisions already settled
- split steps that depend on intermediate feedback
Example prompts for the agent
- Queue calls to shared tools and run them in the order received.
- Batch calls whose outcomes are already decided, but split steps that need an intermediate result.
- Run only one call to the shared resource at a time.
How to install resource_global-serial
Manually: put the files in place
.claude/commands/resource_global-serial.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about resource_global-serial
How do I install resource_global-serial in Claude Code?
Place the prompt file at .claude/commands/resource_global-serial.md.
What does resource_global-serial do?
It sets a sequence for tools that share one exclusive resource. Calls run one at a time; predetermined calls can be batched, while steps needing intermediate feedback stay separate.
How does resource_global-serial handle tool calls?
Calls follow their admission order and execute one at a time. Batching is for calls whose decisions are already determined.
Source text
resource_global-serial.md · MIT
All tools share one exclusive FIFO resource. Calls execute one at a time in admission order. Batch already-determined calls to reduce planning exchanges, but split at decisions requiring intermediate feedback.
© Open-RUA · MIT · Open-RUA/uni-robot-agent