Free AI coding with static context. Start in VS Code (Cursor, Antigravity, VSCodium, etc.), then continue in ChatGPT, Gemini, Claude, etc. or Bring Your Own Key to stay in the editor!
Get involved! Join our discord server.
This independent project aims to provide developers with a complete, free toolkit for pair programming with AI that augments, rather than replaces, traditional coding.
CWC operates 100% on your machine—no code, prompts or usage data are collected. For transparency, all source code is public on GitHub.
To make AI coding as fast, accurate and cost-efficient as possible, CWC relies on static context. This means all task-relevant files are sent together with the prompt in a unified message, so the model has everything it needs from the start, without a single tool call.
Tip
Get help with relevant file selection using keywords, symbol-references or Find Relevant Files prompt type.
At its core, CWC constructs simple, markdown-formatted prompts for common use-cases (click to expand) you can copy and paste into chatbot of choice or send directly from the editor via an API call.
Edit files
Accurate and fast multi-file edits in a single response.
# Files
[full contents of selected files with paths]
# System
[edit format instructions (~250 tokens)]
---
[prompt]
Ask about files
Get help with whatever you're up to.
# Files
[full contents of selected files with paths]
---
[prompt]
Code at cursor
TAB completions from SOTA reasoning models.
# Files
[full contents of selected files with paths]
### File: `[active file]`
```
[code before cursor]<missing_text>[prompt]</missing_text>[code after cursor]
```
[instructions for the missing text]
Find relevant files
Select files relevant to a natural language query.
# Files
[broad file selection]
# System
[response format instructions]
---
Find a complete set of files relevant to the following query. Include the primary files as well as any structural files.
[prompt]
Install the browser extension and never copy and paste again.
Supported chatbots:
- AI Studio
- Arena
- ChatGPT
- Claude
- Copilot
- DeepSeek
- Doubao
- Gemini
- GitHub Copilot
- Grok
- HuggingChat
- Kimi
- Meta
- Mistral
- Open WebUI
- OpenRouter
- Qwen
- Together
- Yuanbao
- Z
Important
The Apply response button placed under responses is not a means of automatic output extraction, it's an alias for the original copy to clipboard button. Review the content script to learn about implementation details.
Note
Use forwarding of port 55155 when using remote machine via SSH.
CWC orders context files by modification and selection recency. This, combined with instructions placement at the message's very end effecively utilizes prompt caching across tasks.
Make your chatbot quota last longer, lower input token costs by up to 90%, and reduce latency by up to 80%!
Code at Cursor- Get an inline snippet while using the current context.Code at Cursor using...- Inline snippet with configuration selection.Code at Cursor with Instructions- Inline snippet with instructions.Code at Cursor with Instructions using...- Inline snippet with instructions and configuration selection.
Save File Selection...- Save the current context.Restore File Selection...- Restore a saved context.Select Workspace File...- Select a file from the workspace.Search Files...- Select files based on a search query.Select Clipboard Paths...- Select files based on paths in your clipboard.Select Unstaged Files...- Select files with unstaged changes.Select Files of Commit...- Select files modified in a specific commit.Select Changed Files...- Select changed files compared to a branch.
Copy Markdown- Copy contents of selected files to the clipboard.Copy Markdown of Open Editors- Copy contents of open editors to the clipboard.Copy Paths- Copy paths of selected files to the clipboard.Copy Paths of Open Editors- Copy paths of open editors to the clipboard.
Commit Changes- Generate commit message in your preferred style and commit.
History- Manage saved states of the workspace.Create New Checkpoint- Create a history entry of the workspace state.
Apply from Clipboard- Apply a chat response to the codebase.
Duplicate Workspace- Open a duplicate workspace preserving context.
- Clone the repository:
git clone https://github.com/robertpiosik/CodeWebChat.git && cd CodeWebChat - Install workspace dependencies:
pnpm install - Navigate to the editor app and build the package:
cd apps/editor && pnpm run build - Install the generated
.vsixfile in VS Code: Open the Command Palette (Ctrl+Shift+P/Cmd+Shift+P), run Extensions: Install from VSIX..., and select the newly created file.
Copyright © 2026 Robert Piosik
E-mail: robertpiosik@gmail.com
Telegram: robertpiosik