Skip to content

RecipesCursor

Cursor agents

Free

Every Cursor cloud agent as a row: repo, task, status, elapsed, plus running and failed counts. Botopticon is not affiliated with Cursor.

Access

Cursor API key, GET calls only

Required. Env CURSOR_API_KEY. Mode api_key.

In Cursor open Dashboard, then API Keys, and create a user API key named Botopticon board. Use it only here so you can revoke it without breaking anything else. Cursor API keys can't be limited to read: the same key can launch, follow up, cancel, archive, and delete agents. So the agent only makes GET calls with it: it lists cloud agents and reads their latest run. It never starts, stops, or changes an agent.

Optional: a read-only GitHub fine-grained token (GITHUB_TOKEN, Pull requests and Commit statuses: Read) for PR stage on each row.

Botopticon never stores this key. Paste it into the agent, cron host, or MCP config. Revoke it any time.

Board

Sample · not your account.

Agent rows

Sample · Repo, agent, status, min

Min
  1. web-app · Add saved searches14
  2. api · Speed up dealer page3
  3. docs · Fix flaky link test40
  4. web-app · Footer links · PR open22

Updated just nownowCursor

Running now

Sample · of 4 agents

2agents

Updated just nownowCursor

Latest results

Sample · Newest 10 runs

  1. 14mweb-app — running 14m
  2. 11:02web-app — Added footer links and opened a PR.
  3. 10:40docs — Run failed before a PR.

Updated just nownowCursor

Command Tiles

Pro

Sample · not your account. The agent puts the ask on the board. You answer there. How Command Tiles work

  • Retry the agent

    Needs you

    Sample data

    Approval · Cursor

    Retry the failed cloud agent on botopticon?

    Updated just nownowCursor

    Needs you
  • Failed agent next?

    Needs you

    Sample data

    Question · Cursor

    One cloud agent failed today. What should it do?

    Updated just nownowCursor

    Needs you

Tiles

  • Agent rows
  • Running now
  • Failed todayneeds you
  • Latest results
  • Agent rows. Row label is repo and agent name. Row status is the latest run. min is elapsed minutes. No percents.
  • Failed today. Runs with status ERROR since midnight in your timezone.

State map

  • Agent rows. Latest run CREATING, RUNNING -> "working". FINISHED, CANCELLED, EXPIRED -> "idle". ERROR -> "needs_you" with a row needs. Never "done" or "offline" on a row. Archived agents drop off.
  • Running now. value = agents whose latest run is CREATING or RUNNING. Subtitle from the numbers. needs_you stays false.
  • Failed today. value = ERROR runs since midnight. Above 0 -> needs_you with needs (kind "issue"). 0 -> needs_you false. 401 -> needs kind "blocker": Replace CURSOR_API_KEY. Needs you: 1 agent failed today. Rerun or close it?
  • Latest results. Label "<repo> — <first line of result>", or "running <n>m". tone: RUNNING "ok", ERROR "warn", FINISHED/CANCELLED/EXPIRED "idle". props.state "working" if a run is in flight, "blocked" if an ERROR is listed, else "idle".

Verify

The agent runs these on the first run, then reports.

  1. GET https://www.botopticon.com/api/catalog with the token -> 200. A 401 means the token is wrong, revoked, or still the placeholder.
  2. POST each body to https://www.botopticon.com/api/ingest?dry_run=1 (or post_tile with dry_run true). On board_not_found, stop and ask me; don't switch boards. On a validation error or warning (title or subtitle too long, weak title), fix that body and dry-run it again.
  3. Post for real. Each reply has ok true, a pane_id, and board_name "Cursor agents".
  4. Call list_tiles (or open the board): 4 tiles on "Cursor agents", none stale.
  5. Then tell me those four results in one short message.

Keep it current

A small script, not an LLM loop. It runs every 2 minutes, and every 60 seconds while an agent is running. It posts to “Cursor agents” only when a tile changes, and reads BOTOPTICON_TOKEN and CURSOR_API_KEY from the environment.

An LLM routine every few minutes spends your usage and adds nothing new.

Setup

  1. 01

    Make a Cursor API key

    Cursor Dashboard > API Keys. Create a user key named Botopticon board and use it only here. Cursor keys can't be limited to read, so the agent only makes GET calls with it: it lists agents and reads their latest run. Keep it in CURSOR_API_KEY on the agent or cron host. Botopticon never stores this key. Paste it into the agent, cron host, or MCP config. Revoke it any time.

  2. 02

    Create a Botopticon token

    In the app, open Connection tokens and create one named after this board. It starts with bot_ and is shown once. Save it as BOTOPTICON_TOKEN where the agent runs. It posts to Botopticon. It is not the Cursor key.

  3. 03

    Optional: connect GitHub for PR stages

    Add a GitHub fine-grained token with Pull requests and Commit statuses set to Read on the repos you care about. With it, rows move from PR open to checks running, green, and merged.

  4. 04

    Paste the prompt into your agent

    Open the tab for Grok Bot, Muse, MCP, Cursor, Claude, or curl. The agent checks the token, dry-runs every tile, posts to the Cursor agents board, and reports back.

  5. 05

    Let the script keep it current

    The agent writes a small script that checks every 2 minutes (60 seconds while an agent runs) and posts only what changed. A quiet tile overnight is normal.

Snippets

Read BOTOPTICON_TOKEN from your environment or secret store. If it isn't set, stop and ask me. Never send the text $BOTOPTICON_TOKEN. If I paste a token in chat, save it as BOTOPTICON_TOKEN and don't repeat it.

Same recipe, one tab per platform. The prompt fetches the source and posts. Do not paste the sample numbers as live data.

Grok Bot

Click Use this recipe first so the board exists.
Paste this into Grok Bot. Set BOTOPTICON_TOKEN in its environment or secret store first.

1. Goal
Keep my Botopticon board "Cursor agents" current with live Cursor data.
Any agent that can make HTTPS calls can do this. You report; I decide.

2. Connect
- Botopticon token (starts with bot_): Read BOTOPTICON_TOKEN from your environment or secret store. If it isn't set, stop and ask me. Never send the text $BOTOPTICON_TOKEN. If I paste a token in chat, save it as BOTOPTICON_TOKEN and don't repeat it.
- HTTP (works everywhere): POST https://www.botopticon.com/api/ingest
  Headers: Authorization: Bearer <token>, Content-Type: application/json
- MCP (optional, same token): https://www.botopticon.com/api/mcp, tool post_tile. If an MCP tool returns HTML or an error, use HTTP.

3. Source access
Cursor: read CURSOR_API_KEY from your environment (Cursor API key, GET calls only). If it isn't set, ask me.
In Cursor open Dashboard, then API Keys, and create a user API key named Botopticon board. Use it only here so you can revoke it without breaking anything else. Cursor API keys can't be limited to read: the same key can launch, follow up, cancel, archive, and delete agents. So the agent only makes GET calls with it: it lists cloud agents and reads their latest run. It never starts, stops, or changes an agent.
Optional: a read-only GitHub fine-grained token (GITHUB_TOKEN, Pull requests and Commit statuses: Read) for PR stage on each row.
Botopticon never stores this key. Paste it into the agent, cron host, or MCP config. Revoke it any time.

4. Board
Send "board": "Cursor agents" on every post. On a Free workspace with one board, posts land on that board, and the reply warns board_ignored_free when the names differ.

5. Tiles
Bot "Cursor" on every tile. Never change the tile keys.
- agent-rows, stat_table, "Agent rows". Row label is repo and agent name. Row status is the latest run. min is elapsed minutes. No percents. States: Latest run CREATING, RUNNING -> "working". FINISHED, CANCELLED, EXPIRED -> "idle". ERROR -> "needs_you" with a row needs. Never "done" or "offline" on a row. Archived agents drop off. ttl_seconds 43200 idle, 900 while busy.
- running-now, kpi, "Running now". States: value = agents whose latest run is CREATING or RUNNING. Subtitle from the numbers. needs_you stays false. ttl_seconds 43200 idle, 900 while busy.
- failed-today, kpi, "Failed today". Runs with status ERROR since midnight in your timezone. States: value = ERROR runs since midnight. Above 0 -> needs_you with needs (kind "issue"). 0 -> needs_you false. 401 -> needs kind "blocker": Replace CURSOR_API_KEY. ttl_seconds 86400. When a person must act: needs_you true and needs {"who":"Cursor","kind":"issue","ask":"1 agent failed today. Rerun or close it?","link":"https://cursor.com/agents"}.
- latest-line, feed, "Latest results". States: Label "<repo> — <first line of result>", or "running <n>m". tone: RUNNING "ok", ERROR "warn", FINISHED/CANCELLED/EXPIRED "idle". props.state "working" if a run is in flight, "blocked" if an ERROR is listed, else "idle". ttl_seconds 43200 idle, 900 while busy. needs_you stays false.

6. Fetch notes
Read the current Cursor Cloud Agents API docs (v1). Only GET calls with CURSOR_API_KEY. Never start, follow up, cancel, archive, or delete an agent.
Agent rows. One stat_table row per non-archived agent, newest first, up to 8. Label "<repo> · <agent name>" (64 max). values.min = elapsed minutes from the latest run (durationMs, or now minus createdAt while running). Row status from the latest run: CREATING or RUNNING -> "working". FINISHED -> "idle" (say "PR open" in the label when git.branches has a prUrl). CANCELLED or EXPIRED -> "idle". ERROR -> "needs_you" with a row needs {"who":"Cursor","kind":"issue","ask":"<agent name> failed. Rerun or close it?","link":"<agent url>"}. Never "done" or "offline" on a row. Cursor reports no percent and no cost per agent; don't invent either.
Running now. value = agents whose latest run is CREATING or RUNNING.
Failed today. value = runs with status ERROR since midnight in my timezone. Above 0 -> needs_you true and needs {"who":"Cursor","kind":"issue","ask":"<n> agents failed today. Rerun or close them?","link":"https://cursor.com/agents"}. 0 -> needs_you false. Cursor answers 401 -> needs {"who":"Cursor","kind":"blocker","ask":"Replace CURSOR_API_KEY"}.
Latest results. Newest 10 runs as a feed. Label "<repo> — <first line of result>" for finished runs, "<repo> — running <n>m" while running. tone: RUNNING "ok", ERROR "warn", FINISHED/CANCELLED/EXPIRED "idle". props.state "working" if any run is in flight, "blocked" if an ERROR is listed, else "idle".
Optional GITHUB_TOKEN: add the PR stage to the row label (PR open, checks running, green, merged). Without it, stop at PR open.
- Agents: GET https://api.cursor.com/v1/agents?limit=100&includeArchived=false (Basic auth: key as the user, empty password). Follow nextCursor; it is absent on the last page.
- Key check: GET https://api.cursor.com/v1/me -> 200 means the key works.
- Per item: Run status, durationMs, result, and git.branches come only from GET https://api.cursor.com/v1/agents/{id}/runs/{latestRunId}. Call it for agents whose updatedAt changed since your last run, and for every agent still running.
- Look-back: Agents can finish between checks. Each run, read every agent updated since your last run and post the final run status, so a 3-minute agent still shows in the rows, the feed, and Failed today.

7. Posting rules
Fields: bot, tile, type, title, subtitle, props, needs_you, needs, ttl_seconds, board, brief (link optional). Send the full body each time; a post without needs or link clears it.
needs is required whenever needs_you is true: {"who","kind":"task|issue|question|blocker|approval","ask"} (link and detail optional).
Limits: title shows 24 characters (max 80). Subtitle shows 48 (cut at 80). Row labels 64. Feed labels 280. needs.ask 140 on one line. needs.who 48.
Post a tile only when its body changes. Do not invent numbers. Do not post the same body again just to keep a tile fresh.

8. Verify on the first run
a) GET https://www.botopticon.com/api/catalog with the token -> 200. A 401 means the token is wrong, revoked, or still the placeholder.
b) POST each body to https://www.botopticon.com/api/ingest?dry_run=1 (or post_tile with dry_run true). On board_not_found, stop and ask me; don't switch boards. On a validation error or warning (title or subtitle too long, weak title), fix that body and dry-run it again.
c) Post for real. Each reply has ok true, a pane_id, and board_name "Cursor agents".
d) Call list_tiles (or open the board): 4 tiles on "Cursor agents", none stale.
e) Then tell me those four results in one short message.

9. Keep it current
Write a small script (no LLM in the loop). Run it every 2 minutes; every 60 seconds while an agent is running. Use cron or a loop that holds a lock. It keeps a hash of each body, posts only the tiles that changed, retries once on 429 or 5xx, stops re-posting a body that got a 4xx, reads BOTOPTICON_TOKEN and CURSOR_API_KEY from the environment, never logs them, and has a --dry flag.
Don't set up an LLM routine that runs every few minutes; it spends my usage and adds nothing.
On the board, a quiet tile with an old "updated" time is normal. A stale tile means your script stopped.

10. Report back
One short message: the token check, the dry-run result, each pane_id, the board name, and the schedule you chose.

FAQ

Why are there no progress bars?
Cursor does not report how far an agent is through its work, so the board does not guess. Each row shows real signals: running or finished, elapsed minutes, the latest result, and PR stage when GitHub is connected. A failed run turns its row and Failed today amber.
Does this run on the Free plan?
Yes. Every tile in this recipe is a Free type. A Free workspace still has one board and 8 live tiles. Using this recipe adds the sample tiles to that board.
Does Botopticon store the Cursor key?
Botopticon never stores this key. Paste it into the agent, cron host, or MCP config. Revoke it any time.
How does the board stay current?
A small script fetches the source and posts a tile only when its body changes. A quiet tile is fine: nothing changed. A stale tile means the agent stopped checking. Fifteen minutes after a tile goes stale it leaves the board, and it comes back on the next post.
Why did a tile leave the board?
Three reasons. A progress tile with every row finished leaves 5 minutes later. A status tile set to done leaves 5 minutes later. A stale tile leaves 15 minutes after it goes stale. The next post brings it back.