Linear GitHub integration: send new GitHub issues to Linear

When someone opens an issue in your GitHub repo, a Linear issue is created in the right team with a summary, and each issue links to the other.

Using Corsair, whenever a new issue is opened in our GitHub repo acme/api, create a Linear issue in the Platform team with the same title, a one-line summary and a link to the GitHub issue. Then comment on the GitHub issue with the Linear link.

Runs on its own: when a GitHub issue is opened

How to run it

  1. 1

    Connect GitHub and Linear in Corsair

    Sign in to each app once. Corsair keeps the credentials and makes the calls, so your agent never sees a password or key.

  2. 2

    Add Corsair's MCP server to your agent

    Claude, ChatGPT, Cursor and Claude Code use the same address:

    https://mcp.corsair.dev/mcp

    Steps for each client

    ChatGPT personal plans get read tools only, and this prompt sets up a routine. On those plans, use Claude, Cursor or Claude Code instead.

  3. 3

    Paste the prompt

    Your agent hands it to Corsair as a routine. Corsair builds and tests it, then runs it on its own: when a GitHub issue is opened. Change the names in it (channels, repos, teams, time zone) to your own.

Why the prompt is written this way

Name the repo and the team

"acme/api" and "the Platform team" leave nothing to guess. Use your own names.

Link both ways

The comment on GitHub tells the reporter where the work is tracked; the link in Linear takes engineers back to the report.

Add your own rules

For example: "only issues labeled bug", or "set priority to urgent if the title says crash".

Tools it calls

The Corsair tools your agent uses for this job. Writes follow your link's mode: on a Strict link, each one waits for your approval.

AppToolUsed toAccess
GitHubGetissues.getReads the new issueRead-only
LinearListteams.listFinds the Platform teamRead-only
LinearCreateissues.createCreates the Linear issueWrite
GitHubCreate Commentissues.createCommentPosts the Linear link on GitHubWrite

Good to know

  • Linear's built-in GitHub integration links pull requests to issues. Use this when you want your own rules for which GitHub issues become Linear work.
  • It runs for repos the GitHub account you connected can read.

More use cases

Questions

Yes. "Whenever a new issue is opened" becomes a routine that starts on GitHub's issue event. Corsair receives the event and runs the steps, with no chat open.

Yes, as a one-off: ask "create Linear issues for the open GitHub issues in acme/api labeled bug" without the "whenever" part.