# Repository Bootstrap

> Turn a messy folder of scripts into a clean, professional, and secure project ready for GitHub.

Repository Bootstrap is a paid AI agent skill on Agensi by callitmagic, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $6.99 (one-time purchase)
- Creator: [callitmagic](https://www.agensi.io/creators/callitmagic)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-12-02
- Security: scan passed (2026-08-31); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/repository-bootstrap
- Tags: workflow-automation, security, git, devops, python, javascript

## What it does

- Finds and extracts API keys, passwords, and private document links from your source code
- Moves all detected secrets into a single configuration file for safer management
- Writes a professional README file with clear setup and usage instructions for others
- Creates a hide-list to prevent private files from being uploaded to the web
- Checks for broken links or large files before you save your progress
- Proposes the exact commands to create and push your project to a cloud account

## Who it's for

- **Founders with a folder of messy prototype scripts:** Turn your quick prototype into a professional project without leaking your private data. Try: "Bootstrap this project folder so I can put it on GitHub safely."
- **Freelancers sharing code with clients:** Clean up your code and add clear setup instructions so your clients can run it easily. Try: "Prep this folder for a client and move my API keys to a config file."
- **Marketers using scripts for data tasks:** Keep your private Google Sheet links and database IDs out of your code files. Try: "Scan this folder for private links and set up git."

## About this skill

If you have a folder full of scripts that work, but the code is messy and full of private API keys or database links, this skill is for you. It helps you get ready to share your work on GitHub without accidentally leaking your secrets. It scans every file to find things that should stay private, like passwords, Notion links, or Google Sheet IDs.

**How it works**

1. Give the folder path to your AI agent and it scans every script to see how the project works.
2. It finds every hidden secret, private link, or hardcoded ID and moves them into a single, safe folder.
3. It updates your scripts to read from that safe folder instead of having the secrets written directly in the code.
4. It creates a README with setup steps and a hide-list so your private files never get uploaded.
5. It runs a safety check for any missed secrets before helping you make your first save and upload.

**What you get:** A clean, organized project folder that is safe to upload to GitHub with a professional README and no leaked secrets.

## Known limitations

Requires gh CLI for GitHub operations. Does not auto-resolve diverged git histories between local and remote repos. Requires user approval for all destructive or public-facing actions.

## Technical details

This skill uses Bash and file-editing tools to scan project directories. It detects secrets using regex patterns for high-entropy strings and specific prefixes like ghp or sk. It performs AST-like updates in languages including Python, JS/TS, and R to replace literals with JSON config loads. It uses the GitHub CLI (gh) for remote repository management and git for local version control. All pre-commit checks are logged to an issues.md file before final commit approval.

## 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 Repository Bootstrap skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Which programming languages and AI agent platforms are compatible with this skill?

The skill supports common source code formats including Python, JavaScript, TypeScript, and Shell scripts, as well as configuration files like YAML, TOML, and JSON. It is designed to work across most popular AI agent platforms that have filesystem access permissions.

### Will this skill expose my private API keys or credentials in the chat logs during the cleanup process?

No, the skill prioritizes safety by moving detected secrets into a local `config/config.json` file and adding that file to your `.gitignore`. It never prints the actual secret values in its reports or logs to prevent them from appearing in your agent's conversation history.

### What specific pre-commit checks does the skill perform before it suggests a GitHub push?

The skill checks for missing imports, merge conflict markers, oversized files, and any remaining hardcoded secrets that couldn't be safely migrated. These findings are compiled into an `issues.md` report so you can address them before the final push.

### Can I use this on a project that already has a partial README or an existing git history?

Yes, if a README or .gitignore already exists, the skill intelligently extends them with new instructions and rules rather than overwriting your existing work. It ensures your original documentation is preserved while adding the necessary setup and security steps.

### What is included in the Repository Bootstrap purchase?

You receive the full skill package including the logic for credential detection, the automated documentation engine, and the pre-commit validation workflow. Future updates and improvements to the detection patterns are included with your marketplace purchase.

---

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.
