Meet Zzza.
Zzza helps you feed AI
just the right slice.
Zzza + AI = the purrfect combination.
Hot Tip: Use zzza to save, share, and focus on just the right slice.
Save a slice.
Share a slice.
Focus on what matters.
Pick Files → Build Context → Share Slices 🍕
Grab a Slice
Install the CLI, optionally add the VS Code extension, then build your first
slice_context.md.
npm i -g zzza
Pro Tip: For teams with long-lived repos, we recommend a local devDependency so everyone runs the same version:
npm i -D zzza
Getting Started
Creates
slice.jsonc in your repo.
zzza initAdd a file to a slice.
zzza add <slice-name> <path>zzza add auth src/index.ts
Builds
slice_context.md.
This library file is the main way to share files with your AI provider through zzza.
Type the name of the slice you want to build. For example:
zzza build auth
Once you've built the context library slice_context.md, you can share it with AI or your team without exposing your entire repository.
Using Zzza with ChatGPT
Current workaroundIf you're using ChatGPT, our current favorite workflow is to build your slice first, then use the app button in the ChatGPT desktop client to connect your coding session.
zzza build <slice-name>
This generates slice_context.md, which gives ChatGPT focused context without exposing your whole repo.
In the ChatGPT desktop app, click the app button near the prompt box, then choose your coding app or active editor session.
Once your editor session is connected, paste in your generated slice_context.md or refer to the files you've prepared with Zzza.
For now, this is the cleanest workaround for pairing Zzza with the ChatGPT client.
How this works: Zzza keeps your context intentional, and ChatGPT gets just the part of the repo you actually want to talk about.
Hot Tip: Use zzza group to organize slices (one group per slice).
Quick Start Guide
Quick start (CLI)
🍕 Install CLIA tiny flow you can memorize. Then tweak it for your repo.
zzza init
Creates slice.jsonc. Safe to run multiple times.
zzza add <your-slice-name> <path>
You choose the slice name. For example:
zzza add auth src/index.ts
If the slice doesn’t exist yet, Zzza creates it.
zzza group core green
One group per slice. Great for “build just the part I’m working on”.
zzza build
Generates slice_context.md.
Then Cmd/Ctrl + A, copy, paste.
Share with AI. Share with your Team.
VS Code extension
Get the extension
UI-first workflow. The extension reads/writes slice.jsonc. You'll still need the CLI installed to run builds.
Extensions → search “zzza” → Install
Install the extension, then install the CLI once. The extension stays in sync with your repo.
New Slice → Add Files / Add Dir → Set Group
Dirs are updated live so you never miss a thing.
Build → generates slice_context.md
Build uses the CLI under the hood. Then share the output anywhere.
zzza --version
zzza list slices
About Zzza 🍕
Why Zzza?
AI tools are powerful — but they work best when the context is scoped, readable, and intentional.
No surprises. No hidden state. Just context you can trust.
What it gives you
- Define meaningful slices of a project
- Share context without sharing everything
- Reduce cognitive load for humans + AI
- Keep focus where the work actually is
Prefer a Gui?
Use the VS Code extension to create slices, add files/folders, set a group, and build.
It writes to the same slice.jsonc as the CLI.
The CLI and UI always stay in sync.
VS Code Extension