- Home
- Skills
- Code Quality & Review
- public repo preflight
Works with the AI Agents you already use
public repo preflight
Audit Git repositories for secrets, personal data, and oversized files buried in history before going public.
$5
public repo preflight
Example session with this skill installed
Run a preflight check on this repository. My name is "Jane Doe" and I used to work at "Acme Corp", so those shouldn't be in the history.
- Read your context and instructions
- Compiled the public repo preflight
I have completed a read-only audit of the repository history and current file tree. I checked 154 commits and scanned for the names "Jane Doe" and "Acme Corp".
Not ready: 3 things to fix first
Preflight Findings
| # | What | Where | Why it matters | Safest fix |
|---|---|---|---|---|
| 1 | Potential API Key | config/settings.py line 12 | sk_live_4a1b... appears to be a live secret. | Replace at the service, add to .gitignore, and rewrite history. |
| 2 | Personal Path | history: commit f3a2d1b | Contains /Users/janedoe/projects/ in a hardcoded path. | Rewrite history with git filter-repo or start a fresh repo. |
| 3 | Oversized File | history: commit b9e8d7c | assets/raw_video.mov is 142MB; exceeds GitHub limits. | Use git filter-repo to remove the blob from history. |
| 4 | Workplace Name | docs/internal.md | Mentions "Acme Corp" in the header. | Remove or replace the text in the current file and commit. |
Next steps
- Revoke the identified Stripe API key immediately via the dashboard.
- Use
git filter-repoto scrub the home directory paths and the large video file from the history. - Update the
docs/internal.mdfile to remove the previous workplace reference.
I did not check the contents of vendor/binary_blob.bin as it is a non-text format.
Connects securely to your tools. The creator never sees your data.
About this skill
Deleting a sensitive file from your latest commit does not remove it from Git history. When a repository goes public, every past version of every file becomes accessible to the world. This skill audits your local repository to find secrets, personal data, and oversized blobs buried in the logs before they reach a public remote.
What it does
- Secret detection scans current files and past commits for API keys, passwords, and private key blocks using pattern matching.
- Privacy audit identifies home directory paths, personal email addresses, and specific names or workplaces within the code and commit signatures.
- History inspection targets deleted files and past versions that still exist in the Git object database.
- Bloat analysis flags files over 10 MB and large objects in the history that could trigger GitHub's upload limits.
- License verification checks for the presence of a LICENSE file and ensures it aligns with project documentation.
How it works
- Initial survey runs basic Git diagnostics to count commits and check for uncommitted changes.
- Context gathering asks for specific names or terms that must remain private to customize the search.
- Deep scan executes read-only Git commands to analyze the current tree and the full commit history.
- Impact reporting generates a prioritized table of findings including the specific location and the safest remediation path.
Frameworks & tools
This skill uses standard Git CLI commands such as git rev-list, git log -G, and git cat-file. It works with any repository regardless of the programming language or framework.
Why this beats prompting it yourself
Standard prompts often forget that Git history is immutable by default. This skill systematically searches through deleted objects and past diffs that a simple file search would miss. It follows a strict read-only protocol to ensure your repository state is never accidentally altered during the audit.
Use cases
- Auditing a private enterprise project before open-sourcing it to the community.
- Checking a new repository before the very first push to a public GitHub remote.
- Identifying why a repository has become unexpectedly large and difficult to clone.
- Verifying that sensitive
.envdata hasn't been accidentally committed in a previous sprint.
Known limitations
This skill is read-only and will not perform the actual history rewrites or secret rotations. It cannot detect secrets inside compressed archives or binary files.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 1 day ago
- Passed all security checks, Safe to install
Requires