sanitize-git-repo

Official

Systematically remove secrets from git history.

Authorletta-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a disciplined approach to detecting and sanitizing credentials, API keys, and tokens from both working trees and, critically, git history.

Core Features & Use Cases

  • Secret detection: Pattern-based and file-based scanning to identify secrets.
  • Working directory sanitization: Replace sensitive values with safe placeholders while preserving file validity.
  • Git history sanitization: Thorough cleanup using tools like BFG or git-filter-repo to purge secrets from history.

Quick Start

Example: scan a repository for AWS keys and replace them with placeholders, then purge the history to remove traces.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sanitize-git-repo
Download link: https://github.com/letta-ai/skills/archive/main.zip#sanitize-git-repo

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.