# Skill: Gitleaks Secret & Key Detector (gitleaks-secret-detector) Description: Audits git repositories for committed API keys, tokens, passwords, and private SSH keys using Gitleaks. Repository: https://github.com/security-agent-skills/gitleaks-detector Skill Path: skills/gitleaks-detector Branch: main License: MIT Version: 1.0.0 ## Requirements - Gitleaks binary installed on PATH ## Supported Agents & Install Guides ### Claude Code Global Location: ~/.claude/skills/gitleaks-secret-detector/SKILL.md Project Location: /.claude/skills/gitleaks-secret-detector/SKILL.md Manual Steps: 1. Create the skill folder: mkdir -p ~/.claude/skills/gitleaks-secret-detector 2. Copy the SKILL.md file into that folder. 3. Copy any supporting files (scripts/, references/) into the same folder. 4. Reload skills in Claude Code with the /reload-skills command. Agent Prompt: Please install the "Gitleaks Secret & Key Detector" skill from https://github.com/security-agent-skills/gitleaks-detector. 1. Clone or download the repository from https://github.com/security-agent-skills/gitleaks-detector 2. Copy the folder "skills/gitleaks-detector" to ~/.claude/skills/gitleaks-secret-detector/SKILL.md 3. The skill files should now be at: ~/.claude/skills/gitleaks-secret-detector/SKILL.md 4. Confirm what was installed and verify the SKILL.md file exists. --- ### Codex CLI Global Location: ~/.codex/AGENTS.md Project Location: /AGENTS.md Manual Steps: 1. Copy the skill's instructions to your project's AGENTS.md file at the repo root. 2. For global use, add them to ~/.codex/AGENTS.md instead. 3. Codex reads AGENTS.md files from the repo root down to your current directory. 4. Restart your Codex session to pick up the changes. Agent Prompt: Please install the "Gitleaks Secret & Key Detector" skill from https://github.com/security-agent-skills/gitleaks-detector. 1. Clone or download the repository from https://github.com/security-agent-skills/gitleaks-detector 2. Copy the folder "skills/gitleaks-detector" to ~/.codex/AGENTS.md 3. The skill files should now be at: ~/.codex/AGENTS.md 4. Confirm what was installed and verify the SKILL.md file exists. --- ### Cursor Global Location: Cursor Settings → Rules (global rules UI) Project Location: /.cursor/rules/.mdc Manual Steps: 1. Create the rules directory: mkdir -p .cursor/rules/ 2. Save the skill as a .mdc file with YAML frontmatter (description, globs). 3. Example: .cursor/rules/my-skill.mdc 4. Cursor auto-loads .mdc files from .cursor/rules/ on session start. Agent Prompt: Please install the "Gitleaks Secret & Key Detector" skill from https://github.com/security-agent-skills/gitleaks-detector. 1. Clone or download the repository from https://github.com/security-agent-skills/gitleaks-detector 2. Copy the folder "skills/gitleaks-detector" to Cursor Settings → Rules (global rules UI) 3. The skill files should now be at: Cursor Settings → Rules (global rules UI) 4. Confirm what was installed and verify the SKILL.md file exists. ---