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 urmzd/dotfiles --skill audit-securitygit clone --depth 1 https://github.com/urmzd/dotfilesWrote 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/urmzd/dotfiles/audit-security)<a href="https://agentmods.dev/skills/urmzd/dotfiles/audit-security"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/audit-security/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/urmzd/dotfiles/audit-security"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/audit-security.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.00124 | $0.01375 |
| Opus 5.5 | $0.00050 | $0.00550 |
| Sonnet 5.5 | $0.00025 | $0.00275 |
| Haiku 4.5 | $0.00012 | $0.00137 |
Grade B, and why
audit-security 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 3mo 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.
- [PERMS] ~/.ssh/id_ed25519 has 644 (expected 600) 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Audit
Core Principle
Never read, echo, log, or surface secret values. All scanning is delegated to purpose-built tools that redact output by default. The agent's role is to orchestrate these tools and interpret their results, not to pattern-match secrets directly.
On-Start Security Insights
When invoked, run these checks and present a prioritized report (CRITICAL > WARNING > INFO):
- Secret scan run
gitleaks detect --no-banneron the working directory - File permissions check SSH keys,
.envfiles for overly broad access - Git hygiene verify
.gitignorecovers.env*,*.pem,*.key,credentials.json - Open ports flag unexpected listeners via
lsof -i -P -n | grep LISTEN - System posture FileVault status, firewall state, SIP status
Secret Scanning
Delegate entirely to external tools. Never grep for secret patterns directly.
| Tool | Usage |
|---|---|
| gitleaks | gitleaks detect. Scan working tree; gitleaks protect. Pre-commit |
| trufflehog | trufflehog filesystem .. Deep entropy + pattern scan |
| git-secrets | git secrets --scan. AWS-focused pre-commit hook |
If none are installed, recommend installation and stop. Do not fall back to manual scanning.
Handling Findings
- Report file path and line number only. Never the secret value
- Recommend rotation immediately for any confirmed leak
- Check git history:
gitleaks detect --log-opts="--all"for historical exposure
Git Safety
Verify before any commit:
- Run
gitleaks protect --stagedagainst staged changes - Confirm
.gitignorecovers sensitive file patterns - Flag large binaries or unexpected file types in staging
File Permission Audit
| Target | Expected | Check |
|---|---|---|
| SSH private keys | 600 |
stat -f '%Lp' ~/.ssh/id_* |
~/.ssh/ directory |
700 |
stat -f '%Lp' ~/.ssh |
.env files |
600 |
stat -f '%Lp' .env* |
| GPG keys | 600 |
stat -f '%Lp' ~/.gnupg/private-keys-v1.d/* |
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.
- 3mo ago First seen · 130 lines · 124 tokens per session scan B 10853f564965
audit-security is a skill published in the GitHub repository urmzd/dotfiles (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 124 tokens to every session and 1,375 once invoked, about $0.0005 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-08-31.
audit-security compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| audit-securityurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | B | 124 | Claude Code |
| create-prmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 34 | Claude Code, Codex |
| scan-commitmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 35 | Claude Code, Codex |
| smart-commitmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 19 | Claude Code, Codex |
| pr-reviewmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 28 | Claude Code |
| herdr-coordinatormagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 153 | Claude Code, Codex |
| analyze-prmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | A | 60 | Claude Code, Codex |