LogoClawIndex
CasesSkillsAbout
LogoClawIndex

env-secrets-hygiene - Audit repo secrets, fix env setup, and rotate leaked keys

Audits working tree and git history for leaked secrets, configures .env and .gitignore files, and guides key rotation.

Tags

Updated: 2026-09-18

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Scan working tree for leaked secrets
  • Scan git history for leaked secrets
  • Verify .env git ignore status
  • Untrack .env from git index
  • Create .env.example placeholder file
  • Rewrite git history with confirmation
  • Generate secrets audit report

Inputs

  • Git repository
  • Project source files
  • User confirmation for history rewrite

Outputs

  • Secrets audit report
  • Updated .gitignore file
  • Created .env.example file
  • Untracked .env file status

Requirements

  • git CLI tool
  • grep command line utility
  • git-filter-repo tool for history rewrite

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Security
Secrets
Environment
Git
Audit
Scan working tree for leaked secrets
Scan git history for leaked secrets
Verify .env git ignore status
Untrack .env from git index
Git repository
Project source files
User confirmation for history rewrite
Secrets audit report
Updated .gitignore file
Created .env.example file