Getting Started with Prompt Cellar
Connect your CLI tools to Prompt Cellar to automatically capture and sync prompts across all your AI assistants.
1. Install PC CLI
The PC CLI connects your terminal to Prompt Cellar. Install it globally via npm:
npm install -g @promptcellar/pcThen log in with your Prompt Cellar API key:
pc loginYou can find your API key on any project page in the dashboard.
2. Auto-Capture Setup
Run the setup command to automatically configure prompt capture for your installed CLI tools:
pc setupThis will detect and configure:
Claude Code
Installs a native hook at ~/.claude/hooks/ that automatically captures prompts.
Codex CLI
Adds a shell wrapper that captures prompts when you use the codex command.
Gemini CLI
Adds a shell wrapper that captures prompts when you use the gemini command.
3. Push Prompts to Sessions
Send prompts from your Prompt Cellar library directly to your active CLI sessions.
How it works
- Your CLI tools connect to Prompt Cellar via WebSocket when active
- You'll see "Connected Sessions" on your project page and prompt pages
- Click Push to Session to send any prompt to your CLI
- The prompt appears in your terminal, ready to use
From the command line
You can also push prompts directly from the terminal:
pc push my-system-prompt4. Open in Apps
Quickly send prompts to any AI assistant:
Web Interfaces
- Claude.ai - Opens with prompt pre-filled
- ChatGPT - Opens chat.openai.com
- Gemini - Opens gemini.google.com
Desktop Apps
- Claude Desktop - Copies prompt and opens the app
- ChatGPT Desktop - Copies prompt and opens the app
Prompt Cellar remembers your last-used app, making it quick to send prompts to your preferred tool.
5. Troubleshooting
Check connection status
pc statusRe-run setup
If hooks or wrappers aren't working, re-run setup:
pc setup --forceUpdate PC CLI
pc updateCommon issues
- Sessions not appearing: Make sure
pc logincompleted successfully - Prompts not capturing: Run
pc setupand restart your terminal - Push not working: Check that your CLI tool has an active session with
pc status