A Claude Code plugin that captures every prompt you send to the agent and stores it in your repo as structured PLF.
Secrets and PII are stripped before anything touches disk — redaction is on by default. Everything else is captured verbatim.
No binary on your PATH. No new shell. The plugin's only surface is /promptcellar:* inside Claude Code.
Resolution order — most-restrictive wins.
“Stop capturing on this whole laptop today.”
The team's decision. Travels with the code.
“The repo captures, but skip mine.”
Four passes, in order. The first match wins.
AWS, GitHub, Stripe, Anthropic, OpenAI, Slack, Datadog, GCP, Cloudflare — vendored at build time.
Luhn-validated card numbers. ISO-13616 (MOD-97) IBAN checks. Email and phone fall through to context-aware classifiers.
Team-specific deny rules. Authoritative — overrides everything else, including allows.
Narrow exceptions for false positives. Last in the chain. Local-first.
Matches never touch disk. Excluded records leave a typed gap so the timeline stays auditable — you can see {"status":"excluded","reason":"secret"} in the JSONL.
Hooks buffer per session and flush one canonical record at Stop. No partial lines. No lock contention across sessions because each session writes to its own content-addressable file. See IMPLEMENTATION_PLAN.md for the full story.
Same PLF format. Same .prompts/ folder. Different agent.