Secrets Gitleaks
AgentSecOps/SecOpsAgentKit
Hardcoded secret detection and prevention in git repositories and codebases using Gitleaks.
A skill your agent uses when auditing a project for secrets committed to source control, setting up gitleaks, or hardening the "No secrets in source" harness constraint — covers scanning…
$ npx skills add Habitat-Thinking/ai-literacy-superpowers --skill secrets-detection -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Habitat-Thinking/ai-literacy-superpowers secrets-detection --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Habitat-Thinking/ai-literacy-superpowers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai-literacy-superpowers/skills/secrets-detection .claude/skills/secrets-detection && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "secrets-detection" agent skill from https://github.com/Habitat-Thinking/ai-literacy-superpowers/tree/main/ai-literacy-superpowers/skills/secrets-detection into .claude/skills/secrets-detection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secrets-detection", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Habitat-Thinking/ai-literacy-superpowers/tree/main/ai-literacy-superpowers/skills/secrets-detectionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Habitat-Thinking/ai-literacy-superpowers --skill secrets-detection -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Habitat-Thinking/ai-literacy-superpowers secrets-detection --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Habitat-Thinking/ai-literacy-superpowers.git skills-src && mkdir -p .agents/skills && cp -r skills-src/ai-literacy-superpowers/skills/secrets-detection .agents/skills/secrets-detection && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "secrets-detection" agent skill from https://github.com/Habitat-Thinking/ai-literacy-superpowers/tree/main/ai-literacy-superpowers/skills/secrets-detection into .agents/skills/secrets-detection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secrets-detection", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Habitat-Thinking/ai-literacy-superpowers --skill secrets-detection -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Habitat-Thinking/ai-literacy-superpowers secrets-detection --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Habitat-Thinking/ai-literacy-superpowers.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/ai-literacy-superpowers/skills/secrets-detection .cursor/skills/secrets-detection && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "secrets-detection" agent skill from https://github.com/Habitat-Thinking/ai-literacy-superpowers/tree/main/ai-literacy-superpowers/skills/secrets-detection into .cursor/skills/secrets-detection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secrets-detection", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Habitat-Thinking/ai-literacy-superpowers.git --path ai-literacy-superpowers/skills/secrets-detection--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Habitat-Thinking/ai-literacy-superpowers --skill secrets-detection -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Habitat-Thinking/ai-literacy-superpowers secrets-detection --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Habitat-Thinking/ai-literacy-superpowers.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/ai-literacy-superpowers/skills/secrets-detection .gemini/skills/secrets-detection && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "secrets-detection" agent skill from https://github.com/Habitat-Thinking/ai-literacy-superpowers/tree/main/ai-literacy-superpowers/skills/secrets-detection into .gemini/skills/secrets-detection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secrets-detection", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Habitat-Thinking/ai-literacy-superpowers secrets-detectionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Habitat-Thinking/ai-literacy-superpowers --skill secrets-detection -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Habitat-Thinking/ai-literacy-superpowers.git skills-src && mkdir -p .github/skills && cp -r skills-src/ai-literacy-superpowers/skills/secrets-detection .github/skills/secrets-detection && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "secrets-detection" agent skill from https://github.com/Habitat-Thinking/ai-literacy-superpowers/tree/main/ai-literacy-superpowers/skills/secrets-detection into .github/skills/secrets-detection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secrets-detection", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Habitat-Thinking/ai-literacy-superpowers --skill secrets-detection -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Habitat-Thinking/ai-literacy-superpowers secrets-detection --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Habitat-Thinking/ai-literacy-superpowers.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/ai-literacy-superpowers/skills/secrets-detection .opencode/skills/secrets-detection && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "secrets-detection" agent skill from https://github.com/Habitat-Thinking/ai-literacy-superpowers/tree/main/ai-literacy-superpowers/skills/secrets-detection into .opencode/skills/secrets-detection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secrets-detection", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
secrets-detectionA skill your agent uses when auditing a project for secrets committed to source control, setting up gitleaks, or hardening the "No secrets in source" harness constraint — covers scanning…
Secrets Detection is an agent skill from Habitat-Thinking/ai-literacy-superpowers. Use when auditing a project for secrets committed to source control, setting up gitleaks, or hardening the "No secrets in source" harness constraint — covers scanning, baselining, configuration, and CI integration
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in DevOps & Cloud, covering Secrets management and Git workflow. It works with Git. The repository describes itself as: A set of Claude Code and GitHub Copilot plugins providing the AI Literacy framework's complete development workflow — harness engineering, agent orchestration, literate….
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9d35995. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitleaksgitbrewgoghFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GITHUB_TOKENAPI_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Secrets Detection loads about 2.2k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 785 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
| `.env.production` | AWS access key ID detected | Critical | Rotate key, remove file, add to `.gitignore` |bfg --delete-files .env.productiongit filter-repo --invert-of --path .env.productionAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 785 words (~2,216 tokens).
“Secrets in source code — API keys, tokens, passwords, private keys — are one of the most common and most damaging security failures. A single committed secret can grant an attacker access to production systems, and git history means the…”
Just SKILL.md in ai-literacy-superpowers/skills/secrets-detection of Habitat-Thinking/ai-literacy-superpowers.
Open the folder on GitHubat commit 9d35995
Secrets Detection next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Secrets Detection this skillHabitat-Thinking/ai-literacy-superpowers | 114 | — | ~2.2k | Automated safety check: Notes | Custom licence | |
| Secrets GitleaksAgentSecOps/SecOpsAgentKit | 220 | 2 repos | ~4.1k | Automated safety check: Pass | Custom licence | |
| Leaked Secretsthedaviddias/Front-End-Checklist | 74k | — | ~596 | Automated safety check: Notes | MIT | |
| Repo Auditzebbern/claude-code-guide | 4.7k | — | ~831 | Automated safety check: Pass | MIT | |
| Git Gh Pat AuthNEventStore/NEventStore | 1.6k | — | ~828 | Automated safety check: Pass | MIT | |
| Vibe CI Supply Chainmistralai/mistral-vibe | 5.1k | — | ~1k | Automated safety check: Pass | Apache-2.0 |
AgentSecOps/SecOpsAgentKit
Hardcoded secret detection and prevention in git repositories and codebases using Gitleaks.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing client-side JavaScript, HTML source, or git history for exposed credentials, API keys, or tokens.
zebbern/claude-code-guide
Deep analysis of Git history: identify frequently changed hotspot files, analyze code ownership by contributor, and scan for leaked secrets.
NEventStore/NEventStore
A skill your agent uses when: authenticating git and GitHub CLI for NEventStore tasks, fixing gh auth errors, setting PAT environment variables, preparing a shell session for git push and gh issue…
mistralai/mistral-vibe
Git workflow, CI/GitHub Actions, and supply-chain pinning rules for Mistral Vibe.
mukul975/Anthropic-Cybersecurity-Skills
Runs Trivy across every target type it supports - container images, filesystems, Git repositories, and Kubernetes clusters - for OS and dependency vulnerabilities, IaC misconfiguration, exposed…
Habitat-Thinking/ai-literacy-superpowers
A skill your agent uses when acting as the adversarial spec reviewer — raises steel-manned objections across six categories before plan approval, requires evidence per objection, and discloses what…
Habitat-Thinking/ai-literacy-superpowers
This skill should be used when the user asks to "assess AI literacy", "run an assessment", "check literacy level", "evaluate our AI collaboration", "where are we on the framework", or wants to…
Habitat-Thinking/ai-literacy-superpowers
A skill your agent uses when acting as the cadence governor — slices a raw task description into thin, end-to-end-complete pieces before any spec is written; produces a structured slicing record for…
Habitat-Thinking/ai-literacy-superpowers
A skill your agent uses when acting as the decision-archaeology agent — surfaces decisions a spec has made (including the silent ones), emits each material choice as a Henney-style pattern story for…
Habitat-Thinking/ai-literacy-superpowers
This skill should be used when the user asks to "add a constraint", "design a constraint", "write a harness rule", "choose enforcement type", "promote a constraint", "configure a verification slot"…
Habitat-Thinking/ai-literacy-superpowers
A skill your agent uses when the user wants to capture AI tool costs, review spending trends, set cost budgets, or integrate cost data into health snapshots — guides quarterly cost capture, records…
Works with
Categories
A skill your agent uses when auditing a project for secrets committed to source control, setting up gitleaks, or hardening the "No secrets in source" harness constraint — covers scanning…. Secrets Detection is an agent skill from Habitat-Thinking/ai-literacy-superpowers.
Secrets Detection fits situations like: auditing a project for secrets committed to source control; setting up gitleaks; hardening the No secrets in source harness constraint — covers scanning.
Run `npx skills add Habitat-Thinking/ai-literacy-superpowers --skill secrets-detection -a claude-code`. Or copy the skill folder (ai-literacy-superpowers/skills/secrets-detection in Habitat-Thinking/ai-literacy-superpowers) into .claude/skills/secrets-detection in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Habitat-Thinking/ai-literacy-superpowers --skill secrets-detection -a codex`. Or copy the skill folder (ai-literacy-superpowers/skills/secrets-detection in Habitat-Thinking/ai-literacy-superpowers) into .agents/skills/secrets-detection in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Habitat-Thinking/ai-literacy-superpowers --skill secrets-detection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/secrets-detection, .gemini/skills/secrets-detection, .github/skills/secrets-detection and .opencode/skills/secrets-detection in your project.
Going by SKILL.md and its folder, Secrets Detection needs the command-line tools its instructions call (gitleaks, git, brew, go and gh) and credentials named GITHUB_TOKEN and API_TOKEN. Our summary lists: Docker; A credential in GITHUB_TOKEN; A credential in API_TOKEN.
SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Secrets Detection has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Secrets Detection: Secrets Gitleaks (AgentSecOps/SecOpsAgentKit, 220 stars), Leaked Secrets (thedaviddias/Front-End-Checklist, 74k stars), Repo Audit (zebbern/claude-code-guide, 4.7k stars) and Git Gh Pat Auth (NEventStore/NEventStore, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Habitat-Thinking (a GitHub organization) maintains it in Habitat-Thinking/ai-literacy-superpowers, which has 114 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on September 20, 2026.
Source: Habitat-Thinking/ai-literacy-superpowers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.