Promptcellar logs every prompt you send to your AI agent into a structured, append-only file in your repo. Open format, open source, and yours forever — not your vendor's.
Every commit your AI agent makes started as a prompt — a question, a correction, a “no, do it like this.” Today those prompts vanish into a vendor's database. Tomorrow you can't audit them, replay them, or learn from them. Promptcellar puts them in your repo, next to the code they produced.
Trace any commit back to the prompt that produced it. Every record has the prompt, the git SHA, the files touched.
Re-run a session against a different model or a fresh branch. The prompts are the script — the agent is the actor.
Cost, time, who's productive, what works. It's JSONL. jq is enough. Build whatever dashboard you want.
The data is in your repo. Not in a SaaS dashboard you'll lose access to when you switch tools.
…in Claude Code. Same workflow. No new shell, no extra binary on your PATH.
Claude Code's native lifecycle hooks (SessionStart → UserPromptSubmit → PostToolUse → Stop) fan into Promptcellar's tiny Go binaries.
One canonical record per prompt, flushed at Stop into .prompts/YYYY/MM/DD/<session>.jsonl.
That's the format. It's called PLF. It's an open spec — read it →
Every prompt is run through 222 vendored gitleaks rules covering AWS, GitHub, Stripe, Anthropic, OpenAI, and more — plus a hand-rolled PII layer with Luhn-validated card numbers and ISO-13616 IBAN checks.
.promptcellarignore for team-specific deny rules. Excluded records leave a typed gap so the timeline stays auditable.
No SaaS account. No cloud bucket. No telemetry. .prompts/ is a directory you commit alongside your code.
Push it to GitHub, GitLab, your self-hosted Gitea — anywhere git goes, your prompt history goes too.
Hooks are tiny Go binaries bundled inside the plugin. No node, no python, no PATH pollution.
The capture pipeline buffers per session and flushes one canonical record at Stop.
Promptcellar is one implementation. The on-disk shape — append-only JSONL, RFC 3339 timestamps, content-addressable session files, schema-versioned records — is a separate open spec called the Promptcellar Logging Format (PLF). Any agentic coding tool can write it. Any tool can read it.
Today: Claude Code. Tomorrow: Codex, Cursor, Aider, your own agent.
Same PLF format. Same .prompts/ folder. Different agent. Email signup for the launch.
A team analytics product over your .prompts/ — live cost and activity dashboards, plus an MCP node that pipes prompts into your workflows. Read-only over PLF.
Join the waitlist →The plugin's only surface is /promptcellar:*inside Claude Code. Install it once; forget it's there.