cursor
Skill0 starsChanged 21 days agoMITView on GitHub
Cursor Cloud Agents API: launch background coding agents on GitHub repos, check run status, collect PRs. Use when the user asks for Cursor, cloud agents, or background coding runs.
- Reads credentials
- Sends data out
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Call the REST API at https://api.cursor.com (v1) directly, or wrap it in a thin CLI.
- Distinctive: line 49
Create an API key in your Cursor account settings and pass it as a Bearer token from an environment variable at runtime — never hardcoded, …
- Distinctive: line 65
Keep prompts PR-sized: one task, clear acceptance criteria, named files where you know them.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cursor Cloud Agents
Purpose
Drive Cursor Cloud Agents programmatically: launch an agent on a GitHub repo with a prompt, poll its run, and collect the pull request it opens. Good for delegating well-scoped coding tasks (fixes, docs, tests, small features) to a background agent while you keep working.
Tooling
Call the REST API at https://api.cursor.com (v1) directly, or wrap it in
a thin CLI. The core calls:
BASE=https://api.cursor.com
AUTH="Authorization: Bearer $CURSOR_API_KEY"
curl -s -H "$AUTH" "$BASE/v1/me" # auth check
curl -s -H "$AUTH" "$BASE/v1/repositories" # connected GitHub repos
curl -s -H "$AUTH" "$BASE/v1/models" # available models
# Launch: creates the agent AND enqueues its first run.
curl -s -X POST -H "$AUTH" -H "Content-Type: application/json" -d '{
"prompt": {"text": "Fix the failing test in tests/test_api.py"},
"repos": [{"url": "https://github.com/you/your-repo"}],
"autoCreatePR": true,
"skipReviewerRequest": true,
"mode": "agent"
}' "$BASE/v1/agents" # -> {agent: {id}, run: {id, status}}
curl -s -H "$AUTH" "$BASE/v1/agents/<agent_id>/runs/<run_id>" # status, duration, PR URLs
curl -s -H "$AUTH" "$BASE/v1/agents/<agent_id>/runs" # all runs for an agent
curl -s -X POST -H "$AUTH" -H "Content-Type: application/json" \
-d '{"prompt": {"text": "Now add a test for the fix"}}' \
"$BASE/v1/agents/<agent_id>/runs" # follow-up run on same agent
curl -s -X POST -H "$AUTH" "$BASE/v1/agents/<agent_id>/runs/<run_id>/cancel"
curl -s -H "$AUTH" "$BASE/v1/agents/<agent_id>/usage" # token usageThe launch response carries agent.id and run.id — save both; every
later call needs them. A finished run's status response includes its PR
URL(s) and branch.
Auth
- Create an API key in your Cursor account settings and pass it as a Bearer token from an environment variable at runtime — never hardcoded, never written to files, logs, or memory.
GET /v1/meis the cheap auth check. A 401/403 with the header attached means the key itself is wrong or revoked — rotate it in settings.
Operating Rules
- The GitHub repo must already be connected to the Cursor account —
check
GET /v1/repositoriesbefore launching; there is no API-side way to connect a new repo. - Don't pin a
modelunless you mean it. Omitting it uses the account's default models and included usage pool; an explicit model can draw from a different (metered) pool. CheckGET /v1/modelsfirst. - With
autoCreatePR, a completed run opens a PR. Agents push branches; humans merge. Review every PR before it lands — never auto-merge agent output. - Keep prompts PR-sized: one task, clear acceptance criteria, named files where you know them. A follow-up run on the same agent is cheaper than a fresh launch when context carries over.
- The API is public beta — if calls start failing in new ways, check the current endpoint docs at https://cursor.com/docs/cloud-agent/api/endpoints before blaming the key.
- Report PR URLs and run status, never the API key.
Also on Honeypot — a free, open index of skills for AI agents: https://honeypot-e6c.pages.dev Image: Indexed on Honeypot
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations★ 73same name
- G1Joshi/Agent-Skills★ 15same name
- phuongduyphan/cc-tmux-agents★ 8same name
- darshitpp/x-agent★ 2same name
- compemperor/engram★ 0same name
- thedigitalorganizer/soloship★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use codex.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
engtySkillcodex
Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing
Also in 3 projects that use this
In this repository20 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- agent-checkoutSkill
- coinbaseSkill
- context7Skill
- cronSkill
- discordSkill
- honeypotSkill
- image-optimizeSkill
- kalshiSkill
- oids-python-sdkSkill
- oidsSkill
- pdf-textSkill
- playwright-mcpSkill
- polymarketSkill
- robinhood-mcpSkill
- skill_creatorSkill
- sqliteSkill
- the_odds_apiSkill
- webhooksSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

