Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GistPilotNew to Visual Studio Code? Get it now.
GistPilot

GistPilot

coderbro

|
132 installs
| (2) | Free
Browse, open, create, and manage GitHub Gists in VS Code, with optional sync on save and AI summaries.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GistPilot

Browse, open, and manage GitHub Gists from Visual Studio Code.

GistPilot lets you keep snippets on GitHub, open them in your current editor window, and optionally sync edits when you save.

Install from the VS Code Marketplace · Report a problem

Quick start

  1. Install GistPilot in VS Code.
  2. Open the Command Palette with Ctrl+Shift+P (Cmd+Shift+P on macOS).
  3. Run GistPilot: Set GitHub Token and enter your GitHub personal access token.
  4. Run GistPilot: Open Gist Explorer. Your gists appear in the sidebar.
  5. Click a gist to open its files in the current window.

Use the sidebar refresh button or GistPilot: Refresh Gists to reload the list.

Create a GitHub token

For a classic personal access token:

  1. Open GitHub → Personal access tokens.
  2. Choose Generate new token (classic), give it a name, and choose an expiration.
  3. Select the gist scope, then generate and copy the token.
  4. Enter it through GistPilot: Set GitHub Token.

The extension stores your GitHub token in VS Code SecretStorage. Run GistPilot: Clear GitHub Token to remove it. Your GitHub token is for gist access; it is separate from any AI API key.

GitHub's gist API authentication documentation

Open a gist

Click a gist in the sidebar, or run GistPilot: Open Gist by ID and enter its ID.

In a URL such as https://gist.github.com/username/abc123, the ID is abc123. Enter the ID, rather than the full URL.

Files open as editor tabs by default. They are downloaded copies stored in the extension's persistent local storage. Your current project stays open.

To open gists as folders in a separate window, change Open Gist: Open Mode in Settings to newWindow, or add:

"open-gist.openMode": "newWindow"

GistPilot represents nested paths with ...: src...main.ts opens as src/main.ts.

Create and update gists

Open a text file and run GistPilot: Create New Gist. Enter a description and choose visibility. The gist ID is copied to your clipboard.

The Private option in the prompt creates a GitHub secret gist. Treat its URL as shareable information, rather than private storage.

Command What to enter or select
GistPilot: Add File to Gist Gist ID, then a local text file
GistPilot: Upload Folder to Gist Gist ID, then a folder of text files
GistPilot: Remove File from Gist Gist ID, then the exact GitHub filename, including ... for nested files
GistPilot: Delete Gist Gist ID; this deletes the remote gist

Folder uploads read files as text. Use them for source code and notes, rather than binary files.

Save and sync

Auto-sync is off by default. Saving a downloaded file changes the local copy only.

Run GistPilot: Toggle Auto Gist Sync, or use the status-bar toggle, to enable it. With auto-sync enabled, saving a file downloaded by GistPilot sends its contents to GitHub using your token. You need permission to edit that gist.

Opening a gist again downloads the remote files over the cached disk copies. Save and sync edits you want to keep before reopening it. Auto-sync updates existing downloaded files; it does not automatically add or delete remote files.

Additional tools

These commands are available from the Command Palette:

Command Current behavior
GistPilot: Fork Current Gist Prompts for an ID, creates a fork, and copies its new ID
GistPilot: Star/Unstar Gist Prompts for an ID and toggles its star
GistPilot: Follow GitHub User Prompts for a username, lists public gists, and copies a selected gist ID; records the username locally
GistPilot: Share Gist via QR Code Shows a QR code for a gist URL and copies the URL
GistPilot: Export Gist as ZIP Downloads gist text files into a ZIP archive
GistPilot: Import Gist from ZIP Creates a public gist from ZIP entries read as text; requires a GitHub token
GistPilot: New Scratch Note Creates a local Markdown file in your workspace's scratch folder
GistPilot: Paste Image to Gist Reads image data-URL text from the clipboard; inserts inline base64 or saves an image locally, without uploading it to GitHub
GistPilot: Open Code Playground Opens generated HTML source from a folder's HTML, CSS, JavaScript, and README files; it is not a live rendered preview

ZIP export currently uses an unauthenticated download and does not fetch complete content for truncated API responses. Use ZIP tools for small text gists. Open a workspace before using scratch notes or local image saving.

Optional AI summaries

Run GistPilot: Summarize This Gist with a file open. It summarizes the active file, even if that file is not part of a gist.

Choose OpenAI or Gemini, enter your provider's API key if prompted, and choose an available model. This sends the active file's text to the selected provider. Provider access and usage charges are separate from GistPilot.

Keys entered at the prompt are not persisted by the extension. Keys saved under open-gist.openaiApiKey or open-gist.geminiApiKey are stored in VS Code settings, rather than SecretStorage.

Troubleshooting

  • Empty sidebar: set a GitHub token and run GistPilot: Refresh Gists. Check that the token has not expired.
  • Cannot edit or sync: check token permissions and that your account owns the gist or has the required access.
  • Gist will not open: enter its hexadecimal ID. Check network access to GitHub and read the error shown by VS Code.
  • AI summary fails: check your provider key, account access, and selected model. Older default model names may no longer be available.

For a bug report, include your OS, VS Code version, extension version, the command used, and the error message. Leave out tokens, API keys, and private file contents.

Development

npm ci
npm run compile
npm run test:regression

The regression suite uses mocked VS Code and GitHub responses. Live extension-host testing is still needed for release validation.

License

Apache License 2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft