Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>AI Context CopierNew to Visual Studio Code? Get it now.
AI Context Copier

AI Context Copier

sacro

| (0) | Free
Your AI tells you exactly which files it needs. AI Context Copier gets them into your clipboard in one click — no manual opening, no tab switching, no repetition.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Context Copier

Your AI tells you exactly which files it needs. AI Context Copier gets them into your clipboard in one click.

No manual opening. No tab switching. No copying file by file. Just paste the paths your AI mentioned, click once, and every file's content is ready to paste — formatted as clean markdown, instantly.

Works with ChatGPT, Claude, Gemini, DeepSeek, Grok, GitHub Copilot, and any AI assistant.


The Problem

Your AI assistant says:

"Edit these files: src/handlers/callbackHandler.js, src/messageHandler.js, src/utils/queue.js"

You then have to:

  1. Open each file manually
  2. Copy the content
  3. Paste it into the chat
  4. Repeat for every file

That's 5–10 minutes of friction per session.


The Solution

  1. Set your project root once (saved permanently)
  2. Copy the file paths from your AI chat
  3. Paste them into AI Context Copier
  4. Click ⚡ Copy Context
  5. Paste directly into any AI assistant

Done in 5 seconds.


Features

  • ✅ Works with ChatGPT, Claude, Gemini, DeepSeek, and any AI tool
  • ✅ Paste multiple file paths at once (one per line)
  • ✅ Folder paths supported — recursively includes all files
  • ✅ Auto-formatted as clean markdown with file headers
  • ✅ Automatically skips node_modules, .git, dist, build
  • ✅ Browse button to pick files visually
  • ✅ Project root saved across sessions
  • ✅ Works with relative or absolute paths

Usage

Open the panel

  • Command Palette → AI Context Copier: Open Panel
  • Or use the keyboard shortcut: Ctrl+Shift+X then Ctrl+Shift+C
  • Or right-click any file/folder in the Explorer → AI Context Copier: Open Panel

First time setup

On first launch, you'll be asked to select your project root folder. This is saved permanently — you only do this once.

Copy context

  1. Ask your AI assistant (ChatGPT, Claude, Gemini, etc.) something about your code
  2. When it mentions file paths, copy them
  3. Paste the paths into the textarea (one per line)
  4. Click ⚡ Copy Context
  5. Paste into your AI chat — it now sees your full file contents

Example input

src/handlers/callbackHandler.js
src/messageHandler.js
src/utils

Output format

Each file is formatted as a markdown code block with its relative path as the header:

### src/handlers/callbackHandler.js
```js
// your file content here
```

### src/messageHandler.js
```js
// your file content here
```

Tips

  • Paste the exact paths your AI assistant mentions
  • Use folder paths to include entire modules at once
  • The Browse button lets you pick files visually if needed
  • Hit Clear to reset between sessions

Privacy Policy

Your code never leaves your machine.

  • 🔒 This extension reads files locally from your own filesystem — nothing is uploaded, transmitted, or sent to any server
  • 🔒 No telemetry, no analytics, no tracking of any kind
  • 🔒 The only thing written is to your local clipboard, and only when you explicitly click ⚡ Copy Context
  • 🔒 Your project root path is saved locally in VS Code's own storage (globalState) — it never leaves your machine
  • 🔒 The extension makes zero network requests — it works entirely offline

Your code is yours. This tool is just a local file reader and clipboard writer — nothing more.


License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft