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 RealDougEubanks/ClaudeMarketplace --skill pre-commitgit clone --depth 1 https://github.com/RealDougEubanks/ClaudeMarketplaceWrote 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/realdougeubanks/claudemarketplace/pre-commit)<a href="https://agentmods.dev/skills/realdougeubanks/claudemarketplace/pre-commit"><img src="https://agentmods.dev/badge/skills/realdougeubanks/claudemarketplace/pre-commit/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/realdougeubanks/claudemarketplace/pre-commit"><img src="https://agentmods.dev/badge/skills/realdougeubanks/claudemarketplace/pre-commit.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.00046 | $0.03314 |
| Opus 5.5 | $0.00018 | $0.01326 |
| Sonnet 5.5 | $0.00009 | $0.00663 |
| Haiku 4.5 | $0.00005 | $0.00331 |
Grade A, and why
pre-commit scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pre-commit
Invoked via /pre-commit. This skill acts as a pre-commit quality gate — it runs a fast subset of checks before committing and blocks the commit if critical issues are found. It can also install itself as a git hook.
Mode A — Run checks now (default)
When invoked without arguments, run immediately against staged files (or all modified files if nothing is staged):
-
Use Bash to get the list of files to check.
git diffexits 0 even when it prints nothing, so an||fallback would never fire; test for empty output explicitly:FILES=$(git diff --cached --name-only --diff-filter=ACMR) if [ -z "$FILES" ]; then FILES=$(git diff --name-only --diff-filter=ACMR) fi printf '%s\n' "$FILES"If both lists are empty, report "Nothing staged or modified — nothing to check." and stop.
-
Secret scan — Use Grep across all staged files for hardcoded secret patterns:
- Assignments (
=or:— covers code, YAML, and JSON):(?i)(password|passwd|pwd|api_key|apikey|api_token|access_token|secret_key|client_secret|secret)\s*[=:]\s*['"][^'"]{8,}['"] - Shell exports:
export\s+[A-Z_]*(KEY|TOKEN|SECRET|PASSWORD)[A-Z_]*=\S{8,} - AWS:
(?i)(aws_access_key_id|aws_secret_access_key)\s*[=:]\s*['"][^'"]{16,}['"]and literalAKIA[0-9A-Z]{16} - Modern token prefixes:
sk-ant-,sk-proj-,github_pat_,ghp_,glpat-(GitLab),npm_(npm),AIza(Google API key),xox[baprs]-,sk_live_ - Private key headers:
-----BEGIN (RSA|DSA|EC|OPENSSH) PRIVATE KEY----- - High-entropy heuristic: any assignment of a 32+ char mixed-case alphanumeric literal to a variable whose name contains
key,token,secret, orauth - Exclude:
*.example,*.sample,node_modules/,vendor/ - BLOCKER if found, except in test files (
*.test.*,*.spec.*), where a match is a WARNING: fixtures usually hold fake values, but real credentials do get pasted into tests, so they are still scanned and reported. Report file and line number. When reporting, redact the matched value (show the first 4 characters only).
- Assignments (
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 Changed · +47 lines 1d3fa41f2653
- 3mo ago First seen · 168 lines · 46 tokens per session scan A b324558ada51
pre-commit is a skill published in the GitHub repository RealDougEubanks/ClaudeMarketplace (1 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 3,314 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
pre-commit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pre-commitRealDougEubanks/ClaudeMarketplace | Skill | 1 | 1mo ago | MIT | A | 46 | Claude Code |
| commitfoyzulkarim/skills | Skill | 43 | 2d ago | none | A | 49 | Claude Code |
| patch-notesIdoCohen560/claude-unity-game-studio | Skill | 30 | 5mo ago | MIT | A | 33 | Claude Code |
| uw-unity-project-setupIdoCohen560/claude-unity-game-studio | Skill | 30 | 5mo ago | MIT | A | 87 | Claude Code |
| committhoughtbot/rails-consultant | Skill | 39 | 15d ago | MIT | A | 20 | Claude Code |
| start-taskfoyzulkarim/skills | Skill | 43 | 2d ago | none | A | 178 | Claude Code |
| release-notesfoyzulkarim/skills | Skill | 43 | 2d ago | none | A | 51 | Claude Code |