/yellow-cursor:cursor:cursor:follow-up --agent-id <id> --prompt <text> [--idempotency-key <key>]from yellow-cursor
Send a follow-up prompt to an existing Cursor Cloud Agent, confirmed before the billable send. Use when user wants to continue or redirect a Cursor agent that is already running or finished.
Ships in yellow-cursor. Installing the plugin adds it to Claude Code.
Continues an existing agent's conversation with a new prompt. This dispatches a
real message (billable) — always confirmed first. Unlike /cursor:delegate,
this subcommand has no --dry-run, so confirmation is based on a plain summary
rather than a CLI-validated plan.
CLI="${CLAUDE_PLUGIN_ROOT}/dist/cli.js"
if [ ! -f "$CLI" ]; then
printf 'ERROR: yellow-cursor CLI not found at %s. Reinstall the plugin or report a bug.\n' "$CLI" >&2
exit 1
fi
command -v jq >/dev/null 2>&1 || {
printf 'ERROR: jq required. Install: https://jqlang.github.io/jq/download/\n' >&2
exit 1
}
Parse $ARGUMENTS for --agent-id <id> and --prompt <text> (both required),
and an optional --idempotency-key <key>. If either required value is missing,
ask via AskUserQuestion rather than guessing.
Show the user: agent id, and the prompt text they're about to send. Then AskUserQuestion:
<id>?"If declined, stop.
args=(follow-up --agent-id "$AGENT_ID" --prompt "$PROMPT" --yes)
[ -n "$IDEMPOTENCY_KEY" ] && args+=(--idempotency-key "$IDEMPOTENCY_KEY")
OUTPUT=$(node "$CLI" "${args[@]}")
OK=$(printf '%s' "$OUTPUT" | jq -r '.ok')
IDEMPOTENCY_KEY=$(printf '%s' "$OUTPUT" | jq -r '.idempotencyKey')
Capture idempotencyKey from the response regardless of outcome — if
--idempotency-key wasn't supplied, the CLI generated one, and any retry of
this same follow-up must reuse that exact value, never a new one.
On ok:true: report agentId, runId, requestId, status, targetBranch,
pullRequestUrl from the JSON only.
On ok:false with CURSOR_INVALID_INPUT and a message about the agent being
archived: tell the user to run /cursor:unarchive --agent-id <id> first, then
retry the follow-up.
On ok:false with CURSOR_UNKNOWN_OUTCOME: unlike delegate, the agent id is
already known here — run /cursor:status --agent-id <id> --reconcile to learn
the true state. Do not retry the send automatically; if the user wants to
retry, it must reuse $IDEMPOTENCY_KEY.
| Code | Retryable | Recovery Action |
|---|---|---|
CURSOR_CONFIRMATION_REQUIRED | false | should not occur (this command always passes --yes after confirming) — if seen, report as a bug |
CURSOR_INVALID_INPUT | false | if the agent is archived, run /cursor:unarchive first; otherwise fix the flagged input |
CURSOR_NOT_FOUND | false | verify the agent id via /cursor:list |
CURSOR_NESTED_DELEGATION | false | refuse; this session is already running inside a remote-agent context |
CURSOR_AUTH_FAILED | false | set CURSOR_API_KEY or run /cursor:setup |
CURSOR_RATE_LIMITED | true | wait and retry later with the same --idempotency-key |
CURSOR_SERVICE_UNAVAILABLE | true | retry later with the same --idempotency-key |
CURSOR_UNKNOWN_OUTCOME | false | run /cursor:status --agent-id <id> --reconcile before doing anything else; do not blindly retry |
Every error response still carries idempotencyKey — always surface it.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub kinginyellows/yellow-plugins --plugin yellow-cursorOther plugins' commands for the same job
10 commands in this plugin
/cursor:cursor:archivecursor:archiveArchive a Cursor Cloud Agent to hide it from default listing, after user confirmation. Use when user wants to clean up old Cursor agents, says "archive that agent", or "hide that Cursor session"./cursor:cursor:artifactscursor:artifactsList or download artifacts produced by a Cursor Cloud Agent run. Use when user asks "what did Cursor produce", "show artifacts", or wants to download a specific output file./cursor:cursor:cancelcursor:cancelCancel a running Cursor Cloud Agent run after user confirmation. Use when user wants to stop a Cursor agent, says "cancel Cursor", "stop that run", or "kill that task"./cursor:cursor:delegatecursor:delegateLaunch a Cursor Cloud Agent against a repository with a task prompt, always dry-run validated and user-confirmed before the billable launch. Use when user says "have Cursor do X", "send this to Cursor", or "delegate to Cursor"./cursor:cursor:listcursor:listList Cursor Cloud Agents merged with local state. Use when user asks "what Cursor agents are running", "show my Cursor sessions", or wants to find an agent id for status/cancel/archive./cursor:cursor:setupcursor:setupDetect Cursor SDK/credential availability and optionally install the @cursor/sdk runtime. Use when first installing yellow-cursor, after CURSOR_API_KEY changes, or when cursor commands fail with CURSOR_SDK_MISSING.