/cerberus:leak-checkfrom cerberus
Use before committing OR PUSHING a NEW or EDITED skill, its references, its bundled scripts, or its eval fixtures to this PUBLIC marketplace — review the change, and before a push also the outgoing commits themselves (messages, author, committer, branch name), for anything that points to a real work codebase (real class/object/namespace/org/ticket names, secrets, real people/emails/paths, an employer or client brand, or the aggregate "this is one specific company's product" flavor) and rewrite it to a neutral fictional demo before it ships. Also runs when the CERBERUS hook flags a skill/script/eval edit.
Ships in cerberus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This is a PUBLIC marketplace; every example is read by strangers. A real identifier lifted from a work codebase is a leak, not a better example. There is no denylist here on purpose — a list of the real names to catch would itself be the leak. This is an agent judgment pass: you (the model) already know what real, copied-from-work code looks like versus an invented demo. Read the change against the checklist and rewrite every hit.
In: a new or edited skill, its references/, its bundled scripts/, or its eval fixtures — about to be committed to this
PUBLIC marketplace, or the commits about to be pushed with it.
Out: nothing in the change points to a real work codebase — every real class/object/namespace/
field/org/ticket name, secret, real person, email, absolute path, or employer/client brand is rewritten
to a neutral fictional demo, and the aggregate "this is one company's product" flavour is gone, without
breaking the example's teaching value — and, before a push, no outgoing commit message, author,
committer or branch name points to real work either. The checkable expectations are in
evals/rubric.json.
key = "<real value>". Remove AND
rotate it (a committed secret is compromised even after deletion)./Users/<name>/…), or a commit author that is a work account.ABC-1234).A push publishes more than files. Every outgoing commit carries a message, an author, a committer, and the branch name rides along — and none of them is a file, so a file-only check never sees them. This is where a client name actually escaped once. On "push", "ship it" or any request that sends a branch out, read what would leave:
git log --format='%h %an <%ae> / %cn <%ce>%n%B%n---' @{upstream}..HEAD # or origin/main..HEAD
git branch --show-current
Hunt the same eight fingerprints there. A hit in the latest message → git commit --amend -m; in an
older one → reword it with an interactive-free rebase or tell the user which commit needs it; a
work-account author → git commit --amend --reset-author with a neutral identity, after saying so;
a branch name → rename it before the push. Then re-read the log — a fix you did not re-check is a
guess.
cerberus's push guard judges the outgoing commits itself before any push runs and blocks one that leaks, naming what it found. Fix what it names this way, then push again; nothing about the guard is yours to set.
Public examples must be fictional and generic — invent ONE neutral demo product and reuse it across skills. Never paste a real name from a work codebase.
Rewrite each hit to the house demo vocabulary, kept consistent everywhere:
Widget_Config__c, Widget_Card__c, Order__c, Pkg__ namespace, myOrg,
RangeHandler / RangeResolver, /api/items, TICK-000, <sf-repo> / <ui-repo>.
For flavor (#7) don't whack single words — re-theme the example off the real domain
onto a neutral one, and vary recurring identifiers so no name repeats verbatim.
Unsure, or before a public release / the first push of a mirror repo → run a deeper
multi-agent audit: several read-only passes with distinct lenses (identifiers,
architecture, domain, history + secrets) plus an adversarial "recognize your own code"
pass — that catches the aggregate a single pass misses. Then scrub the working tree AND
git history (git filter-repo) and force-push.
Order__c, WidgetConfig, myOrg,
/api/items) — reused across skills — not merely redacted.evals/rubric.json.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
npx claudepluginhub aquivalabs/bladeforge --plugin cerberus