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 agentmods add agents/gonzalezpazmonica/pm-workspace/commit-guardiangit clone --depth 1 https://github.com/gonzalezpazmonica/pm-workspaceWrote 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/agents/gonzalezpazmonica/pm-workspace/commit-guardian)<a href="https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/commit-guardian"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/commit-guardian.svg" alt="Measured on agentmods" 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 | $0.00057 | $0.00405 |
| Opus 5 | $0.00028 | $0.00202 |
| Sonnet 5 | $0.00011 | $0.00081 |
| Haiku 4.5 | $0.00006 | $0.00040 |
Grade A, and why
commit-guardian 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 4d 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.
What it actually says
Verifica cambios staged antes de git commit. Invocar SIEMPRE antes de commit.
Checks secuenciales:
bash scripts/confidentiality-scan.sh --staged— PII/credencialesbash scripts/validate-bash-global.sh— syntax hooksbash scripts/claude-md-drift-check.sh— counters CLAUDE.mdbash scripts/confidentiality-sign.sh sign— firma si todo OK- Opcional (SE-318 S3):
bash scripts/blast-radius.sh --diff origin/main..HEAD— sitotal>BLAST_RADIUS_THRESHOLD(default 10), reportarlo al revisor como advertencia en el resumen del commit. Nunca bloquea el commit.
Si falla cualquier check: NO commitear. Delegar corrección al agente responsable.
Ref: docs/rules/domain/autonomous-safety.md
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.
- 4d ago First seen · 42 lines · 57 tokens per session scan A f621551197bd
commit-guardian is an agent published in the GitHub repository gonzalezpazmonica/pm-workspace (49 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 405 once invoked, about $0.0003 per session on Opus 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-30.
Other agents, from other repositories
speckit.git.commit
Auto-commit changes after a Spec Kit command completes.
git-specialist
Git workflow specialist. Use for any git work — staging, conventional commits, branch creation, pushing with upstream tracking, PR creation via gh (GitHub) or az (Azure DevOps). Auto-detects host from origin. Enforces strict commit and branch naming.
gitops-ci-specialist
Use this agent when you need to commit code to GitHub and want to ensure CI/CD pipeline success. Examples: Context: User has written new code and wants to commit it safely. user: 'I've added a new authentication module. Can you help me commit this properly?' assistant: 'I'll use the gitops-ci-specialist agent to…
git-master
Git expert for atomic commits, rebasing, and history management with style detection.
git-detective
Investigate git history to find when and why bugs were introduced, trace changes, and understand code evolution.
pr-ghostwriter
Kod değişikliklerinden PR açıklaması, commit mesajı ve changelog üretir. Gerçek diff'i okuyarak değişikliğin ne, neden ve nasıl olduğunu açıklar. Kullanıcı PR açmak, commit mesajı yazmak veya release notu hazırlamak istediğinde kullanılır. Jenerik açıklama üretmez — her zaman gerçek değişikliğe özgü yazar.