Guide
Cursor Automations Guide
Cursor's June 2026 Automations update added /automate, Slack emoji triggers, five GitHub triggers and computer use for cloud-agent automations. It also made automations easier to save through MCP auth, open PRs by default and clean up outdated memory files.
On this page
- What changed in Cursor Automations, June 2026?
- How should a team use Cursor Automations?
- What should stay bounded?
- What is an automation made of?
- What do good recurring automations actually look like?
- Why prove the workflow by hand before you automate it?
- Should the trigger be a schedule or an event?
- What goes wrong with automation memory over time?
What changed in Cursor Automations, June 2026?
Cursor's June 2026 Automations update added /automate, Slack emoji triggers, five GitHub triggers and computer use for cloud-agent automations. It also made automations easier to save through MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. auth, open PRs by default and clean up outdated memory files.
- Release fact
- /automate
- Why it matters
- Create an automation from a local agent session in plain language.
- Release fact
- Slack emoji trigger
- Why it matters
- React to a Slack message with a configured emoji to start an automation.
- Release fact
- GitHub triggers
- Why it matters
- Issue comment, PR review comment, PR review submitted, Review thread updated and Workflow run completed can now trigger work.
- Release fact
- Computer use
- Why it matters
- Cloud agents started by automations can produce demos, screenshots or artifacts.
- Release fact
- Memory and PR defaults
- Why it matters
- Incomplete saves, PR creation defaults and memory-file cleanup reduce setup friction.
| Release fact | Why it matters |
|---|---|
| /automate | Create an automation from a local agent session in plain language. |
| Slack emoji trigger | React to a Slack message with a configured emoji to start an automation. |
| GitHub triggers | Issue comment, PR review comment, PR review submitted, Review thread updated and Workflow run completed can now trigger work. |
| Computer use | Cloud agents started by automations can produce demos, screenshots or artifacts. |
| Memory and PR defaults | Incomplete saves, PR creation defaults and memory-file cleanup reduce setup friction. |
As of July 9, 2026. See the linked Cursor sources for the latest details.
This is covered hands-on in Automations, Security Agents and Approval Agents — 4 short modules, free to read.
How should a team use Cursor Automations?
Knowing what shipped is the easy part. Turning Cursor AutomationsA cloud agent set to run on a schedule or an event trigger; each one is a trigger plus an instruction plus the tools it may use. Press Enter for the full definition. into something a team relies on takes a few deliberate steps, mapped below.
- 1Prove the workflow manually once in a local agent session.
- 2Use
/automateor a Marketplace template to draft the trigger, tools and instructions. - 3Choose the narrowest Slack, GitHub, webhook or schedule trigger that carries enough context.
- 4Review the first runs for noise, PR quality, memory behavior and permission creep.
What should stay bounded?
New capability comes with new ways to get it wrong. Keep these boundaries in place as you adopt it.
Define no-op behavior so low-signal comments or emoji reactions do not create noisy PRs.
Treat MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. auth, Slack access and GitHub write access as separate permission reviews.
Review automation memory files periodically and delete stale memories when they can steer future runs badly.
What is an automation made of?
An automation is just a cloud agent that runs on a schedule or in response to an event. Under the hood it is exactly three parts.
A schedule (cron) or an event - a GitHub/GitLab PR, a Slack message, a Linear issue, or a generic webhook.
The agent prompt and steps - effectively a skill scoped to this one automation.
The actions it may take - open a PR, post in Slack - scoped to least privilege.
The trigger catalog
- Trigger
- GitHub / GitLab
- Fires on
- PR opened, pushed or commented; generic git push.
- Trigger
- Slack
- Fires on
- New message in a channel, or a channel created.
- Trigger
- Linear
- Fires on
- Issue created or updated.
- Trigger
- PagerDuty
- Fires on
- Incident paged.
- Trigger
- Webhook
- Fires on
- The universal escape hatch - any tool that can send a webhook can fire an automation, with whatever payload you choose.
| Trigger | Fires on |
|---|---|
| GitHub / GitLab | PR opened, pushed or commented; generic git push. |
| Slack | New message in a channel, or a channel created. |
| Linear | Issue created or updated. |
| PagerDuty | Incident paged. |
| Webhook | The universal escape hatch - any tool that can send a webhook can fire an automation, with whatever payload you choose. |
All triggers take allow-list filters (specific people, channels, keyword or regex) so they don't fire on everything.
An automation never merges directly - it always produces a human-reviewed PR, and the person clicking merge is accountable.
The only genuinely new attack vector is who can trigger one: don't wire people who shouldn't reach your code (e.g. everyone in a Slack channel) to a code-touching automation.
The recommended first automation is Summarize Changes Daily - a Slack engineering digest of notable repo changes, posted every morning. It is the stickiest automation Cursor measured at 89% retention, and it touches nothing it shouldn't.
What do good recurring automations actually look like?
Treat an automation as an always-running agent on a schedule (every Monday) or a first-party trigger (a GitHub PR opened, a Slack channel created, a new message in a watched channel). They default to memory, so each run can look at prior runs, and you attach connectors inline when you set them up - one growth engineer authenticated Granola and Slack live, then fired a test run.
Even when the task touches no code at all - say, reading meeting notes out of Granola - the automation still has to be connected to GitHub today.
Plan around it: it is a setup requirement, not a sign the automation needs to write code.
Worked example: a self-maintaining knowledge base
Cursor's finance team runs an AI ticketing system (Console) that depends on a detailed knowledge base. They built that KB by having Cursor scrape roughly six months of Slack history through the Slack MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. - learning what was asked, how it was answered, and whether it resolved well. Then they wired an automation that runs every 28 days, reviews the prior 28 days of channel messages, and proposes new KB additions: it drops a Slack message saying what it found and asks you to approve.
An approval gate keeps a human in the loop, but the agent does the part nobody ever finds time for - reliably, forever.
That's something that like you'd ask someone to do and they would just never do it... It would fall to the bottom of the priority list.
- Bug-report triage - an agent files reports to Linear, dedupes, auto-upvotes when many people flag the same thing, and follows up asking users for screenshots or repro steps.
- Doc consolidation on merge - on every PR merge, a Haiku-4.5 cloud agent reads the changed code, updates docs under
/docs, then Slacks the result to a private channel. - On-call rescue - a PagerDuty trigger fires a cloud agent at incident time, so instead of being paged at 2am you wake up to a fix already in flight and just review the PR.
- The fun one - a daily "what do you want for dinner" agent that creates a DoorDash group order in a food channel.
The point isn't the alert. It's that the work has already started before you open your laptop.
Back in my days at Amazon, I get woken up at 2am, 3am. If we had Cursor, I'd roll out of bed and see that the cloud agent is already working on it and already has it fixed.
Why prove the workflow by hand before you automate it?
Because with /automate the manual run is the input, not a rehearsal. You create the automation from a local agent session in plain language, so whatever the agent understood in that session is what gets promoted into the trigger, the instruction and the tool list. A session where you quietly corrected it twice produces an automation that has never once run without you.
The failure mode is not a broken automation. It is a working one whose instruction was thinner than you thought, firing on schedule and opening a plausible pull request every time.
That costs more than it looks like it costs, because the damage is to attention rather than to code. An automation never merges on its own, so every run lands in front of a human, and after the fourth low-signal PR that human starts skimming anything from this bot. The review is nominally happening and nobody is reading. Define no-op behaviour up front, so a low-signal comment or emoji produces nothing at all, and the output stays worth opening.
Should the trigger be a schedule or an event?
A schedule fires at a rate you chose. An event fires at a rate your organisation chose, and that difference decides most of the design. Start with a schedule for anything whose value is a summary, and reserve event triggers for cases where the timing is the point: a PagerDuty incident is worth waking an agent for, a fourth comment on an issue thread usually is not.
The five GitHub triggers added in June sharpen this. Issue comment, PR review comment, PR review submitted, review thread updated and workflow run completed are all events that happen constantly on an active repo. That is not an argument against them, and it is why every trigger takes allow-list filters for specific people, channels, a keyword or a regex. Fire on a named reviewer's comments and you have a useful automation; fire on all comments and you have a queue.
Team size moves this line more than anything else. On a small repo an issue-comment trigger might go off twice a day, and you can watch every run. Across a monorepo with a couple of hundred engineers the same configuration is a different product, and the allow-list stops being an optimisation.
Which is roughly why Summarize Changes Daily is the recommended starting point. It is scheduled, it reads rather than writes, and Cursor measured it at 89% retention, so the boring one is also the one people keep.
What goes wrong with automation memory over time?
It accumulates without review. Automations default to memory so each run can look at what earlier runs found, and that is exactly the mechanism that lets a monthly review automation build on itself instead of starting cold. The same mechanism means a conclusion written during one bad run is indistinguishable, later, from one written during a good run.
So an automation that has been running for four months carries a small pile of decisions nobody signed off. Cursor's guidance is to review the memory files periodically and delete the stale ones when they could steer future runs badly, and the June update added memory-file cleanup partly for that reason.
I'd put the memory files on the same review cadence as the automation's own output, whatever that turns out to be for you. Reading the PRs tells you what it did last week. Reading the memory tells you what it now believes, and those two questions drift apart faster than you would expect from something that looked correct when you set it up.
Frequently asked questions
Who is this guide for?
Developers, DevEx teams and engineering managers turning repeated Cursor work into always-on workflows.
What should I do next?
Start with one real repo task, capture the prompt and review the result before scaling the workflow.
How do I stop two automations colliding?
Use the persisted memory tool as a cross-run lock. Prompt each automation run to write a memory file when it starts on a problem; later runs that see the file abort early instead of duplicating the work. This is how teams keep a swarm of CI-fix agents from all chasing the same break.
Sources & last verified
- Cursor changelog: Improvements to Cursor Automations
- Cursor changelog
- Cursor changelog: Cloud Environment Setup and Cloud Subagents
Cursor ships frequently. Facts verified against primary sources on July 9, 2026.
Keep reading
Rather do it than read about it? Run 11 interactive Cursor walkthroughs in a simulated editor. Free, no account needed.