daymade avatar

Repomix Safe Mixer

This wraps repomix packaging with automatic credential scanning to prevent you from accidentally sharing API keys and secrets in your code bundles. It blocks the pack operation if it detects patterns like AWS keys, Supabase URLs, JWTs, or Stripe tokens, giving you file and line locations to clean up first. The workflow is straightforward: run safe_pack.py on your directory and it either packages cleanly or stops and shows you what needs fixing. It's particularly smart about skipping false positives like placeholder text and environment variable references. Honestly, this should probably be the default way to run repomix if you're sharing packages with anyone, since it's too easy to miss a hardcoded credential buried in a large codebase.

skills.sh installs
946
GitHub stars
1.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add daymade/claude-code-skills --skill repomix-safe-mixer --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Standard Safe Packaging

Use safe_pack.py from this skill's scripts/ directory for the complete workflow: scan β†’ report β†’ pack.

python3 scripts/safe_pack.py <directory>

What it does:

  1. Scans directory for hardcoded credentials
  2. Reports findings with file/line details
  3. Blocks packaging if secrets found
  4. Packs with repomix only if scan is clean

Example:

python3 scripts/safe_pack.py ./my-project

Output if clean:

πŸ” Scanning ./my-project for hardcoded secrets...
βœ… No secrets detected!
πŸ“¦ Packing ./my-project with repomix...
βœ… Packaging complete!
   Package is safe to distribute.

Sponsors

Details

Repository
github.com/daymade/claude-code-skills
Category
Security
First seen
Jun 3, 2026

More from daymade/claude-code-skills

All 53

Recommended

More Security
1alirezarezvani avatartech-stack-evaluatoralirezarezvani/claude-skillsTechnology stack evaluation and comparison with TCO analysis, security assessment, and ecosystem health scoring. Use when comparing frameworks, evaluating techn923skills.sh installs
2liveblocks avatarliveblocks-best-practicesliveblocks/skillsUse this skill when building, debugging, or answering questions about Liveblocks. Liveblocks gives you the building blocks and infrastructure to enable people a923skills.sh installs
3secondsky avatarapi-testingsecondsky/claude-skillsHTTP API testing for TypeScript (Supertest) and Python (httpx, pytest). Test REST APIs, GraphQL, request/response validation, authentication, and error handling910skills.sh installs
4mindrally avatarbash-scriptingmindrally/skillsBash scripting guidelines covering security, portability, error handling, and automation best practices for DevOps.906skills.sh installs
5zxkane avataraws-cost-operationszxkane/aws-skillsAWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up CloudWatch alarms, querying log905skills.sh installs
6mindrally avatardjango-rest-api-developmentmindrally/skillsComprehensive guidelines for building scalable Django REST APIs with proper architecture, authentication, and performance optimization.900skills.sh installs