/safe-public-release
Use when publishing, open-sourcing, exporting, sanitizing, or moving code, agent skills, prompts, templates, fixtures, datasets, workshop assets, or other artifacts from a private repository, vendor/runtime environment, or mixed working directory into a public repository or
$ npx -y skills add serejaris/personal-corp-os --skill safe-public-release --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/safe-public-release
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use when publishing, open-sourcing, exporting, sanitizing, or moving code, agent skills, prompts, templates, fixtures, datasets, workshop assets, or other artifacts from a private repository, vendor/runtime environment, or mixed working directory into a public repository or
SKILL.md
safe-public-release.SKILL.mdname: safe-public-release
description: >-
Use when publishing, open-sourcing, exporting, sanitizing, or moving code,
agent skills, prompts, templates, fixtures, datasets, workshop assets, or
other artifacts from a private repository, vendor/runtime environment, or
mixed working directory into a public repository or registry. Builds a
provenance inventory, license/security review, explicit allowlist, clean
staging package, approval dry run, and fresh public clone/install smoke.
Triggers on "open source this", "publish these skills", "make this repo
public", "export and sanitize", "подготовь публичный релиз", "выложи
скиллы", "опенсорсни", "санитизируй и опубликуй". NOT for ordinary
upstream bugfix PRs, vulnerability disclosure, or creating a corp-* department.
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.
Setup
Resolve configuration from the user, project instructions, then defaults:
## Safe Public Release Config
- internal_owner_repo: owner/corp-opensource-or-project
- public_github_owner: owner
- staging_root: /tmp/safe-public-release
- allowed_public_licenses: MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause
- secret_scanners: gitleaks, trufflehog
- approval_mode: explicit-before-publish
Do not block preparation when optional scanners are unavailable. Record the limitation and keep the release blocked until equivalent manual and repository-native checks are completed. Never claim a scan ran when it did not.
Owner issue tree
Before extraction or packaging, find or create three scopes in the internal owner repo:
1. **Owner epic** — intended release, audience, source, risk owner, definition of done. 2. **Inventory/review child** — provenance, licenses, companion files, security classification, allowlist. 3. **Publish/verify child** — public repo/package creation after approval, fresh-clone verification, maintenance.
Separate unrelated work:
- product/tool smoke → product/runtime owner;
- runner or CI provisioning → infrastructure owner;
- launch content/distribution → media/community owner;
- commercial negotiation → sales/CRM owner.
If the user has an issue-management skill such as `manager`, use it for the issue tree and cross-repo links.
Status model
Use exactly one current status:
Progress states
- `DISCOVERED`
- `INVENTORY`
- `PROVENANCE-CLEARED`
- `LICENSE-CLEARED`
- `SECURITY-CLEARED`
- `PACKAGE-READY`
- `APPROVED`
- `PUBLISHED`
- `VERIFIED`
- `MAINTAINED`
Block states
- `BLOCKED-PROVENANCE`
- `BLOCKED-LICENSE`
- `BLOCKED-SECURITY`
- `BLOCKED-OWNER-APPROVAL`
- `NO-GO-VENDOR-PROTECTED`
- `NO-GO-MIXED-PRIVATE-DATA`
Every blocked status needs one concrete `unblock_event`: source found, written permission, license clarified, secret removed and rotated, scope reduced, or owner approval.
Step 1 — Capture the release intent
Record:
- intended public artifact/repository;
- target audience and use case;
- source environments/repositories/providers;
- expected bundles;
- intended public license;
- owner who can approve publication;
- maintenance owner after publication.
Do not create the public repository yet.
Step 2 — Inventory before copying
Create `release-manifest.yaml` using [the bundled template](references/release-manifest.example.yaml).
For each candidate artifact record:
- stable artifact ID;
- source provider/owner;
- source version, tag, commit, or product version;
- source locator in an **internal** note; public manifest must not contain private absolute paths or internal URLs;
- original license/terms;
- redistribution basis;
- whether it was modified and how;
- complete companion-file bundle;
- exclusions and reason;
- current decision.
Visibility inside an application or runtime does not prove ownership or permission to redistribute.
Step 3 — Classify every file
| Class | Default decision | |---|---| | Owner-authored source | Candidate after license/security review | | Third
Read more
name: safe-public-release description: >- Use when publishing, open-sourcing, exporting, sanitizing, or moving code, agent skills, prompts, templates, fixtures, datasets, workshop assets, or other artifacts from a private repository, vendor/runtime environment, or mixed working directory into a public repository or registry. Builds a provenance inventory, license/security review, explicit allowlist, clean staging package, approval dry run, and fresh public clone/install smoke. Triggers on "open source this", "publish these skills", "make this repo public", "export and sanitize", "подготовь публичный релиз", "выложи скиллы", "опенсорсни", "санитизируй и опубликуй". NOT for ordinary upstream bugfix PRs, vulnerability disclosure, or creating a corp-* department.
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.
Setup
Resolve configuration from the user, project instructions, then defaults:
## Safe Public Release Config - internal_owner_repo: owner/corp-opensource-or-project - public_github_owner: owner - staging_root: /tmp/safe-public-release - allowed_public_licenses: MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause - secret_scanners: gitleaks, trufflehog - approval_mode: explicit-before-publish
Do not block preparation when optional scanners are unavailable. Record the limitation and keep the release blocked until equivalent manual and repository-native checks are completed. Never claim a scan ran when it did not.
Owner issue tree
Before extraction or packaging, find or create three scopes in the internal owner repo:
1. **Owner epic** — intended release, audience, source, risk owner, definition of done. 2. **Inventory/review child** — provenance, licenses, companion files, security classification, allowlist. 3. **Publish/verify child** — public repo/package creation after approval, fresh-clone verification, maintenance.
Separate unrelated work:
- product/tool smoke → product/runtime owner;
- runner or CI provisioning → infrastructure owner;
- launch content/distribution → media/community owner;
- commercial negotiation → sales/CRM owner.
If the user has an issue-management skill such as `manager`, use it for the issue tree and cross-repo links.
Status model
Use exactly one current status:
Progress states
- `DISCOVERED`
- `INVENTORY`
- `PROVENANCE-CLEARED`
- `LICENSE-CLEARED`
- `SECURITY-CLEARED`
- `PACKAGE-READY`
- `APPROVED`
- `PUBLISHED`
- `VERIFIED`
- `MAINTAINED`
Block states
- `BLOCKED-PROVENANCE`
- `BLOCKED-LICENSE`
- `BLOCKED-SECURITY`
- `BLOCKED-OWNER-APPROVAL`
- `NO-GO-VENDOR-PROTECTED`
- `NO-GO-MIXED-PRIVATE-DATA`
Every blocked status needs one concrete `unblock_event`: source found, written permission, license clarified, secret removed and rotated, scope reduced, or owner approval.
Step 1 — Capture the release intent
Record:
- intended public artifact/repository;
- target audience and use case;
- source environments/repositories/providers;
- expected bundles;
- intended public license;
- owner who can approve publication;
- maintenance owner after publication.
Do not create the public repository yet.
Step 2 — Inventory before copying
Create `release-manifest.yaml` using [the bundled template](references/release-manifest.example.yaml).
For each candidate artifact record:
- stable artifact ID;
- source provider/owner;
- source version, tag, commit, or product version;
- source locator in an **internal** note; public manifest must not contain private absolute paths or internal URLs;
- original license/terms;
- redistribution basis;
- whether it was modified and how;
- complete companion-file bundle;
- exclusions and reason;
- current decision.
Visibility inside an application or runtime does not prove ownership or permission to redistribute.
Step 3 — Classify every file
| Class | Default decision | |---|---| | Owner-authored source | Candidate after license/security review | | Third
Personal Corp is a way to run a one-person company through AI agents: tasks out of your head, departments instead of one person's memory, a weekly retro instead of "I'll sort it out someday".
Other skills on personal-corp-os.
- /paperclip-api
Use when managing Paperclip AI agent companies - creating tasks, managing agents, approving hires, running heartbeats, or any Paperclip control-plane operations via CLI or REST API. Triggers on "paperclip", "задача агенту", "одобри найм", "heartbeat", "запусти агента".
Open skill - /art-director
Orchestrate iterative visual style searches with branch prompts, decision graphs, feedback loops, and final direction selection.
Open skill - /cc-analytics
Use when user asks for Claude Code usage stats, weekly analytics, project activity summary, or wants to see what projects were worked on. Triggers on "аналитика", "статистика claude", "cc stats", "weekly report", "что делал
Open skill - /ceo-council
Use when needing strategic project analysis from multiple independent expert perspectives. Triggers on business decisions, growth strategy, product direction, competitive analysis, or any situation where diverse C-level opinions reduce blind spots
Open skill - /claude-md-writer
Use when creating or refactoring CLAUDE.md files - enforces best practices for size, structure, and content organization
Open skill - /corp-doctor
Use when a Personal Corp operating loop needs setup, repair, a new department, or task routing: HQ files and agent rules, GitHub issue workflow, corp-* owner map, department repositories, or deciding which repo an issue belongs to. Triggers: "corp doctor", "почини контур",
Open skill

