Cursor, Claude Code and Copilot are great. I don't pay for any of them.

I write most of my side-project code with the free ChatGPT, Claude and Gemini web chats. The models are good enough. The workflow around them was the problem. Every session I'd pick files by hand, zip them without node_modules, upload, and then copy every changed file back one by one, hoping I didn't overwrite something I'd changed in the meantime.

So I built contextzip. This is my whole loop now:

contextzip demo: cz packs 10 files and leaves out 2,411, then cz apply writes the AI's reply back and merges it with my own edit

pip install contextzip cz # the right files, zipped, on your clipboard # paste into the chat, ask for the change, download its ZIP cz apply # the changes written back into your project 

That clip is a real run on a small Vite + FastAPI app. cz sends 10 files and leaves out 2,411 (node_modules, .git, .env). While "waiting" for the AI, I edit backend/main.py myself. cz apply writes the AI's 3 files and merges my edit with its edit instead of overwriting mine.

Why it works on a free plan

It sends less. Free plans have tighter limits, so every token counts. contextzip knows 62 stacks and leaves out dependencies, build output, lockfiles, caches and anything in your .gitignore. After every run it shows the token count and how much of each model's context it uses.

You choose exactly what goes. cz pick opens a file tree right in the terminal. Tick files and folders with the space bar and watch the token total change as you go:

contextzip pick · my-app 44 of 312 files · 186 KB · 46,210 tokens 

Need a hard limit? cz --max-tokens 150k --trim leaves out generated files, data, tests and docs, in that order, until it fits.

It never sends secrets. .env files, private keys and cloud credentials stay out. If you include a .env on purpose, the keys are kept and every value becomes [REDACTED].

The way back is safe. contextzip keeps a snapshot of everything it sends. When the reply comes back, each file is compared three ways: what you sent, what's on disk now and what the AI returned. Your own edits stay, conflicts wait for your decision, and nothing is ever deleted.

Other ways to use it

  • No install: drop a folder on contextzipcli.com. It's packed in your browser and never uploaded.
  • Only what changed: cz --git-changes sends just the files you touched.
  • Anywhere: npm (npm i -g @contextzip/cli), Homebrew, Scoop, winget, a VS Code extension, and an MCP server for when you do use an agent.

What it doesn't do

  • You still do the chat part yourself: paste the ZIP, download the reply.
  • The AI has to send a ZIP back. If it replies with code blocks instead, ask again for a ZIP of the changed files.
  • It can't compress code down to signatures yet. repomix can.
  • If you already pay for a coding agent, you probably don't need it.

Try it

pip install contextzip cd your-project cz 

It's free, MIT licensed and on GitHub:

GitHub logo akadeepesh / contextzip

Use free ChatGPT, Claude or Gemini on your whole codebase. Send the right files as a ZIP, get the changes written back. No paid plan, no agent, no API key.

contextzip

Your whole codebase in a free AI chat. The changes written back.

No paid plan, no coding agent, no API key.
One command zips the right files for free ChatGPT, Claude or Gemini.
Another writes the AI's reply into your project, without losing your own edits.

PyPI npm VS Code Tests Downloads License: MIT akadeepesh/contextzip MCP server

Try it in your browser  ·  Docs  ·  CLI reference  ·  Changelog

Three steps. Pack: cz scans 37,949 files and packs the 62 that matter. Paste: attach the ZIP in an AI chat and get a ZIP of changes back. Apply: cz apply merges them into your project and keeps your own edits.

pip install contextzip # or: npm i -g @contextzip/cli · brew install akadeepesh/tap/contextzip cz # zip the right files and put the ZIP on your clipboard cz apply # write the AI's reply back into your project

Terminal demo: cz packs 10 files of a Vite and FastAPI app and leaves out 2,411 (node_modules, .git, .env). After the AI replies, cz apply writes 3 files and merges backend/main.py with the user's own edit.

Nothing to install? Drop a folder on contextzipcli.com. It's packed in your browser and never uploaded.
▶ Watch the whole loop in 72 seconds

Why

Every AI coding session in a web chat starts the same way: hunt down the relevant files, leave out node_modules by hand, zip, upload. Then the slow part…




If it saves you time, a ⭐ helps other people find it.

If you code with free AI chats, what's the most annoying part of your workflow? I'd love to hear it in the comments.

I wrote this post with help from an AI assistant. The tool, the demo and the opinions are mine.