- Home
- Skills
- Agents & Orchestration
- Safe Public Release
Safe Public Release
>A skill to help uses make sure their data is anonymized and checked for personal information before uploading. It also helps stage the release and organizes files.
Free
Safe Public Release
Example session with this skill installed
I need to release version 1.2.0 of my project to a new public GitHub repo. I want to make sure my local path '/Users/dev/work' and my personal email aren't leaked in the code or the git history.
- Read your context and instructions
- Compiled the safe public release
I have initialized the safe release workflow. I will now prepare a staged repository that excludes your local paths and uses a masked GitHub identity for the commits.
Public Release Preparation: v1.2.0
I have performed the initial scan and staging setup. No leaks were detected in the allowlisted files.
1. Configuration Audit
| Component | Status | Value/Path |
|---|---|---|
| Identity | Masked | dev-user@users.noreply.github.com |
| Leak Pattern | Active | /Users/dev/work |
| Staging Path | Ready | /tmp/stage-repo-v1.2.0/ |
| Allowlist | Verified | 12 files (README.md, src/, LICENSE, etc.) |
2. Pre-flight Check (scripts/publish-gate.sh)
[INFO] Starting publish-gate.sh...
[PASS] No forbidden files (.env, .git, logs) found in staging.
[PASS] All 12 allowlisted files accounted for.
[PASS] Pattern check: 0 instances of '/Users/dev/work' found.
[PASS] Pattern check: 0 instances of personal email found.
[PASS] SHA-256 checksums generated for all artifacts.
3. Staging Summary
A fresh, single-commit repository has been created at /tmp/stage-repo-v1.2.0/. This repository contains no previous history and uses the masked identity as the author.
Next steps
- Run
scripts/push-staged.sh --stage /tmp/stage-repo-v1.2.0/to preview the final commit. - Confirm the preview, then add the
--pushflag to publish to your empty GitHub remote. - Run
scripts/verify-live.shonce the repository is public to confirm accessibility.
Connects securely to your tools. The creator never sees your data.
About this skill
Publishing to GitHub often leaks private data. Hardcoded home directory paths, personal email addresses in commit metadata, or sensitive files accidentally added to a repository can stay in git history forever. This skill provides a scripted, allowlist-only workflow to ensure your public releases are clean and verified.
What it does
- Leak prevention scans binaries and source code for usernames, home directory paths, and private email domains before they are published.
- Staged publishing creates a separate, allowlisted scratch folder so only explicitly approved files ever reach the public repository.
- Commit identity masking configures a dedicated staging identity to prevent your personal email from appearing in public commit metadata.
- Binary sanitization provides language-specific flags and verification tools to strip compiler diagnostics and build paths from shipped artifacts.
- Live verification fetches public URLs with cache-busting queries to confirm that the served files, hashes, and version strings match your local build.
How it works
- Initialize configuration by defining allowlisted files in
publish-allowlist.txtand sensitive patterns inpublish.conf. - Execute the history gate to scan existing repository history for non-allowlisted paths or personal data before flipping a repo to public.
- Stage the release using scripts that copy approved files to a neutral directory and verify SHA-256 checksums.
- Push and verify by performing a dry run of the single-commit push followed by a live check of the GitHub Pages download links and manifests.
Frameworks & tools
The skill utilizes Bash and Python scripts designed for GitHub and GitHub Pages environments. It handles SHA-256 checksum verification and regex-based pattern matching for various file types and binaries.
Why this beats prompting it yourself
Manual cleanup often misses hidden metadata in compiled binaries or deep git history. This skill enforces an allowlist-only model where anything not explicitly mentioned is blocked, moving away from the error-prone "ignore list" approach.
Use cases
- Launching an open-source project from a previously private development folder.
- Updating a GitHub Pages download site with verified version strings and hashes.
- Auditing a compiled binary to ensure it contains no local machine paths.
- Recovering from an accidental leak by staging a fresh, clean repository.
Known limitations
This skill does not handle macOS app signing or notarization. It is focused on GitHub-specific workflows and requires local execution of provided scripts.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Python
Git
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.