Codex CLI Integration
Never Lose a Codex CLI Prompt Again
Prompt Cellar wraps your codex command with a thin capture layer. Every prompt saved, encrypted, searchable. Your workflow stays the same.
Codex prompts disappear fast
Codex CLI runs your prompt, does the work, and moves on. The prompt itself lives in your shell history until your terminal scrollback pushes it out. If you close the tab, it might be gone entirely.
Shell history is not a prompt management system. It doesn't know which project you were in, which branch you were on, or what the prompt actually accomplished.
Prompt Cellar captures every Codex prompt with full context. Two weeks from now, you search "API migration" and find the exact prompt that worked.
How the shell wrapper works
Codex CLI doesn't have a native hook system, so Prompt Cellar takes a different approach. When you run pc setup, it adds a shell function to your .bashrc or .zshrc that wraps the codex command.
The wrapper intercepts the prompt text before passing it through to the real codex binary. Codex runs exactly as before. The only difference is that your prompt gets captured in the background.
Here's what gets recorded with each prompt:
- The full prompt text you passed to Codex
- Your current working directory
- Timestamp
- Git repo, branch, and commit hash (if in a git directory)
Everything is encrypted with AES-256-GCM before leaving your machine. The wrapper adds negligible latency since capture happens asynchronously.
Better than shell history
Searchable by content, not position
Shell history is ordered by time. Prompt Cellar lets you search by keyword, project, or date range. Find "database schema migration" across all your projects at once.
Organized by project
Shell history mixes everything together. Prompt Cellar knows which repo and branch each prompt belongs to. Filter to just one project and see its full prompt timeline.
Encrypted and persistent
Shell history gets truncated, overwritten, or lost when you switch machines. Prompt Cellar stores your prompts encrypted in the cloud, accessible from any device.
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 Codex CLI automatically)
pc setupAfter setup, restart your terminal and run any Codex 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 Codex prompt you've ever sent. The index is encrypted client-side.
Git-aware context
Each prompt is tagged with the repo, branch, and directory you ran it from. Filter by any of these.
Zero-knowledge encryption
AES-256-GCM. Your key never leaves your browser. We cannot read your prompts.
Start saving your Codex prompts
Setup takes under a minute. Works alongside your existing Codex CLI installation.
Get Started Free