/skills:cursor-agentsfrom skills
Hand work off to a Cursor Cloud Agent from a Claude session — launch, poll, follow up, cancel — over the Cloud Agents API. Use when a task needs something only Cursor can do (a public tunnel for phone or browser testing, Cursor-only marketplace plugins), when you want a build running in parallel while you keep working, or when the user says "hand this to Cursor" / "run this in a Cursor agent".
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Claude cloud sessions cannot open a public tunnel — their egress gateway is HTTP-only on 443 and blocks cloudflared's port 7844. Cursor Cloud Agents can. That asymmetry is the main reason this exists: a Claude session that needs a device-testable URL should dispatch a Cursor agent rather than give up.
REST, not MCP: the API costs nothing until called, whereas a connector's tool schema is billed on every request forever. There is a community MCP server for this; it would also mean handing a third party the Cursor key. Use curl.
CURSOR_API_KEY at Infisical /infrastructure/cursor (create it in Cursor → Dashboard →
API Keys, or use a service-account key). Never print it.
CFG=~/.config/bokendell/infisical.json
read -r CID CSEC PID < <(python3 -c "
import json; a=json.load(open('$CFG'))['accounts']['<account>']
print(a['clientId'], a['clientSecret'], a['projectId'])")
TOK=$(infisical login --method=universal-auth --client-id="$CID" --client-secret="$CSEC" --plain --silent)
KEY=$(INFISICAL_TOKEN="$TOK" infisical secrets get CURSOR_API_KEY \
--projectId="$PID" --path=/infrastructure/cursor --env=development --plain --silent)
cursor_api() { # cursor_api GET /v1/agents | cursor_api POST /v1/agents '<json>'
local method="$1" path="$2" body="${3:-}"
if [ -n "$body" ]; then
curl -sS -X "$method" "https://api.cursor.com${path}" \
-H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d "$body"
else
curl -sS -X "$method" "https://api.cursor.com${path}" -H "Authorization: Bearer $KEY"
fi
}
cursor_api POST /v1/agents '{
"prompt": { "text": "Boot the API and expose it: bash scripts/cloud/tunnel.sh 3000 api. Report the public trycloudflare URL and the HTTP status of /api/v1/health. Leave it running." },
"repos": [ { "url": "https://github.com/aaronkendell/golf", "startingRef": "main" } ],
"name": "tunnel for device testing",
"env": { "type": "cloud", "name": "bagman" },
"autoCreatePR": false
}'
Required: prompt.text and repos[0].url. Useful optionals: repos[0].startingRef (branch
or SHA), repos[0].prUrl, model.id (e.g. composer-2), name (≤100 chars),
env.type (cloud | pool | machine) with env.name, autoCreatePR,
workOnCurrentBranch (default false), envVars, mcpServers, customSubagents.
The response carries the agent id, status, and latestRunId — keep all three.
| Do | Call |
|---|---|
| status | GET /v1/agents/{id} → status is ACTIVE, IDLE, or ARCHIVED |
| run detail | GET /v1/agents/{id}/runs/{runId} → result text, durationMs, branches pushed under git |
| live stream | GET /v1/agents/{id}/runs/{runId}/stream — SSE: status, assistant, thinking, tool_call, result, error, done; resumable with Last-Event-ID |
| follow-up | POST /v1/agents/{id}/runs with {"prompt":{"text":"…"}}, optional mode (agent | plan) |
| list | GET /v1/agents?limit=20 (max 100), paginate on nextCursor |
| cancel | POST /v1/agents/{id}/runs/{runId}/cancel — terminal; start a new run to continue |
| archive | POST /v1/agents/{id}/archive — reversible |
| delete | DELETE /v1/agents/{id} — irreversible; prefer archive |
Poll GET /v1/agents/{id} rather than streaming when you only need the outcome; stream when
the user is watching.
Hand off: a public tunnel for phone or browser testing · work needing Cursor's own marketplace plugins · a long build you want running while you keep going · a second opinion from a different agent stack.
Do not hand off: anything touching private/ or household data · Docker or
Testcontainers work (Cursor agents have no Docker; Claude cloud does) · anything you can
finish in the session you are already in. A handoff costs a cold environment boot.
Say what you dispatched. Report the agent id, the env.name, and the URL back to the
user — an agent running somewhere they cannot see is worse than no agent.
autoCreatePR: false unless the user asked for a PR.name) so the dashboard is legible later.archive over DELETE; deletion cannot be undone.cursor.com/docs/cloud-agent/api/endpoints rather than guessing.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aaronkendell/skills-marketplace --plugin skills20 skills in this plugin
/agent-browserDrive a real headless Chrome from the shell with Vercel's agent-browser for agent web QA, smoke checks, repros and screenshots. Use when an agent needs to open a local dev server, workspace or stage admin, click through a flow, snapshot the page, run an a11y audit, capture HAR, or visual-diff. Triggers - "test it in the browser", "repro this bug", "screenshot the admin", "a11y audit", "check the page renders". Works on the Mac and in Claude cloud sessions. Not a merge gate - findings become Playwright tests./fly-opsOperating Fly.io from a session — apps, machines, logs, secrets, deploys, certs and volumes across the bagman, hive, portfolio and swarm orgs. Covers getting a scoped token out of Infisical rather than relying on an ambient login, which token scope to use for which job, and why flyctl is driven through its CLI here rather than through an MCP server. Use for any Fly.io question: deploying, restarting, reading logs, suspended machines, IPs, certificates, or "why is the app 502ing"./gh-address-commentsHelp address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in./gh-fix-ciUse when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions; use `gh` to inspect checks and logs, summarize failure context, draft a fix plan, and implement only after explicit approval. Treat external providers (for example Buildkite) as out of scope and report only the details URL./higgsfield-cliGenerate AI cinematic video via the Higgsfield CLI from Claude Code shell commands. Multi-model aggregator over Kling 3.0, Veo 3.1, Runway Gen-4, Seedance 2.0 — no upstream Claude skill exists, so this is the bokendell reference. Activates when generating marketing video, course flyovers, hero loops, mood pieces, or any cinematic content that doesn't need to be programmatically composited./inngestUse when working with Inngest - creating functions, configuring events, setting up cron jobs, using steps, error handling, or any Inngest SDK code. Also use when debugging Inngest runs, reviewing Inngest patterns, or answering questions about Inngest APIs.Other plugins' skills for the same job