# Block secret leaks before commit or push with ggshield

> Scan staged changes, commits, or repositories for secrets before they leave the workstation or CI job, instead of relying on a later platform-side catch.

- Skill: `agentskillexchange/block-secret-leaks-before-commit-or-push-with-ggshield` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/block-secret-leaks-before-commit-or-push-with-ggshield`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/block-secret-leaks-before-commit-or-push-with-ggshield/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/block-secret-leaks-before-commit-or-push-with-ggshield

---


# Block secret leaks before commit or push with ggshield

Scan staged changes, commits, or repositories for secrets before they leave the workstation or CI job, instead of relying on a later platform-side catch.

## Prerequisites

Python environment or packaged ggshield install, Git, optional GitGuardian API key for full detector coverage

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://github.com/GitGuardian/ggshield

## Documentation

- https://github.com/GitGuardian/ggshield#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/block-secret-leaks-before-commit-or-push-with-ggshield/)

