/lorenzh:checking-before-publishingfrom lorenzh
Privacy check for anything about to go public. Use when about to post an issue or PR comment, opening a PR, committing, pushing, publishing a release, blog post or README, or sharing screenshots, GIFs, videos or terminal recordings; when relaying a subagent's text to a public place; or when the user asks to "check for private data", "scrub" or "redact" something before sharing.
Ships in lorenzh. 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; scripts run unread.
Find and remove private data in text and media before they leave the machine.
Check the exact bytes that will be published, every line and every frame, after the last edit.
Private data here means: usernames and home paths, hostnames and user@host prompts, emails, tokens and keys, session ids, internal URLs and IPs, employer, customer and private repo names, and local tmp or scratch paths.
Text a subagent or tool wrote is the highest risk: it reaches the public place without a person reading it. Scan it like your own text.
Never dump a process environment (env, printenv, /proc/*/environ) to look for a value: it holds session tokens, which then land in transcripts and outputs.
Put each thing you will publish in a file: a comment or PR body in a .md file (post it with --body-file), a commit as its staged diff (git diff --cached) plus its message, a recording as its .cast or text log, and media as PNG frames.
For a GIF or video, extract every frame: ffmpeg -i demo.gif -fps_mode passthrough frames/%04d.png. Sampling or dropping similar frames can skip a short-lived leak, and leaks often appear only in the last frames, where the demo shows its output.
Done when every item to publish exists as a file, and each video or GIF exists as a frame directory.
Run the bundled scan on every text file. The script lives in this skill's folder, so use its full path:
node <this-skill-dir>/scripts/scan.mjs [--deny <word>]... <file|dir|->...
It finds home paths, scratch paths, tokens, secret assignments, emails, private IPs, internal hosts, user@host prompts and UUID session ids, and decodes .cast files to plain text first. Your own names (username, hostnames, employer, customers, private repos) are not generic patterns: pass them with --deny, PUBLISH_DENY=a,b, or one per line in PUBLISH_DENY_FILE (default ~/.config/publish-deny.txt). Each finding prints file:line: kind: match -> fix; exit 1 means findings, exit 2 a usage or read error, --json prints an array. Without Node, use grep -nE '/home/|/Users/|@|token|key|secret' plus your deny words.
Then read the text once yourself: the scan knows a private project or customer name only if it is in the deny list.
Done when the scan exits 0, or your reply lists each remaining finding as a deliberate public value (for example a noreply email).
The scan skips images. Open every extracted frame and every screenshot and read the text in it: prompt, title bar, paths in output, notifications, browser tabs.
Done when your reply names the frame range you viewed (for example frames 0001-0042 viewed) and what you found.
PS1='$ ', a demo HOME and user) or the recorder's replacement filter, render again, and redo steps 1 to 3 on the new output. A symlink to a neutral folder does not hide the real path: many tools print the resolved path.Done when the final files pass steps 2 and 3, and exactly those files are published.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub lorenzh/skills --plugin lorenzh27 skills in this plugin
/cloning-voices-with-kittenttsVoice cloning with KittenTTS 2 from a short recording and text. Use when users say "kitten tts", "Stimme klonen", "clone my voice", "sprich diesen Text mit meiner Stimme", or "text to speech with my voice" and want a speech WAV.
/competing-implementationsImplementation competition for one task. Use when the user asks to have two agents compete on a change, wants competing implementations, asks to compare implementations and ship the winner, or asks for competing implementations on several dependent issues in waves./creating-worktreesGit worktree setup and cleanup for isolated parallel work. Use when the user asks to "work in a worktree", wants an isolated workspace or a parallel branch checkout, is about to execute an implementation plan that should not touch the current checkout, asks how to install dependencies or copy .env files into a worktree, wants a coding agent or sandbox to work in one, or asks to remove or clean up a worktree, or when worktrees fill the disk (ENOSPC, "No space left on device")./cutting-releasesRelease workflow from version bump to verified install. Use when the user asks to "cut a release", "release x.y.z", "ship a new version" or publish to npm or another registry, or when a release was tagged but the package, the back-merge to main or the installed version still needs checking./directing-videosVideo directing workflow for demos, screencasts, terminal tours, tutorials, launch videos and short films. Use when the user asks to plan, script, storyboard or direct a video, wants a "tour of all features", a demo or launch video, asks how long or how paced a video should be, or asks whether a recorded cut is ready to publish./dispatching-codexCodex CLI dispatch with completion notices that mean Codex really finished. Use when starting, dispatching or waiting for `codex exec`; when handing work to a GPT or Codex subagent; for cross-family review or verification by a GPT model; when running several Codex jobs in parallel; or when a workflow fans out to Codex.