awesome-copilot icon indicating copy to clipboard operation
awesome-copilot copied to clipboard

[External Plugin]: pocket-pilot

Open mithawala opened this issue 2 months ago • 4 comments

Plugin name

pocket-pilot

Short description

Control your GitHub Copilot app and CLI sessions from your phone: same history, live replies, chat, approvals and questions. Pair from a Copilot canvas with a QR code; end-to-end encrypted through a free Cloudflare quick tunnel, with passkeys or authenticator codes and push notifications.

GitHub repository

mithawala/pocket-pilot

Plugin path inside the repository

copilot-plugin

Ref to review

v0.7.8

Commit SHA to review

a9070b19e3c7feecf0255b8f80637d17bea31373

Version

0.7.8

License identifier

LicenseRef-PolyForm-Shield-1.0.0

Author name

Asif Mithawala

Author URL

https://mithawala.com

Homepage URL

https://mithawala.github.io/pocket-pilot/

Keywords

canvas, remote-control, mobile, phone, pwa, notifications, approvals, remote, tunnel

Additional notes for reviewers

What it is. Pocket Pilot lets you follow and control the chats in the GitHub Copilot app and the Copilot CLI from your phone. Type /pocket-pilot or ask it to "pair my phone". In the app, the Pocket Pilot canvas opens next to the chat with a QR code, the connection status and the paired devices; the CLI opens the same page in the browser. The QR code opens a static web app (on GitHub Pages, with no backend) that shows the chats open on the PC:

  • the same history and live replies;
  • tool approvals and the agent's questions;
  • model and mode switches;
  • new sessions on the PC;
  • push notifications.

What it installs

  • One extension, com.github.copilot/extensions/pocket-pilot. It provides the canvas and a pocket_pilot tool with three actions: pair, status and off.
  • The /pocket-pilot skill. The extension writes it to the user's skills folder, ~/.copilot/skills/pocket-pilot/SKILL.md (the folder skills.getDiscoveryPaths returns), instead of shipping a skills/ folder in the plugin. On Windows, VS Code keeps the skills/ folder of every installed Copilot plugin open, and the app then can't move the plugin's folder to update it (Access is denied, os error 5).
    • The file carries a marker line. The extension only rewrites a file that has that marker, never one the user wrote or edited.
    • The README says how to remove it.
  • Its own state in ~/.pocket-pilot/copilot: keys and paired devices, readable only by the user. Once remote access is turned on, that folder also holds the official cloudflared binary, downloaded from Cloudflare's GitHub releases and checksum-verified.

Free, with no service behind it. No account, no paid tier, no telemetry and no server run by us. The phone talks to the user's own PC through a Cloudflare quick tunnel, which doesn't need a Cloudflare account.

How it differs from Copilot's built-in remote control (/remote on)

The two solve a similar problem in different ways, and they work side by side: a session with /remote on also shows up in Pocket Pilot.

/remote on Pocket Pilot
Turning it on Per session, with /remote on or copilot --remote. Pair a phone once. Every chat open in the Copilot app or CLI shows up, including ones started later.
Where the session goes Session events are sent to GitHub and synced to the user's GitHub account. Straight from the phone to the PC, end-to-end encrypted. The tunnel only relays ciphertext, and nothing is stored in a cloud.
On the phone GitHub Mobile and github.com, signed in with GitHub. An installable web app for iPhone and Android, which also works in any desktop browser. The phone never signs in to GitHub.
New work from the phone Runs as a cloud agent on GitHub. Starts a new session on the user's own PC: folder, model, mode and approvals.
Inside a session Progress, steering and queued messages, approvals, questions, mode switches, stop. The same, plus the model with its thinking level and context size, photo and file attachments, screenshots pasted on the PC, and dictation.
Work accounts For Copilot Business and Enterprise, an admin enables it with the Store local sessions in the Cloud policy. Nothing to enable at GitHub, but company policies still apply. If an organization has turned remote control off, Pocket Pilot is not a way around that, and the README says so.
Where Copilot runs The CLI in a terminal, VS Code or JetBrains. The Copilot app and the CLI, plus VS Code's agent sessions through a separate VS Code extension.

There's a fuller comparison at https://mithawala.github.io/pocket-pilot/#compare

Security

  • Opt-in. Remote access is off until the user turns it on, and /pocket-pilot asks for confirmation first. Turn off remote access in the canvas, or /pocket-pilot off, closes the tunnel.
  • Pairing. The QR code works once, expires after 10 minutes and pins the PC's public key. Every new device has to be allowed on the PC.
  • Second factor. Every device confirms with a passkey (WebAuthn) or a TOTP code. Repeated wrong codes lock the device out, for 15 minutes at first and doubling up to 24 hours.
  • Encryption. Traffic is end-to-end encrypted between the phone and the PC with static and ephemeral ECDH P-256, HKDF-SHA-256 and AES-256-GCM, so Cloudflare only relays ciphertext. The relay binds to 127.0.0.1 and cloudflared connects out, so no inbound ports are opened.
  • No automatic approvals. Tool calls still wait for the user to click Allow, on the phone or on the PC.
  • Credentials. The phone never signs in to GitHub, and the pocket_pilot tool never gives the pairing link to the model. An optional auto-reconnect keeps the current tunnel address, encrypted, in a secret gist on the user's own account, using the GitHub CLI's sign-in; it can be turned off.

License. Source-available under PolyForm Shield 1.0.0. Anyone can use it for free, including at work; the only thing it forbids is building a competing product from the code.

Testing

  • 132 automated tests.
  • An end-to-end run against the real Copilot runtime with a real model covers:
    • pairing;
    • mirrored history, including a picture pasted on the PC;
    • approving a shell command and answering a question from the phone;
    • a session started from the phone;
    • mode and model switches;
    • steering a running agent;
    • another chat taking over;
    • updating the plugin while it runs;
    • /pocket-pilot status and /pocket-pilot off through the skill.
  • v0.7.8 passes this repository's intake and quality gates when run locally: spec compliance, vally lint, install smoke test, version match, ref/SHA consistency and canvas structure.

Submission checklist

  • [x] The plugin lives in a public GitHub repository.
  • [x] The ref and/or sha I provided is immutable (release tag and/or full 40-character commit SHA), not a branch.
  • [x] This submission follows this repository's contribution, security, and responsible AI policies.
  • [x] This plugin is not already listed in the Awesome Copilot marketplace.

mithawala avatar Sep 30 '26 18:09 mithawala

🟡 Contributor Reputation Check: MEDIUM risk

Check Risk
Profile MEDIUM
Credential audit NONE

Maintainers: please review this contributor before merging. See the workflow run for full details. Automated check powered by AGT.

github-actions[bot] avatar Sep 30 '26 18:09 github-actions[bot]

✅ External plugin intake passed

This submission passed automated intake validation and quality checks and is ready for maintainer review.

View workflow run · Download full quality gate logs

Reviewer signals

These are non-blocking heuristics for maintainer review; they are not evidence of misconduct or low quality.

Signal Result
Repository age 2 day(s)
Repository activity repository is 2 day(s) old; 0 stars; 0 watchers; 0 forks
Repository counts 0 stars · 0 watchers · 0 forks · 0 open issues/PRs
Homepage heuristics no configured signal

Quality gate summary

Legend: ✅ pass · ⚠️ warning · 🛑 fail

Gate Status
spec compliance (non-blocking) ✅ pass
vally lint ✅ pass
install smoke test ✅ pass
version match ✅ pass
ref/sha consistency ✅ pass
canvas structure ✅ pass
  • spec compliance: pass
  • vally lint: pass
  • install smoke test: pass
  • version match: pass
  • ref/sha consistency: pass
  • canvas structure: pass
  • overall: pass
spec compliance output (✅ pass)
Agent Plugins v1.0.0 manifest checks passed for plugin.json.
vally lint output (✅ pass)
0 skill(s) linted
install smoke test output (✅ pass)
Install smoke test succeeded. Verified /tmp/external-plugin-quality-KEPV0d/copilot-home/.copilot/installed-plugins/external-plugin-intake/pocket-pilot/plugin.json.
Version match output
- v0.7.8: matched version "0.7.8" at "copilot-plugin/plugin.json".
- a9070b19e3c7feecf0255b8f80637d17bea31373: matched version "0.7.8" at "copilot-plugin/plugin.json".
Ref/SHA consistency output
source.ref "v0.7.8" resolves to the same commit as source.sha "a9070b19e3c7feecf0255b8f80637d17bea31373".
Canvas structure output
- v0.7.8: found "copilot-plugin/com.github.copilot/extensions" with entry point "copilot-plugin/com.github.copilot/extensions/pocket-pilot/extension.mjs".
- a9070b19e3c7feecf0255b8f80637d17bea31373: found "copilot-plugin/com.github.copilot/extensions" with entry point "copilot-plugin/com.github.copilot/extensions/pocket-pilot/extension.mjs".

Canonical external.json payload

{
  "name": "pocket-pilot",
  "description": "Control your GitHub Copilot app and CLI sessions from your phone: same history, live replies, chat, approvals and questions. Pair from a Copilot canvas with a QR code; end-to-end encrypted through a free Cloudflare quick tunnel, with passkeys or authenticator codes and push notifications.",
  "version": "0.7.8",
  "author": {
    "name": "Asif Mithawala",
    "url": "https://mithawala.com"
  },
  "repository": "https://github.com/mithawala/pocket-pilot",
  "homepage": "https://mithawala.github.io/pocket-pilot/",
  "license": "LicenseRef-PolyForm-Shield-1.0.0",
  "keywords": [
    "canvas",
    "remote-control",
    "mobile",
    "phone",
    "pwa",
    "notifications",
    "approvals",
    "remote",
    "tunnel"
  ],
  "source": {
    "source": "github",
    "repo": "mithawala/pocket-pilot",
    "path": "copilot-plugin",
    "ref": "v0.7.8",
    "sha": "a9070b19e3c7feecf0255b8f80637d17bea31373"
  }
}

github-actions[bot] avatar Sep 30 '26 18:09 github-actions[bot]

/reject Copilot already has remote control built in, which you do acknowledge in the comparison table, but what it fails to reconcile is that this would be a way to allow users to bypass org-level policies controlling access to remote sessions.

aaronpowell avatar Oct 13 '26 05:10 aaronpowell

❌ External plugin rejected

A maintainer rejected pocket-pilot, and the submission issue has been closed.

Reason

Copilot already has remote control built in, which you do acknowledge in the comparison table, but what it fails to reconcile is that this would be a way to allow users to bypass org-level policies controlling access to remote sessions.

This issue is now closed and /rerun-intake will no longer reopen it. If you address the feedback, please open a new external plugin submission issue.

github-actions[bot] avatar Oct 13 '26 05:10 github-actions[bot]