🔐
DevOpsPython

Secrets Detection With Gitleaks

by AgentSecOps

Secrets Detection With Gitleaks is a DevOps skill for Claude Code, published by AgentSecOps in SecOpsAgentKit.

204 stars39 forkson AgentSecOps/SecOpsAgentKitAdded 2026/09/05+1% in starsRepository updated 2026/04/15
agentsai-agentsanthropicappsecclaude-codedastdevsecopsllm-toolssastsecuritysecurity-automationsecurity-toolsshift-leftvulnerability-scanning
Install in seconds
Install Secrets Detection With Gitleaks
Copy Secrets Detection With Gitleaks into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/AgentSecOps/SecOpsAgentKit/tree/main/skills/devsecops/secrets-gitleaks ~/.claude/skills/secrets-gitleaks

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/AgentSecOps/SecOpsAgentKit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/devsecops/secrets-gitleaks/SKILL.md in AgentSecOps/SecOpsAgentKit
Installs to
~/.claude/skills/secrets-gitleaks
Collection
One of 25 skills cataloged from this repository
Category
DevOps973 skills

What Secrets Detection With Gitleaks does

Secrets Detection With Gitleaks scans git repositories and codebases for hardcoded passwords, API keys, tokens, and credentials. Use it to audit code, add pre-commit protection, and integrate secret checks into CI/CD or history cleanup workflows.

Secrets Detection With Gitleaks is cataloged under DevOps on DirSkills. Secrets Detection With Gitleaks comes from a repository tagged agents, ai-agents, anthropic, appsec and claude-code.

Documentation

README

Secrets Detection with Gitleaks

Overview

Gitleaks is a secret detection tool that scans git repositories, files, and directories for hardcoded credentials including passwords, API keys, tokens, and other sensitive information. It uses regex-based pattern matching combined with Shannon entropy analysis to identify secrets that could lead to unauthorized access if exposed.

This skill provides comprehensive guidance for integrating Gitleaks into DevSecOps workflows, from pre-commit hooks to CI/CD pipelines, with emphasis on preventing secret leakage before code reaches production.

Quick Start

Scan current repository for secrets:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Secrets Detection With Gitleaks

  • What else does AgentSecOps publish alongside Secrets Detection With Gitleaks?

    Secrets Detection With Gitleaks is one of 25 skills that DirSkills catalogs from AgentSecOps/SecOpsAgentKit, the repository it ships in. Its siblings there include Api Spectral, Bandit Python SAST and Black Duck SCA. Each one is a separate skill with its own page in this directory, installs the same way Secrets Detection With Gitleaks does, and is maintained by AgentSecOps in that same repository. The rest of the collection is listed on the AgentSecOps/SecOpsAgentKit page.

  • How does Secrets Detection With Gitleaks compare to other DevOps skills?

    Secrets Detection With Gitleaks ranks #859 by stars among the 973 DevOps skills in this catalog. The most-starred ones next to it are Backend Patterns, API Connector Builder and Migration. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Secrets Detection With Gitleaks against them. Open each page to compare what they document and how they install.

More from AgentSecOps/SecOpsAgentKit

Secrets Detection With Gitleaks is one of 25 skills cataloged on DirSkills from AgentSecOps/SecOpsAgentKit.

See all 25 skills
🔍
49m ago

Api Spectral

Api Spectral lints OpenAPI, AsyncAPI, and Arazzo specifications for security issues and design flaws. Use it to enforce API governance, OWASP API Security Top 10 checks, and custom rules in CI/CD pipelines.
Quality
20439
🛡️
49m ago

Bandit Python SAST

Bandit Python SAST scans Python code for security vulnerabilities and anti-patterns using Bandit. Use it to find hardcoded secrets, injection risks, weak crypto, and other issues, then generate severity-based reports for remediation and CI/CD checks.
Quality
20439
🛡️
49m ago

Black Duck SCA

Black Duck SCA scans dependencies for vulnerabilities, license compliance risks, and supply chain threats. Use it to assess open source components, map findings to CVE/CWE/OWASP, and integrate checks into CI/CD.
DevOps
20439
🛡️
49m ago

Checkov IaC Security

Checkov IaC Security scans Terraform, CloudFormation, Kubernetes, Dockerfiles, and ARM templates for misconfigurations, secrets, and compliance issues. Use it to validate infrastructure before deployment and generate audit reports.
DevOps
20439
🛡️
49m ago

Container Vulnerability Scanning

Container Vulnerability Scanning uses Grype to scan images, filesystems, and SBOMs for known vulnerabilities. Use it in CI/CD or security reviews to prioritize fixes with CVSS, EPSS, and CISA KEV data.
Quality
20439
🛡️
49m ago

DefectDojo Vulnerability Management

DefectDojo Vulnerability Management aggregates scanner findings into DefectDojo for deduplication, SLA tracking, and compliance reporting. Use it to manage vulnerability backlogs and remediation across products, teams, and pipelines.
DevOps
20439