AgentFlows
CursorLabelNot executed· 1 caveat

Cursor agent drafts a plan first (plan mode)

issues: labeled == planning

`mode: plan` 'explores and drafts a plan before coding' (v1 docs).

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

  • How the plan gets back onto the issue (comment) is not handled by the API — you'd poll GET /v1/agents/{id}/runs/{runId} for `result`. Not implemented here.

Labels

  • planning

Workflow YAML

Copy the file as-is. Highlighting is only for reading.

workflow.yml

name: Cursor plan on labelon:  issues:    types: [labeled]jobs:  plan:    if: github.event.label.name == 'planning'    runs-on: ubuntu-latest    steps:      - 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 "Read $ISSUE_URL and draft an implementation plan. Do not write code." --arg r "$REPO_URL" \            '{prompt:{text:$t}, repos:[{url:$r}], mode:"plan", name:"plan"}' > body.json          curl -sS --fail -u "$CURSOR_API_KEY:" -H 'Content-Type: application/json' -d @body.json https://api.cursor.com/v1/agents

More workflows

  • Cursor15

    Launch a Cursor Cloud Agent when an issue is labeled

    Fields `prompt.text`, `repos[].url`, `repos[].startingRef`, `autoCreatePR` from the v1 Create An Agent docs. API is public beta.

    issues: labeled == cursor

    Estimated cost~$0.01 runner + Cursor plan usage (UNVERIFIED)

    Not executed· 1 caveat

    Checked Oct 16, 2026

  • Claude01

    Claude auto PR review

    Copied from the official Solutions Guide basic example (prompt shortened).

    pull_request: opened, synchronize

    Estimated cost~$0.18

    Not executed

    Checked Oct 16, 2026

  • Claude02

    Claude PR review with progress tracking

    `track_progress: true` posts a checkbox tracking comment (per Solutions Guide).

    pull_request: opened, synchronize, ready_for_review, reopened

    Estimated cost~$0.22

    Not executed

    Checked Oct 16, 2026