Overview
Start a Cursor cloud agent from a Slack thread or a pull request to bring the docs in a repository in line with a recent code change, then review its branch before anything merges.
Problem or Objective
- Which agents take on multi-step tasks in the background and report back when they finish or need approval?
- Which agents can draft a document section by section and save it in a reusable, structured format?
- Which agents track commitments, follow-ups and status across a team’s tools?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Cursor · Slack · GitHub
- Prerequisites
- A Cursor plan that includes Cloud Agents (Premium and higher, Teams, Enterprise, or a legacy paid plan), source control connected by a Cursor admin, and the Cursor Slack app installed by a workspace admin if you start agents from Slack.
How It Works
Have a Cursor admin connect your source control and install the Cursor Slack app. When a code change lands or a Slack discussion settles a behaviour, mention @cursor in the thread, or comment @cursor on the pull request, and ask the agent to find the README sections, guides and code comments that describe that area and update them to match the current code. Ask it to list each file it changed with one line on why, and to flag anything it could not confirm from the code. The agent works on its own branch in a cloud machine and pushes it for handoff. Read the diff, run any docs build or example check you have, and merge only after a person has approved it.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Cursor.
- Connect the toolsConnect the tools this workflow relies on: Cursor, Slack, GitHub.
- Check the prerequisitesA Cursor plan that includes Cloud Agents (Premium and higher, Teams, Enterprise, or a legacy paid plan), source control connected by a Cursor admin, and the Cursor Slack app installed by a workspace admin if you start agents from Slack.
- Gather your detailsCollect what the prompt asks for: Repository with the code and docs, Pull request or commit that changed the behaviour, The part of the product that changed.
- Run the starter promptPaste the starter prompt below into Cursor and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at cursor.com before you rely on it.
Practical Starter Prompt: Update the docs for a code change
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
@cursor In [Repository with the code and docs], the change in [Pull request or commit that changed the behaviour] altered how [The part of the product that changed] works. Find every README section, guide and code comment that describes it and update them to match the current code. Work on a new branch and open a pull request; do not merge. In the pull request, list each changed file with one line on why, and flag anything you could not confirm from the code. A person will review and approve before merging.Check each changed sentence against the code and run any docs build you have. The agent only opens a pull request; a person approves and merges it.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Cursor's Cloud Agents page says the agents clone the repository, work on a separate branch, push changes for handoff, produce merge-ready pull requests, and can be started from Slack, Linear, or an @cursor comment on a GitHub pull request or issue. It does not describe documentation upkeep as such, so the quality of the updated docs depends on your instructions and your review.
Limitations and Considerations
The page does not describe documentation work as such, so check each changed statement against the code before merging. Keep merge rights with a person. Cloud agents use your plan's usage at the selected model's rate (on legacy request-based plans, API rates plus the Max Mode upcharge), you set a spend limit the first time, and Free and Plus plans do not include them. Check whether your docs live in the same repository; a separate docs site may need its own access. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Cloud Agents | Cursor Docs (opens in a new tab)
Project documentation · cursor.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Cloud agents clone your repo from GitHub, GitLab, Azure DevOps Services, or Bitbucket Cloud and work on a separate branch, then push changes to your repo for handoff.
- Cloud agents produce merge-ready PRs with artifacts to demo their changes.
- Agents can be kicked off with the @cursor command in Slack or Linear, or by commenting @cursor on a GitHub PR or issue or a Bitbucket PR.
- You need a plan that includes Cloud Agents: Premium and higher, Teams, Enterprise, or a legacy paid plan; Free and Plus don't include them.
- Cloud Agents use your plan's usage like other agent work, at the selected model's rate; on legacy request-based plans they're priced at API rates plus the Max Mode upcharge, and you'll be asked to set a spend limit when you first start using them.