By GitGuardian
The official GitGuardian plugin for AI coding agents. Detect hardcoded secrets, plant honeytokens, and triage incidents using ggshield, the GitGuardian Developer MCP server, and the GitGuardian API.
Check whether a known credential has already leaked publicly via GitGuardian's HasMySecretLeaked (HMSL) hash-lookup service. Use when the user inherits credentials, suspects a specific token leaked, wants to vet a HashiCorp Vault inventory, or asks "has this secret leaked", "is this compromised", or "check against HMSL". Distinct from scan-secrets, which finds unknown secrets in code; this checks known secrets against the HMSL corpus. User-run only — this is a command-handoff skill, so the agent prepares the commands, the user runs them in their own terminal, and the agent only interprets the sanitized output the user pastes back.
Use when generating or planting GitGuardian honeytokens, canary tokens, decoys, or tripwire credentials. Use around .env.example, sample configs, pre-publication open-source repos, internal wikis, runbooks, deploy scripts, or other attractive leak surfaces.
Install ggshield as a git pre-commit or pre-push hook so hardcoded secrets are blocked before they enter git history. Use when setting up secret prevention on a repo, when the user asks to block or stop secrets from being committed or pushed, when configuring pre-commit hooks, or after a secret was caught and they want to prevent a recurrence. Local for one repo or global for all repos.
Scan a developer's entire machine for credentials across local git repositories, dotfiles, ~/.aws/credentials, ~/.kube/config, ~/.docker/config.json, ~/.npmrc, browser profile databases, shell history, AI agent caches, and abandoned project trees via ggshield machine scan. Use when preparing to wipe, sell, or hand off a laptop, when onboarding a new machine, when auditing what credentials live on a machine, or when the user explicitly asks to inventory secrets on the system itself. Requires endpoint scanning enabled on the GitGuardian workspace; not available on Free.
Use when scanning code, commits, git history, Docker images, or packages for hardcoded secrets, when editing credential-handling code, .env files, CI/CD workflows, Dockerfiles, or deployment scripts, or before committing or pushing.
External network access
Connects to servers outside your machine
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Find exposed credentials before attackers abuse them, block new leaks before they ship, and plant honeytokens to detect future misuse. This repo ships skill files that teach AI coding agents how to use GitGuardian through the GitGuardian CLI (ggshield), the Developer MCP server, and API-backed workflows where appropriate - when to scan, which flags to use, how to interpret findings, how to walk the user through removal and rotation, and when and where to plant honeytokens.
Supported agents: Claude Code, Codex, Cursor, VS Code (GitHub Copilot), Kiro. Install instructions below.
Four skills map to four slash commands:
/gitguardian:scan-secretsFind hardcoded secrets in paths, staged changes, commits, full history, Docker images, and packages.
Use when: handling credentials, editing .env or CI files, preparing a commit or push, or auditing a repo.
Key rule: scan first, then remediate from structured findings.
/gitguardian:create-honeytokensGenerate and place decoy AWS credentials.
Use when: planting decoys in .env.example, docs, runbooks, archived repos, or other attractive leak surfaces.
Key rule: plant where attackers look, not where engineers import.
/gitguardian:scan-machineAudit a whole developer machine for credentials across local repos, dotfiles, cloud CLI configs, shell history, AI agent caches, and abandoned project trees.
Use when: wiping, selling, returning, or auditing a developer machine.
Key rule: this is a broad endpoint scan and requires endpoint scanning on the GitGuardian workspace.
/gitguardian:check-hmslCheck known credentials against HasMySecretLeaked without exposing plaintext to the agent.
Use when: you already have a token, key, .env, vault inventory, or inherited credential list and want to know whether any value has appeared in indexed public leaks.
Key rule: user-run handoff only; the agent must not read or run against the credential file.
/gitguardian:install-git-hooksInstall ggshield as a git pre-commit or pre-push hook so secrets are blocked before they enter history.
Use when: setting up secret prevention on a repo, asking to block or stop secrets from being committed or pushed, configuring pre-commit hooks, or hardening after a secret was caught.
Key rule: prevention only — guards future commits/pushes. Existing code and history still need scan-secrets. Global mode modifies global git config; get explicit consent.
/gitguardian:triage-incidentsRead the secret incidents already detected in your GitGuardian dashboard, rank them by validity, severity, blast radius, and exposure, and drive remediation — rotation first, HMSL for unverifiable validity, history rewrite only when it earns its cost.
Use when: triaging or reviewing GitGuardian incidents, asking what's leaking in the org or what to fix first, remediating or rotating a credential flagged in an incident, responding to a Public Monitoring alert, or assigning/tagging/resolving incidents.
Key rule: the one MCP-first skill — it works through the GitGuardian Developer MCP server, not the ggshield CLI. Covers both internal and Public Monitoring incidents (non-interchangeable IDs). Never auto-resolves: writes are confirmation-gated and RESOLVED follows confirmed rotation.
Skills also auto-trigger from context. Editing .env files, CI configs, credential-handling code, or deployment scripts should activate scan-secrets; asking whether a known token has leaked should activate check-hmsl.
Add this repo as a plugin marketplace, then install the gitguardian plugin:
/plugin marketplace add GitGuardian/agent-skills
/plugin install gitguardian
npx claudepluginhub gitguardian/agent-skills --plugin gitguardianComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review