Secret Scan — Development skill for Claude Code
Scan working directory untuk secrets — gitleaks detect mode, custom rules, fail-fast kalau ada leak.
How to install Secret Scan
Installs to ~/.claude/skills/fqih-.mycc-setup-secret-scan/SKILL.md
mkdir -p ~/.claude/skills/fqih-.mycc-setup-secret-scan && curl -fsSL https://raw.githubusercontent.com/Fqih/.mycc-setup/HEAD/commands/secret-scan.md -o ~/.claude/skills/fqih-.mycc-setup-secret-scan/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Secret Scan does
description: Scan working directory untuk secrets — gitleaks detect mode, custom rules, fail-fast kalau ada leak.
/secret-scan
Scan working directory (staged + unstaged) untuk secret leak. Fail-fast kalau ditemukan.
Mode 1: Scan staged only (before commit)
# v8 detect tidak punya --staged; pakai --pipe dengan git diff
git diff --cached | ~/.local/bin/gitleaks detect \
--no-git \
--pipe \
--config .gitleaks.toml \
--redact \
--exit-code 2 \
-v
Mode 2:
Alternatives in Development
- Agent.Extras.Workdir Structure — File structure of working directory {{folder}} 19k ★
- JWT Scan — JWT attack toolkit (offline) — alg:none forgery, RS256→HS256 algorithm confusion, weak-secret crack, static cl 4.5k ★
- /token Scan — Fast rug pull detection for meme coins and token contracts 1.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Heeler Secrets Scan
Run Heeler secret scanning for a repository or staged changes. Use when comitting code or the user asks to det
Claude Secret Guard Kit
Block Claude Code from reading, echoing, or committing your secrets. Read-deny rules + shell filename guard +
Secret Detect
🔒 Secret Detect
Cc Agents Kit
Claude Code plugin marketplace. guard-hooks: five defensive hooks that block dangerous shell commands and secr
Paperclip Adapter Hermes Local Plus
Drop-in replacement for Paperclip's built-in hermes_local adapter — production-grade Hermes Agent integration
Skill Scan Gate
CI gate for Claude Code skills and plugins: scans a skills or plugin repository for instruction-override text,
Related Agents
ForensicAgent
Forensic security analyst — PII detection, secret scanning, identity leak auditing across git history, staged
Secret Purist
The paranoid sentinel of credential security. Use this agent to scan codebases and git history for leaked secr
Secret Guard
MUST be used whenever the user asks to scan for secrets, API keys, credentials, or tokens before a commit or i