Code Web Chat is a free and open-source (FOSS), independent AI coding toolkit for VS Code.
✅ Construct coding prompts for...
✅ Apply responses—interactive multi-file changes integration
✅ Fully-featured—code at cursor, commit messages, etc.
🌱 Sustainable—optimized for prompt caching across tasks
✋ Privacy-first—strict zero telemetry policy
Introduction
With its static context approach, CWC lets you pick all the necessary files, including useful examples, with intent. Such steered model is easy to prompt, for outputs you're looking for. The toolkit is a perfect companion for all kinds of coding tasks; from tedious refactors to complex features.
When pair-programming with Code Web Chat you foster codebase understanding and prompt for changes easy to review.
“The only way to go fast, is to go well.” ― Robert C. Martin, Clean Architecture
Enabling autofill in chatbots
Start using projects (also called gems or spaces) without the tedious copy and paste!
Like all of CWC, the browser extension is open-source and works with minimal permissions for your absolute privacy and security.
List of supported chatbots:
- AI Studio
- ChatGPT
- Claude
- Copilot
- DeepSeek
- Doubao
- Gemini
- GitHub Copilot
- Grok
- HuggingChat
- Kimi
- LMArena
- Mistral
- Open WebUI
- OpenRouter
- Qwen
- Together
- Yuanbao
- Z AI
In respect to chatbot's Terms of Use, a prompt autofill is all the extension does automatically. Furthermore, 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 for implementation details.
Use port forwarding on port 55155 when using remote machine via SSH.
🛠️ Edit Context
Pair-programming using natural language instructions.
🛠️ Intelligent Update
Integrate changes from malformed markdown code blocks.
🛠️ Prune Context
Remove irrelevant files from the current context selection.
🛠️ Code at Cursor
Get accurate inline suggestions from state-of-the-art models.
🛠️ Commit Messages
Meaningful summaries of changes adhering to your preffered style.
Enterprise security
Code Web Chat operates exclusively on your machine. Your prompts are sent directly to chatbots via editor-browser communication channel run on local Websockets. For API tools, model providers are called directly.
Commands
Code at Cursor
Code Web Chat: Code at Cursor - Get an inline snippet while using the current context.
Code Web Chat: Code at Cursor using... - Inline snippet with configuration selection.
Code Web Chat: Code at Cursor with Instructions - Inline snippet with instructions.
Code Web Chat: Code at Cursor with Instructions using... - Inline snippet with instructions and configuration selection.
Checkpoints
Code Web Chat: Checkpoints - Restore the overall workspace state to the saved checkpoint.
Code Web Chat: Create New Checkpoint - Save the current state of the workspace.
Context
Code Web Chat: Apply Context - Apply a saved context or save the current file selection.
Code Web Chat: Add File to Context - Search and add file (or parent folder via file action) to the context.
Code Web Chat: Remove File from Context - Search and remove file (or parent folder via file action) from the context.
Code Web Chat: Check All with Keywords - Search and add files containing specific keywords to the context.
Code Web Chat: Copy Context - Copy XML-formatted checked files from the Workspace view to the clipboard.
Code Web Chat: Copy Context of Open Editors - Copy XML-formatted checked files from the Open Editors view to the clipboard.
Code Web Chat: Undo Context Selection - Undo the last context change.
Code Web Chat: Redo Context Selection - Redo the last undone context change.
Commit messages
Code Web Chat: Commit Changes - Generate commit message and commit.
Contributing
All contributions are welcome. Feel free to submit pull requests, feature requests and bug reports.
Copyright © 2025 Robert Piosik
E-mail: robertpiosik@gmail.com
Telegram: robertpiosik