Documentation
Everything you need to set up PromptCase and keep your prompts flowing. Two capture clients, one library.
Getting started
PromptCase captures the prompts you write — never AI responses, system prompts, or tool output — and syncs them to your account. Setup takes three steps.
- 1
Create an account
Sign up free — no credit card needed. Your dashboard is where every captured prompt lands.
- 2
Pick a capture client
The CLI captures prompts you type into Claude Code. The browser extension captures prompts you submit on 13 AI chat sites. Use one or both — all plans include unlimited devices.
- 3
Generate a device token and connect
In your dashboard, open Dashboard → Devices and generate a token for your client. Paste it into the CLI or extension once — refresh is automatic after that.
CLI (Claude Code)
The promptcase CLI runs a small background daemon that captures the prompts you type into Claude Code and syncs them to your account roughly every 60 seconds. Only your own messages are captured — assistant replies, tool output, and system messages are filtered out.
Install
Requires Node.js 20 or newer.
Authenticate
Then paste the token from /dashboard/devices/cli-token when prompted. The daemon starts automatically and keeps running in the background, including after reboots.
Commands
promptcase setup | Authenticate and start the daemon (alias of init) |
promptcase status | Show auth, daemon, and sync status |
promptcase sync | Force a sync right now and run diagnostics |
promptcase show | Show recent synced prompts (-n <count> for more) |
promptcase stop | Stop the daemon (auto-start stays for next boot) |
promptcase logout | Stop the daemon, revoke the token, clear credentials |
promptcase init is the same command as promptcase setup — use whichever you prefer.
Package details and release notes live on npmjs.com/package/promptcase.
Browser extension
The extension captures prompts at the moment you submit them — and only the text you wrote. It works on these 13 sites:
- ChatGPT
- Claude
- Gemini
- Microsoft Copilot
- Perplexity
- Mistral Le Chat
- HuggingChat
- You.com
- Poe
- Grok
- Bolt
- Lovable
- Replit
Firefox
- Install from addons.mozilla.org.
- Open the extension's Options page and paste the token from /dashboard/devices/extension-token.
- Optionally toggle capture per site under Options → Sources.
Chrome
Coming soon to the Chrome Web Store.
Managing your library
Captured prompts land in your dashboard, where you can shape them into a reusable library:
- Tags — label prompts with as many tags as you like, then filter by them.
- Folders — group prompts by project or topic.
- Favorites — star your best prompts so they're one click away.
- Search — keyword filtering across your prompts, combinable with tag, folder, source, and favorite filters.
- Bulk actions — select multiple prompts to tag, move, or delete at once.
- Sources view — browse prompts by where they were captured, from Claude Code to any of the 13 supported sites.
Devices & tokens
Every capture client connects with its own device token, managed from Dashboard → Devices:
- Generate a token per device and give it a name you'll recognize ("Work laptop", "Home Firefox"). You can rename devices later.
- Tokens are shown once. We store only a SHA-256 hash, so copy the token when it appears. If you lose it, revoke the device and generate a new one.
- Tokens are valid for 180 days and refresh automatically while the client is in use — no re-pasting needed.
- Revoke any device from the dashboard at any time; its tokens stop working immediately.
Troubleshooting & support
Capture isn't working on a site
- Check the site's toggle in Options → Sources — it may be switched off.
- Make sure you're signed in to the site itself; some sites render a different composer for signed-out visitors.
- Still stuck? Email support@promptcase.dev with the site name and your extension version (shown in Options → About).
CLI health check
status shows auth, daemon, and sync state; sync forces an upload and runs diagnostics.
For anything else, write to support@promptcase.dev — we reply within 1–2 business days.
Free plan: your latest 500 prompts, all 14 sources, unlimited devices.