CWC is a free and privacy-fist toolkit for 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 and stay in the editor!
CWC provides developers with a complete and 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.
CWC constructs unified prompts with all relevant files and instructions, so the model has everything it needs from the start. Steer it with examples, focus its attention on specific code, and make simple instructions just work!
CWC helps with all common use-cases like multi-file editing, planning, generating code at cursor or commit messages.
Edit files (click to expand)
Implement new features, fix bugs and refactor code across many files.
# Files
[SELECTED FILES]
# Output formatting
Whenever showing a new, updated, renamed, or deleted file, provide a brief explanation, then print the path in a markdown heading (e.g. ### New file: `src/examples/hello.py`, ### Updated file: `src/examples/hello.py`, ### Renamed file: `src/examples/hello.py` (old) `src/welcome.py` (new), ### Deleted file: `src/examples/hello.py`), followed by a markdown code block showing the original and updated code snippets with Git-style merge conflict syntax. Example:
[EXAMPLE]
---
[PROMPT]
Ask about files
Plan features or get explanations.
# Files
[SELECTED FILES]
---
[PROMPT]
Code at cursor
Quality TAB completions from SOTA reasoning models.
# Files
[SELECTED FILES]
- File `[ACTIVE FILE PATH]`:
```
[PREFIX]<missing_text>[PROMPT]</missing_text>[SUFFIX]
```
# Output formatting
Your response must begin with a markdown heading identifying the file and the cursor position, followed by a markdown code block containing the replacement text, followed by a brief explanation. The heading must be: "### Code at cursor: `[ACTIVE FILE PATH]` (ROW:COL)". Always refer to the symbol "<missing_text>" as "cursor position" and "replacement" as "completion". Example:
[EXAMPLE]
---
Find correct replacement text for the <missing_text> symbol.
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.
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.
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.Search in Selected Files...- Search within currently selected files.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 Referencing Files...- Select files referencing the active or selected items.Select Imported Files...- Select files imported by the active or selected items.Select Parent Folder...- Select the parent directory of a file.
Copy Markdown- Copy contents of the current file selection.Copy Markdown of Open Editors- Copy contents of file selection in open editors.Copy Paths...- Copy paths of the current file selection.Copy Paths of Open Editors...- Copy paths of file selection in open editors.
Commit Changes- Generate commit message in your preferred style and commit.CWC: Generate Commit Message- Generate a commit message into the SCM input.CWC: Copy Merge Commit Details- Copy consolidated prompts and context ASCII trees of all commits between HEAD and a selected branch.
History- Manage saved states of the workspace.Create New Checkpoint- Create a history entry of the workspace state.
Apply Chat Response- Integrate LLM response.Reference in Prompt- Reference the selected file in the prompt view.Set Ranges...- Restrict context to specific line ranges.
Duplicate Workspace- Copy the extension's state in a new window.
- 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
