# 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.

Safe Public Release is a free AI agent skill on Agensi by Carlano Technology Solutions, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Carlano Technology Solutions](https://www.agensi.io/creators/carlano-technology-solutions)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/safe-public-release
- Tags: ai-agents, github, security, devops, git

## 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
1. **Initialize configuration** by defining allowlisted files in `publish-allowlist.txt` and sensitive patterns in `publish.conf`.
2. **Execute the history gate** to scan existing repository history for non-allowlisted paths or personal data before flipping a repo to public.
3. **Stage the release** using scripts that copy approved files to a neutral directory and verify SHA-256 checksums.
4. **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.

## Requires

- Python
- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Safe Public Release skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How is this different from just using a .gitignore file?

This skill replaces 'ignore lists' with a strict 'allowlist-only' staging area, meaning only files you explicitly approve move to the public repo, preventing accidental leaks of local paths, metadata, or sensitive files often missed by human reviewers.

### What specific assets are included in the purchase?

The skill provides a suite of Bash and Python scripts, configuration templates for allowlisting, and a step-by-step workflow guide to integrate these safety gates into your existing GitHub pipeline.

### Can this skill detect leaks inside compiled binary files?

Yes, the scripts are designed to scan both source code for sensitive strings and compiled binaries for hardcoded home directory paths or compiler diagnostics that could reveal your local environment.

### Which AI agents or frameworks are compatible with this workflow?

Safe Public Release is compatible with any AI agent or developer environment capable of executing Python and Bash scripts, and it is specifically optimized for projects hosted on GitHub and GitHub Pages.

### Are there any security tasks this skill does not cover?

While this skill ensures your release files are clean and verified, it does not manage macOS-specific notarization, code signing, or complex cloud-native deployment secrets (like AWS/GCP keys).

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
