Cursor agent drafts a plan first (plan mode)
`mode: plan` 'explores and drafts a plan before coding' (v1 docs).
issues: labeled == planning
Estimated cost~$0.01 runner + Cursor plan usage (UNVERIFIED)
Not executed· 1 caveatChecked Oct 16, 2026
issues: labeled == cursor
Fields `prompt.text`, `repos[].url`, `repos[].startingRef`, `autoCreatePR` from the v1 Create An Agent docs. API is public beta.
Estimated cost per run
~$0.01 runner + Cursor plan usage (UNVERIFIED)
Estimated, not measured.
Basis. 1 runner min x $0.006/min GitHub-hosted Linux 2-core (docs.github.com/en/billing/reference/actions-runner-pricing); agent compute billed against Cursor plan/usage pool — not quantified, UNVERIFIED.
Verification
Last checked Oct 16, 2026.
inputs checked against source docs; workflow not executed.
Open caveats
Labels
cursorCopy the file as-is. Highlighting is only for reading.
workflow.yml
name: Cursor cloud agent on labelon: issues: types: [labeled]jobs: launch: if: github.event.label.name == 'cursor' runs-on: ubuntu-latest steps: - name: Create Cursor agent env: CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }} ISSUE_URL: ${{ github.event.issue.html_url }} REPO_URL: https://github.com/${{ github.repository }} run: | jq -n --arg t "Implement $ISSUE_URL. Keep the change minimal and add tests." --arg r "$REPO_URL" \ '{prompt:{text:$t}, repos:[{url:$r, startingRef:"main"}], autoCreatePR:true}' > body.json curl -sS --fail -u "$CURSOR_API_KEY:" -H 'Content-Type: application/json' \ -d @body.json https://api.cursor.com/v1/agents`mode: plan` 'explores and drafts a plan before coding' (v1 docs).
issues: labeled == planning
Estimated cost~$0.01 runner + Cursor plan usage (UNVERIFIED)
Not executed· 1 caveatChecked Oct 16, 2026
Copied from the official Solutions Guide basic example (prompt shortened).
pull_request: opened, synchronize
Estimated cost~$0.18
Not executedChecked Oct 16, 2026
`track_progress: true` posts a checkbox tracking comment (per Solutions Guide).
pull_request: opened, synchronize, ready_for_review, reopened
Estimated cost~$0.22
Not executedChecked Oct 16, 2026