Edit Github Agent hardcoded prompt

Hey, thanks for the report. I can see the screenshot with the prompt, and yeah, “take action if needed” is way too broad when you only want analysis.

Right now you can’t directly override the hardcoded prompt for the GitHub and Linear integrations. But there are two options that can help:

  1. AGENTS.md
    Cloud Agents read AGENTS.md from the repo. It won’t replace the system prompt, but it adds extra instructions the agent will follow. You can put something like “only comment, never modify PR descriptions or push commits unless explicitly asked”. Docs: Rules | Cursor Docs

  2. Automations with GitHub triggers
    These give you full control over the prompt, MCP tools, and scope. The downside is triggers run on events like PR created or comment added, not via @cursor mentions. If your workflow can adapt, this gives you the customization you want. Docs: Automations | Cursor Docs

A similar request already came up for the Linear integration: Can't customize Prompt for Linear agent

I passed this to the team. A customizable prompt for integrations is a reasonable request, especially for “analysis only” workflows.

1 Like