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 slbug/claude-ruby-grape-rails --skill secrets-scangit clone --depth 1 https://github.com/slbug/claude-ruby-grape-railsWrote 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/slbug/claude-ruby-grape-rails/secrets-scan)<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/secrets-scan"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/secrets-scan/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/slbug/claude-ruby-grape-rails/secrets-scan"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/secrets-scan.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.00036 | $0.00483 |
| Opus 5.5 | $0.00014 | $0.00193 |
| Sonnet 5.5 | $0.00007 | $0.00097 |
| Haiku 4.5 | $0.00004 | $0.00048 |
Grade B, and why
rb: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 1mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Linux: `sudo dnf install betterleaks` What it actually says
Secrets Scan
Detect leaked secrets in your codebase using betterleaks.
Requirements
Requires betterleaks to be installed:
- macOS:
brew install betterleaks - Linux:
sudo dnf install betterleaks - Or download from the betterleaks releases page
Usage
/rb:secrets # Scan current directory
/rb:secrets app/ # Scan specific path
/rb:secrets --baseline leaks.json # Use baseline to ignore known issues
/rb:secrets --validate # Validate secrets against live APIs
/rb:secrets --git # Scan git history
What It Scans
- API keys (GitHub, AWS, Stripe, etc.)
- Database connection strings
- Passwords and tokens
- Private keys
- Environment files (.env)
- Configuration files
Iron Laws
- Never commit
.envfiles - Add to.gitignore - Use Rails credentials -
Rails.application.credentials - No secrets in code - Use environment variables
- Rotate exposed keys immediately - If found, rotate them
Output
Returns findings with severity:
## Secrets Scan Results
### Critical
- config/database.yml: Contains production password
- .env.staging: AWS access key exposed
### High
- app/services/stripe.rb: Hardcoded API key
### Recommendations
- Move secrets to Rails credentials
- Add .env* to .gitignore
- Rotate exposed API keys
Configuration
Create .betterleaks.toml in project root for custom rules:
[[rules]]
id = "custom-api-key"
description = "Custom API key pattern"
regex = '''api-key-[a-zA-Z0-9]{32}'''
keywords = ["api-key"]
[[allowlists]]
description = "Test fixtures"
paths = ['''test/fixtures/.*''']
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.
- 1mo ago First seen · 81 lines · 36 tokens per session scan B d6194089fb51
rb:secrets is a skill published in the GitHub repository slbug/claude-ruby-grape-rails (7 stars, last pushed 16d ago), licensed MIT. It adds 36 tokens to every session and 483 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
omh-github-issue-intake
This is an OMH github-issue-intake workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
omh-commit-pr-authoring
This is an OMH commit-pr-authoring workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
git-wrapup
Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts). The work commits land first, then the version bump, verification, and the release commit on top. Stops at "committed locally on main" — or, when the project releases…
git-flow
Use this skill when committing, branching, opening a pull request, resolving conflicts, or recovering from a git mistake in any repository. Triggers: user mentions "commit", "branch", "PR", "pull request", "merge", "rebase", "conflict", "stash", "cherry-pick", "revert", "bisect", "reflog", "force push".
core-workflow
Detailed development workflow patterns, checklists, and standards. Auto-loads for complex tasks, planning, debugging, or when explicit patterns are needed. Contains session protocols, git conventions, security checklists, review-based validation, and communication standards.
pre-commit-audit
Deliver a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode carriers. Use when the user requests a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode…