contextzip: pack a codebase into free AI chats and write changes back
Understand this story
Deepesh Kumar has released the open-source tool contextzip, which uses a single command to filter files by project tech stack, pack them into a ZIP and place it on the clipboard, paste it into free chats in ChatGPT, Claude or Gemini, then use cz apply to three-way merge the files returned by the AI back into the project. The tool recognizes 62 languages and frameworks, excludes dependencies, build artifacts and key files by default, supports four usage modes — terminal, browser, VS Code and MCP — and makes no network requests during packing or applying. According to its description, use requires no paid plan, coding agent or API key; files packed in the browser are not uploaded. However, one of its features requires a free Gemini API key, which contextzip guides users to configure on first use, and it sends only file paths, sizes and the prompt, not file contents.
AI overview based on source reports · Updated 16 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIShow HN: I've built contextzip, a tool to package codebase for a free AI chat
contextzip is a CLI tool that detects a project's stack, excludes dependencies, build output and secrets, and packages the relevant files into a ZIP placed on the clipboard for pasting into free ChatGPT, Claude or Gemini chats. Its `cz apply` command writes the AI's returned files back into the project using a three-way merge against a local snapshot, flagging conflicts and cut-off files for review. It supports 62 languages and frameworks, runs locally without telemetry, and is also available as a browser tool, VS Code extension and MCP server.
Activity for this story
Not enough continuous observations to show a trend yet.