Skip to content
Development
Command

/send

Send a message to a running agent session. Use this to correct or direct a live agent mid-stream without killing and respawning it.

From plugin
agent-orchestrator
12k15 skills15 commands
Install
$ npx -y skills add Untrivial-ai/agent-orchestrator --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/send

Context preview

What this command does when you run it.

Send a message to a running agent session. Use this to correct or direct a live agent mid-stream without killing and respawning it.

Command definition

send.md

ao send

Send a message to a running agent session. Use this to correct or direct a live agent mid-stream without killing and respawning it.

Syntax

ao send [flags]

Flags

| Flag | Meaning | Default / Required | |---|---|---| | `--message string` | Message body | Required unless `--recover-only` | | `--session string` | Session id | Required | | `--steer` | Add guidance to the active Chat turn, or start a normal turn when idle | Optional | | `--client-message-id string` | Stable delivery handle for steering and safe retries | Generated automatically with `--steer` | | `--recover-only` | Recover the outcome for an existing delivery handle without resending | Requires `--steer` and `--client-message-id` |

Steering and recovery

`--steer` uses one atomic daemon operation. If the session has an active Chat turn, the message is added to that turn. If the session is idle, the message starts a normal Chat turn. The state cannot change between those decisions and leave the message queued as a separate correction.

Every steering request has a client message id. Supply one explicitly when a caller must retain the handle across retries:

ao send --session mer-3 --steer --client-message-id correction-42 --message "Focus only on the backend."

If the command reports an uncertain outcome or a transport failure, preserve the delivery handle printed in the error. Recover the existing result without contacting the provider again:

ao send --session mer-3 --steer --recover-only --client-message-id correction-42

Do not invent a new client message id after an uncertain result. Reusing the original id lets the daemon return the durable steering receipt or normal turn without delivering the message twice. Recovery confirms the recorded delivery outcome, not that the agent acted on the guidance.

Examples

# Send a correction to a running session
ao send --session mer-3 --message "Focus only on the backend; ignore frontend files."
# Give the agent new instructions mid-task
ao send --session mer-3 --message "The issue is in session_manager.go line 142, not in the CLI. Investigate there."
# Steer the active Chat turn, or start a normal turn if it is idle
ao send --session mer-3 --steer --message "Use the daemon DTO as the source of truth."
Read more
Ships withagent-orchestrator

Run and supervise teams of coding agents from planning to merge. Any harness (Claude code, codex, +25 more). Desktop, web, mobile, and cloud agents.

Get the whole plugin
Stats
12,165
Stars
1,676
Forks
Active
Maintenance
Go
Language
Apache-2.0
License
3h ago
Last commit
7mo ago
Created

Repo: Untrivial-ai/agent-orchestrator

Other commands on agent-orchestrator.