ailinks:

GitHub Copilot/new-session

Start a session

Opens the new-session dialog with the repository, mode and kickoff prompt filled in.

macos · windows · linux · sign-in required · updated 2026-07-13

Format

ghapp://session/new?repo={repo}&mode={mode}&prompt={prompt}

Try it

ghapp://session/new?repo=octocat%2FHello-World&mode=interactive&prompt=Investigate%20failing%20testsOpen

What you supply

{repo}

Repository as OWNER/REPO.

Encode the slash — octocat%2FHello-World.

{mode}optional

How the agent should work once the session opens.

One of plan, interactive, autopilot

{prompt}optional

Text to open the session with.

URL-encode it. It ends up in a URL, so keep secrets out of it.

The dialog asks before it creates anything, so the link is a proposal rather than an act.

Two more parameters narrow what the session starts from: pr={number} and branch={name}. They are mutually exclusive — a link carrying both is a link you have to guess about.

ghapp://session/new/{owner}/{repo} puts the repository in the path instead, which makes repo optional and the link easier to read.

Wrapped for a browser, the example above becomes:

https://github.com/copilot/app/launch?open=ghapp%3A%2F%2Fsession%2Fnew%3Frepo%3DOWNER%252FREPO%26mode%3Dinteractive%26prompt%3DInvestigate%2520failing%2520tests

Note %252F and %2520 — everything is encoded twice, once for the app link and once for the launcher that carries it.

Also seen in the wild

  • ghapp://session/new/{owner}/{repo}