Gemini CLI Integration
Never Lose a Gemini CLI Prompt Again
Prompt Cellar wraps your gemini command with a thin capture layer. Every prompt saved, encrypted, searchable. You keep working the same way.
Where do your Gemini prompts go?
Gemini CLI processes your prompt and gives you a result. The prompt itself? It sits in shell history, mixed in with every ls, cd, and git push you ran that day.
Shell history has a size limit. It doesn't track which directory you were in. It can't tell you which project a prompt belonged to. And if you work across multiple machines, each one has its own isolated history.
Prompt Cellar gives your Gemini prompts a proper home. Searchable, organized by project, synced across devices, and encrypted end-to-end.
How the shell wrapper works
Gemini CLI doesn't expose a plugin or hook API, so Prompt Cellar uses a shell function. When you run pc setup, it detects Gemini CLI and adds a function to your .bashrc or .zshrc.
When you type gemini, the wrapper reads the prompt text, sends it to Prompt Cellar in the background, then passes everything through to the real Gemini binary. The command behaves exactly as before. Same flags, same output, same exit codes.
Each captured prompt includes:
- The full prompt text
- Working directory at the time of execution
- Timestamp
- Git context: repo name, branch, remote URL, commit hash
Capture runs asynchronously. You won't see any delay. All data is encrypted with AES-256-GCM before transmission.
One timeline for all your AI tools
If you use Gemini CLI alongside Claude Code or Codex, Prompt Cellar captures prompts from all of them into a single, unified timeline. You don't need separate tools or workflows for each one.
Run pc setup once. It detects every supported CLI tool on your machine and configures capture for each. After that, prompts from Gemini, Claude Code, and Codex all show up in the same searchable interface, tagged by tool.
Trying the same task across different tools? You can compare the prompts side by side.
Quick start
Three commands. Under a minute.
1. Install the CLI
npm install -g @promptcellar/pc2. Log in to your account
pc login3. Run setup (detects Gemini CLI automatically)
pc setupAfter setup, restart your terminal and run any Gemini command. Your prompts will appear in the Prompt Cellar timeline within seconds.
No credit card required. Your first 100 prompts are free.
What you get
Full-text search
Search across every Gemini prompt you've ever sent. The index is encrypted client-side.
Cross-tool timeline
Gemini prompts sit alongside Claude Code and Codex prompts in one view. Filter by tool when you need to.
Zero-knowledge encryption
AES-256-GCM. Your key never leaves your browser. We cannot read your prompts.
Start saving your Gemini prompts
Setup takes under a minute. Works alongside your existing Gemini CLI installation.
Get Started Free