public-release-prep

public-release-prep is a skill for Claude Code from S24DeFi/global-lib-skills. It costs 151 tokens per session (1,989 once invoked), scanned A, original, MIT.

A release-preparation procedure that checks a private Git repository for secrets and personal information before it is shared publicly.

In plain words
What is it for?
Auditing a repository, cleaning up exposed secrets or personal information, and preparing it for open-source release.
Why use it?
It helps find and remove sensitive data before changing a repository from private to public.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the public-release-prep plugin — 1 skill shipped together

Good fit Auditing a repository, cleaning up exposed secrets or personal information, and preparing it for open-source release.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s24defi/global-lib-skills/public-release-prep
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add S24DeFi/global-lib-skills --skill public-release-prep
Clone the repo
git clone --depth 1 https://github.com/S24DeFi/global-lib-skills

Made for: Claude Code.

Or install public-release-prep, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for public-release-prep

README.md
[![agentmods](https://agentmods.dev/badge/skills/s24defi/global-lib-skills/public-release-prep/github.svg)](https://agentmods.dev/skills/s24defi/global-lib-skills/public-release-prep)
Your own site
<a href="https://agentmods.dev/skills/s24defi/global-lib-skills/public-release-prep"><img src="https://agentmods.dev/badge/skills/s24defi/global-lib-skills/public-release-prep/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for public-release-prep

Your own site · 80×15
<a href="https://agentmods.dev/skills/s24defi/global-lib-skills/public-release-prep"><img src="https://agentmods.dev/badge/skills/s24defi/global-lib-skills/public-release-prep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,989 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00151 $0.01989
Opus 5 $0.00076 $0.00994
Sonnet 5 $0.00030 $0.00398
Haiku 4.5 $0.00015 $0.00199

Measured 12d ago against content hash 7ad302da77c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

public-release-prep scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan_history.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/public-release-prep/skills/public-release-prep/SKILL.md · 160 lines

How it starts

The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Public Release Prep

A repo that looks clean on its default branch can still leak things once it's public, because GitHub serves more than main: every branch, every tag, and every closed/merged pull request's diff stay browsable (and git fetch origin refs/pull/N/head still works) for as long as the repository exists. Scanning only the current tree, or only git log main, misses whatever was fixed, force-pushed over, or squash-merged along the way — which is exactly the stuff people forget is still sitting there.

The job here has two parts: find everything that's actually reachable, then help the user pick a remediation that matches how bad it is. Don't skip straight to "let's squash it" — squashing only rewrites branches you control; it does nothing to old PR pages or tags, which is a common surprise.

Step 1: Scan the full exposure surface

Run the bundled script, which fetches every ref and scans both the current tip (what's immediately visible) and the full history (what's technically reachable):

bash scripts/scan_history.sh /path/to/repo

It prints a working directory containing:

  • tip_emails.txt, tip_paths.txt, tip_secrets.txt — hits in the current default-branch tree
  • history_secrets.txt, history_emails.txt, history_paths.txt, history_ips.txt — hits anywhere across all branches/tags/PR refs
  • identities.txt — every distinct commit author/committer identity ever used in the repo
  • tag_reachability.txt — for each tag, whether it's an ancestor of a live branch or a dangling artifact only reachable by its own ref

The regexes are a starting point, not the whole job. Read through the hits yourself — greps produce false positives (template placeholders like [email protected], doc examples of what not to hardcode) and false negatives (a script's .filter(Boolean)-style approach won't catch a company name or a person's name that isn't in an email or path pattern). When something looks interesting, pull the surrounding context and the commit it's from:

Read the full file on GitHub · 160 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 160 lines · 151 tokens per session scan A 7ad302da77c9

Subscribe to this mod's changes

public-release-prep is a skill published in the GitHub repository S24DeFi/global-lib-skills (1 stars, last pushed 2d ago), licensed MIT. It adds 151 tokens to every session and 1,989 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

project-standard-release

Prepare and ship an Agent Atelier release. Bumps the semver version in the lockstep manifests (package.json, every plugins//.claude-plugin/plugin.json, every .claude-plugin/marketplace.json plugins[] entry), updates CHANGELOG.md (Keep a Changelog format, creates it if missing), creates an annotated git tag on main…

big-emotion/agent-atelier · 138 tokens

{{project_slug}}-release

Prepare and ship a {{projectdisplayname}} production release. Bumps the semver version of the root package.json, updates CHANGELOG.md (Keep a Changelog format, creates it if missing), creates an annotated git tag on {{defaultbranch}}, then asks for explicit confirmation before pushing. Tag push triggers…

big-emotion/agent-atelier · 112 tokens

ship

Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR. Use when asked to "ship", "deploy", "push to main", "create a PR", or "merge and push". Proactively suggest when the user says code is ready or asks about deploying.

CarbeneAI/Forge · 72 tokens

land-and-deploy

Land and deploy workflow. Merges the PR, waits for CI and deploy, verifies production health via canary checks. Takes over after /ship creates the PR. Use when: "merge", "land", "deploy", "merge and verify", "land it", "ship it to production".

CarbeneAI/Forge · 67 tokens

release

CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create the GitHub release. Use when shipping a new plugin version. NOT distributed.

oliver-kriska/claude-elixir-phoenix · 60 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens