1broseidon/oneagent/oa-dispatch
Claude Code and agent skill by 1broseidon/oneagent
- community
Checking that the SKILL.md file is still in the repository.
Dispatch coding tasks to other AI agents via oneagent (oa). Use when you want to delegate file edits, code generation, reviews, or other scoped tasks to a different model or backend — for example, sending a targeted edit to Codex while continuing your own work.
Install
npx vskill@latest install 1broseidon/oneagent/oa-dispatchSKILL.md
Dispatch Tasks to Other Agents
Use oa to delegate scoped coding tasks to a different AI model or backend. This is useful when you want to parallelize work, use a specific model's strengths, or offload a well-defined edit while you continue working.
When to dispatch
Dispatch works best for targeted, self-contained tasks with clear instructions:
- Edit a specific file or function
- Generate a test suite for a module
- Refactor a block of code to match a pattern
- Review a file for a specific concern (security, performance, etc.)
Do not dispatch vague or open-ended tasks. The receiving agent has no access to your conversation context — the prompt must be self-contained.
Basic command
Always pipe the prompt into oa instead of passing it as an argument. This keeps prompt content out of process listings (ps aux):
All flags are optional. --thinking controls reasoning effort — supported levels vary by backend (e.g. low, medium, high). Omit it to use the backend's default.
For background execution with streaming visibility:
For multi-line prompts, use a heredoc:
Constructing effective prompts
The prompt must include everything the agent needs. Always include:
- The file path to edit or read
- What to do — be specific about the change
- Constraints — what not to change, patterns to follow, tests to pass
Good prompt:
Bad prompt:
Always include "Do not ask for confirmation, just make the edits" or similar. Without this, some backends may plan or brainstorm instead of making changes, especially if they have skills or settings that encourage a "plan first" workflow.
Available backends and models
Built-in backends:
| Backend | Command | --thinking | Best for | |
|---|---|---|---|---|
claude | oa -b claude | yes | Default, general-purpose | |
codex | oa -b codex | yes | Sandboxed execution | |
opencode | oa -b opencode | no | OpenCode-supported models | |
pi | oa -b pi | yes | Wide model selection via Pi | |
gemini | oa -b gemini | no | Gemini CLI models |
To use a specific model or thinking level:
Run oa list to see all configured backends.
Running in the background
Run the dispatch as a background task so you can continue working:
After the task completes, verify the changes:
Timeouts: Dispatched tasks can take anywhere from 30 seconds to 30 minutes depending on complexity. When running oa from a shell tool, set a timeout of at least 10 minutes (600000ms). The default 2-minute timeout will kill most non-trivial tasks prematurely.
Parallelism rule: You can dispatch multiple tasks in parallel if they edit different files. If multiple tasks touch the same file, run them sequentially — otherwise the later task may overwrite or conflict with the earlier one.
Using threads for multi-step tasks
When a task needs follow-up work, use threads to carry context:
Threads are portable — switch backends mid-thread and context carries over automatically.
Output modes
| Flag | Output | Use when | |
|---|---|---|---|
| (default) | Plain text result | Quick one-shot tasks | |
--json | Normalized JSON with result/session | Parsing the final result | |
--jsonl | Streaming JSONL events | Monitoring progress in real time |
Verifying results
Always verify dispatched work before proceeding:
- Check the diff:
git diffto see what changed - Run tests:
go test ./...or equivalent - Read the output: Check for errors or unexpected changes
If the result is wrong, either fix it yourself or dispatch a follow-up with more specific instructions.
Multi-agent scripts
For complex dispatch patterns, use the bundled scripts:
- `scripts/converse.sh` — Two agents discuss a problem on a shared thread, alternating turns, then synthesize findings into an action plan.
``bash bash scripts/converse.sh -a claude -b codex -t 3 "the service crashes after 5 minutes under load" ``
- `scripts/multi-review.sh` — Dispatch parallel code reviews to different agents (security + performance), then merge into one summary.
``bash bash scripts/multi-review.sh ``
Both scripts use threads, pipes, and hooks — the same primitives available for any custom workflow.
Gotchas
- The dispatched agent runs in your working directory but has no access to your conversation history. Every prompt must be self-contained.
- If a backend CLI is not installed or not signed in,
oawill return an error. Check withoa listfirst. --threadand--sessionare mutually exclusive. Use threads for cross-backend continuity, sessions for single-backend resume.- Large prompts with full file contents may hit token limits on some models. Point the agent at the file path instead of pasting contents.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/oa-dispatch/SKILL.md
Popularity
- Repository stars
- 5
- 7-day trend score
- 9
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/1broseidon/oneagent/oa-dispatch)