Repomix Safe Mixer
Package codebases with repomix while automatically detecting and removing hardcoded credentials before packing — so you never leak secrets when sharing code.
Bundling a repo for an LLM or a colleague is one accidental API key away from a leak. This playbook scans and strips credentials before repomix packs anything.
Who it's for: developers, security-conscious engineers, AI users
Example
"Package this repo to share with an LLM" → A repomix bundle with hardcoded secrets detected and removed first
CLAUDE.md Template
New here? 3-minute setup guide → | Already set up? Copy the template below.
npx ccplaybooks add repomix-safe-mixer# Repomix Safe Mixer
## Overview
Safely package codebases with repomix by automatically detecting and removing hardcoded credentials.
This skill prevents accidental credential exposure when packaging code with repomix. It scans for hardcoded secrets (API keys, database credentials, tokens), reports findings, and ensures safe packaging.
**When to use**: When packaging code with repomix for distribution, creating shareable reference packages, or whenever security concerns exist about hardcoded credentials in code.
## Core Workflow
Get new playbooks like this one
One email a week with new Claude Code workflows. Free, like everything here.
No spam. Unsubscribe anytime.
What This Does
Package codebases with repomix while automatically detecting and removing hardcoded credentials before packing — so you never leak secrets when sharing code.
What's Inside
The template covers:
- Core Workflow
- Standalone Secret Scanning
- Detected Secret Types
- Handling Detected Secrets
- Post-Exposure Actions
- Common False Positives
Quick Start
Step 1: Create a Project Folder
Make a dedicated folder for this workflow and open it in Claude Code.
Step 2: Download the Template
Click Download above to save the template, then drop it into your project as CLAUDE.md (or paste it into your existing one).
Step 3: Start Working
Tell Claude what you need in plain language — it will follow the template's workflow automatically. For example:
Package this repo to share with an LLM
Claude reads the template and runs the steps for you.