safe-public-release

safe-public-release is a skill for Claude Code from serejaris/personal-corp-os. It costs 166 tokens per session (2,906 once invoked), scanned C, original, MIT.

A release-safety checklist for moving code, prompts, datasets, or other files from private or mixed environments into a public repository or registry.

In plain words
What is it for?
Use it to inventory files, check their origin and license, create an approved file list, prepare a clean package, and verify a public release. It requires explicit approval before publishing.
Why use it?
It helps prevent secrets, private files, licensing problems, and non-redistributable material from being published by mistake.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the personal-corp-os plugin — 33 skills shipped together

Good fit Use it to inventory files, check their origin and license, create an approved file list, prepare a clean package, and verify a public release. It requires explicit approval before publishing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/serejaris/personal-corp-os/safe-public-release
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 serejaris/personal-corp-os --skill safe-public-release
Clone the repo
git clone --depth 1 https://github.com/serejaris/personal-corp-os

Made for: Claude Code.

Or install personal-corp-os, the plugin that ships this one along with the rest of its 33 skills.

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 safe-public-release

README.md
[![agentmods](https://agentmods.dev/badge/skills/serejaris/personal-corp-os/safe-public-release/github.svg)](https://agentmods.dev/skills/serejaris/personal-corp-os/safe-public-release)
Your own site
<a href="https://agentmods.dev/skills/serejaris/personal-corp-os/safe-public-release"><img src="https://agentmods.dev/badge/skills/serejaris/personal-corp-os/safe-public-release/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 safe-public-release

Your own site · 80×15
<a href="https://agentmods.dev/skills/serejaris/personal-corp-os/safe-public-release"><img src="https://agentmods.dev/badge/skills/serejaris/personal-corp-os/safe-public-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 166 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,906 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00166 $0.02906
Opus 5 $0.00083 $0.01453
Sonnet 5 $0.00033 $0.00581
Haiku 4.5 $0.00017 $0.00291

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

Security

Grade C, and why

safe-public-release scanned grade C with 1 finding 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 11d ago.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$STAGING_ROOT/package"
skills/safe-public-release/SKILL.md · 371 lines

How it starts

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

Safe Public Release

Turn a private, vendor-provided, runtime-generated, or mixed artifact into a public package without leaking secrets, private state, or material that cannot be redistributed.

One pipeline:

intent → owner issue tree → inventory → provenance → license → security/privacy → allowlist → clean package → approval → publish → fresh public verification → maintenance

The skill is allowlist-first. Never copy a whole runtime/private directory and hope denylist cleanup finds everything.

Hard safety boundary

Publishing is an outward mutation. Before creating a public repository, changing visibility, pushing a release, or publishing to a registry:

  1. complete the inventory and release manifest;
  2. reach PACKAGE-READY with no unresolved provenance/license/security blockers;
  3. show the user the release dry run;
  4. receive explicit approval for the named public target and artifact set.

A request to "prepare" or "review" a release authorizes read-only analysis and private/internal artifacts, not public publication.

What this skill is for

  • public agent skills or plugin bundles;
  • prompts, templates, playbooks, starter kits, examples;
  • reusable source extracted from a private project;
  • workshop/course assets selected for public release;
  • benchmark fixtures or datasets;
  • demo repos derived from production/private work;
  • vendor/runtime exports with uncertain provenance;
  • moving an existing private repo or selected subtree to a public repo.

What this skill is NOT for

  • Upstream bugfix PR: use the repository's contribution/PR workflow and regression tests.
  • Security vulnerability disclosure: use the vendor's private security route.
  • Tool/product evaluation: route to the product/runtime owner; evaluation does not grant redistribution rights.
  • Creating a private corp- department:* use corp-new; it requires a separate approval dry run.
  • Simple public edit: when the source is already public, owner-authored, clearly licensed, and contains no mixed private/runtime state, use the normal repository workflow.

Read the full file on GitHub · 371 lines

Files

What ships with it

4 files 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. 11d ago First seen · 371 lines · 166 tokens per session scan C aa110d886dde

Subscribe to this mod's changes

safe-public-release is a skill published in the GitHub repository serejaris/personal-corp-os (225 stars, last pushed 15d ago), licensed MIT. It adds 166 tokens to every session and 2,906 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

changelog-composer

Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".

Mathews-Tom/armory · 67 tokens

repo-sentinel

Full security audit for public repositories across 12 attack surfaces: git history, secrets, CI/CD, containers, dependencies, licenses. Triggers on: "push to GitHub", "make repo public", "open source this", "is this safe to push", "release audit", "secret leaks".

Mathews-Tom/armory · 65 tokens

ship-workflow

Automated release pipeline: merges main, runs tests, pre-landing review, version bump, changelog, bisectable commits, and PR creation. Triggers on: "ship it", "release this", "prepare for release", "open a PR", "push and PR", "land this", "/ship-workflow".

Mathews-Tom/armory · 71 tokens

github

GitHub CLI operations via gh for issues, PRs, Actions, releases, and REST/GraphQL API with --json/--jq parsing. Triggers on: "create an issue", "submit a PR", "check CI status", "why did CI fail", "merge a PR", or pasted GitHub URLs.

Mathews-Tom/armory · 74 tokens

semantic-versioning

Use when committing or pushing changes and the repository needs a version bump. Analyzes commits using conventional commit prefixes to determine whether the next release is a major, minor, or patch increment. Also use when the user asks about versioning, release planning, or changelog generation.

Benkapner/claude-code-basecamp · 60 tokens

mx-pr

Draft a pull request from the feature spec and git log, run an autonomous commit-history cleanup (content check), then publish to GitHub or GitLab (Bitbucket experimental) — or hand off. Use when a feature branch is ready for PR, standalone or from mx-flow. Usage: /mx-pr [name].

maxence2997/mx-harness · 67 tokens