/yellow-cursor:cursor:cursor:artifacts --agent-id <id> [--download <remote-path> --out <local-path>]from yellow-cursor
List 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.
Ships in yellow-cursor. Installing the plugin adds it to Claude Code.
Lists artifacts by default. Downloads only when the user explicitly names a remote path and a local destination — this command never guesses a download target.
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> (required). If the user also gave
--download <remote-path>, they must also give --out <local-path> — pass both
through to the CLI verbatim; do not attempt to pre-validate the paths here (the
CLI enforces relative-only, no .. segments, no control characters, and refuses
a symlink at the destination).
If --agent-id is missing, report that it's required (suggest /cursor:list)
and stop.
List mode:
args=(artifacts --agent-id "$AGENT_ID")
OUTPUT=$(node "$CLI" "${args[@]}")
Download mode (only when both --download and --out were given). --out
must be a relative path (no leading / or .. segments); the CLI resolves
it under ${YELLOW_CURSOR_DATA_DIR}/artifact-downloads/ (or the default
data-dir when unset) and refuses escapes outside that directory.
args=(artifacts --agent-id "$AGENT_ID" --download "$REMOTE_PATH" --out "$LOCAL_PATH")
OUTPUT=$(node "$CLI" "${args[@]}")
List mode, on ok:true: render items as a table of path, sizeBytes,
updatedAt. If empty, report "No artifacts found for this agent."
Download mode, on ok:true: report downloaded.remotePath,
downloaded.localPath, downloaded.bytes.
| Code | Retryable | Recovery Action |
|---|---|---|
CURSOR_UNSUPPORTED_CAPABILITY | false | artifacts aren't available for this SDK/account — no retry will help |
CURSOR_INVALID_INPUT | false | --download without --out, or a rejected path — fix and retry |
CURSOR_NOT_FOUND | false | verify the agent id via /cursor:list |
CURSOR_AUTH_FAILED | false | set CURSOR_API_KEY or run /cursor:setup |
Any other error.code — report the code, message, and error.recoveryAction
from the JSON as-is.
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-cursor10 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: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:follow-upcursor:follow-upSend 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./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.