Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add qte77/claude-code-plugins --skill detecting-secretsgit clone --depth 1 https://github.com/qte77/claude-code-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/qte77/claude-code-plugins/detecting-secrets)<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/detecting-secrets"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/detecting-secrets/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/detecting-secrets"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/detecting-secrets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.01141 |
| Opus 5.5 | $0.00014 | $0.00456 |
| Sonnet 5.5 | $0.00007 | $0.00228 |
| Haiku 4.5 | $0.00003 | $0.00114 |
Grade B, and why
detecting-secrets scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reaches for credential filesmediumPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
- [ ] `.netrc` / `.pgpass` / `.my.cnf` with credentials Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Secrets and Credential Detection
Scope: $ARGUMENTS
When to Use
- Pre-publish audit (open-sourcing, npm publish, Docker push)
- Reviewing PRs for accidental credential commits
- Periodic security sweep
- Post-incident secret rotation verification
Workflow
- Scan files for secret patterns (see detection rules)
- Check configuration files (.env, config, YAML, JSON)
- Inspect git history for previously committed secrets
- Classify findings by type and severity
- Recommend remediation (rotate, revoke, remove)
Detection Patterns
API Keys and Tokens
- AWS access keys (
AKIA[0-9A-Z]{16}) - AWS secret keys (
[0-9a-zA-Z/+]{40}near AWS context) - GCP service account keys (JSON with
"type": "service_account") - GCP API keys (
AIza[0-9A-Za-z_-]{35}) - Azure connection strings (
DefaultEndpointsProtocol=) - GitHub tokens (
ghp_,gho_,ghu_,ghs_,ghr_) - GitLab tokens (
glpat-) - Slack tokens (
xoxb-,xoxp-,xoxs-) - Stripe keys (
sk_live_,pk_live_,rk_live_) - Generic API key patterns (
api[_-]?key,apikey,api[_-]?secret)
Private Keys
- RSA private keys (
-----BEGIN RSA PRIVATE KEY-----) - EC private keys (
-----BEGIN EC PRIVATE KEY-----) - OpenSSH private keys (
-----BEGIN OPENSSH PRIVATE KEY-----) - PGP private keys (
-----BEGIN PGP PRIVATE KEY BLOCK-----) - PKCS8 keys (
-----BEGIN PRIVATE KEY-----)
Passwords and Credentials
- Hardcoded passwords (
password\s*=\s*["'][^"']+["']) - Database connection strings with credentials (
://user:pass@) - JDBC URLs with passwords
-
.envfiles with secrets committed to repo -
.netrc/.pgpass/.my.cnfwith credentials
JWT and Session Secrets
- JWT signing secrets in code (
jwt.sign,JWT_SECRET) - Session secrets (
SESSION_SECRET,SECRET_KEY) - Cookie signing keys
- Encryption keys in plaintext
High-Risk File Patterns
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 20d ago Changed · +1 lines a2c604387bcf
- 1mo ago First seen · 115 lines · 34 tokens per session scan B fee0dd2f600e
detecting-secrets is a skill published in the GitHub repository qte77/claude-code-plugins (3 stars, last pushed 3d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,141 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
feature-flow
Complete git workflow orchestration (GitHub/GitLab/Forgejo) - branch, issue, commit.
workflow
Run the complete 5-step development workflow: focus problem → prevent over-development → test-first (TDD) → document → smart commit. Use when starting a new feature, or when the user runs /workflow or asks for the full development flow.
smart-commit
Create clean Conventional Commits: inspect the diff, group related changes, run quality checks, and write type(scope) messages. Use when committing work, or when the user runs /smart-commit or asks to commit changes.
commit
Create conventional commit from staged changes with approval.
commit-message
Use ANY time the user signals they want to commit staged changes — including bare "commit", "/commit", "commit this", "commit these changes", "let's commit", "make a commit", "git commit", "write a commit message", "make a conventional commit", "use conventional commits", or any equivalent phrasing in context (e.g.…
workflow-commit
Commit changes the way a sandboxed agent must — write Conventional Commit messages and, because commit signing fails inside the sandbox, hand the real commit off through a generated commit.sh script. Inside a git worktree, commit normally (unsigned) and emit a commit.sh that re-signs the range; in the main checkout…