# Allow Cloud Agents to submit PRs to any repository within the org

**URL:** <https://forum.cursor.com/t/allow-cloud-agents-to-submit-prs-to-any-repository-within-the-org/173435>\
**Category:** Feature Requests\
**Tags:** github, cloud-agents\
**Created:** [September 30, 2026, 7:18pm UTC](https://forum.cursor.com/t/allow-cloud-agents-to-submit-prs-to-any-repository-within-the-org/173435 "2026-09-30T19:18:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Branden\_Visser](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@Branden\_Visser](https://forum.cursor.com/u/Branden_Visser)\
**Post date:** [September 30, 2026, 7:18pm UTC](https://forum.cursor.com/t/allow-cloud-agents-to-submit-prs-to-any-repository-within-the-org/173435/1 "2026-09-30T19:18:36Z")

</div>

### Feature request for product/service

Cloud Agent (GitHub, Slack, Linear,…)

### Describe the request

When I used Claude Code’s cloud agent. I could start work on a repo, then say “Oh yea I need to do this, submit a PR over there”. It could then find that repo (in the same organization), clone it, do the work, push a branch, submit a PR, subscribe to events on the PR and automatically follow-up on review feedback. It cannot do this cross-org.

Cursor is disappointingly limited in this regard. You can create “multi-repo environment”, but you can’t add a repo later. You can set repositoryDependencies but that doesn’t give access to submit PRs.

I created a GITHUB\_TOKEN for it to fall back to in these scenarios, but it seems its own prompting forbids use of gh do this and it refuses.

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [September 30, 2026, 8:36pm UTC](https://forum.cursor.com/t/allow-cloud-agents-to-submit-prs-to-any-repository-within-the-org/173435/6 "2026-09-30T20:36:46Z")

</div>

Hey @Branden_Visser, thanks for writing this up.

A Cloud Agent can open pull requests on any repo that is a full repository in its multi-repo environment. Repos listed only under `repositoryDependencies` are there for the agent to read and work in, but opening PRs on them isn’t supported. Include the second repo when you create the environment: [Cloud Environment Setup | Cursor Docs](https://cursor.com/docs/cloud-agent/setup#multi-repo-environments)

You also can’t add a repository to an environment after it exists, or have a running agent pick up another repo in the org partway through a session. GitHub access stays scoped to the repos in that environment, which is why a `GITHUB_TOKEN` isn’t used for `gh` writes.

Once a PR is open, ask the agent to watch it. It can follow review comments and CI on its own: [Capabilities | Cursor Docs](https://cursor.com/docs/cloud-agent/capabilities#subscriptions)

We’ve let the team know about pulling in any repo in the org during a session.

---

<div class="post-metadata">

**Author:** ![Branden\_Visser](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@Branden\_Visser](https://forum.cursor.com/u/Branden_Visser)\
**Post date:** [September 30, 2026, 8:41pm UTC](https://forum.cursor.com/t/allow-cloud-agents-to-submit-prs-to-any-repository-within-the-org/173435/7 "2026-09-30T20:41:43Z")

</div>

Thanks for confirming what can and can’t be done. Hopefully this feature can be improved, because it’s the biggest gap we’ve experienced from Claude Code’s cloud agents. About half my team refuse to switch because of the multi-repo limitations you confirmed.
