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 fmind/dot --skill code-securitygit clone --depth 1 https://github.com/fmind/dotWrote 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/fmind/dot/code-security)<a href="https://agentmods.dev/skills/fmind/dot/code-security"><img src="https://agentmods.dev/badge/skills/fmind/dot/code-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/fmind/dot/code-security"><img src="https://agentmods.dev/badge/skills/fmind/dot/code-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.00042 | $0.00679 |
| Opus 5.5 | $0.00017 | $0.00272 |
| Sonnet 5.5 | $0.00008 | $0.00136 |
| Haiku 4.5 | $0.00004 | $0.00068 |
Grade A, and why
code-security 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.
How it starts
The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Security
Investigate and fix security defects with verified evidence; scanners inform reasoning, never replace it. Named code-security to avoid colliding with Claude/Copilot security-review.
Workflow
Load the matching guide(s) below for every active surface; apply risk-gated fresh-session security review per subagent when crossing trust, IAM, or compliance boundaries.
- File encryption (
age): generate identities withage-keygen -o <key>(0600), encrypt files to public recipients viaage -r <recipient>/age -R <recipients-file>, and decrypt withage -d -i <key>into a scoped target or pipe; never print, log, or commit plaintext or private keys.
Task guides
- ai-red-team: Red-team AI apps/agents (pytest probes, garak/promptfoo, PyRIT): injection, tool misuse, authority.
- betterleaks: Scan the working tree and history for secrets; handle confirmed exposure.
- code-review: Assess code and repository security; verify findings and repairs.
- opengrep: Run local intrafile and cross-file taint SAST scans with opengrep.
- skill-security-review: Review third-party skills and agent extensions for supply-chain risk.
- sonarqube: SonarQube quality gates, issues, local scans, and server AI gates via sonar.
- terms-review: Review ToS, GDPR/EU AI Act, SPDX licenses, and DPAs for intended use.
- threat-model: Model attack paths, trust boundaries, abuse cases, and controls.
- trivy: Scan dependencies, IaC, images, and licenses; generate SBOMs.
Documentation
- OWASP Cheat Sheets · OWASP Agentic Top 10 · MITRE ATLAS
- Companions: full-review, github, containers, cloud-run.
What ships with it
19 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.
- references/ai-red-team/GUIDE.md 3.7 KB
- references/ai-red-team/references/attack-cases.md 4.4 KB
- references/ai-red-team/references/pyrit.md 3.4 KB
- references/ai-red-team/templates/assessment.md 1.9 KB
- references/betterleaks.md 4.6 KB
- references/code-review/GUIDE.md 5.1 KB
- references/code-review/references/installed-tools.md 1.1 KB
- references/code-review/references/ssrf-egress.md 5.8 KB
- references/opengrep.md 5.3 KB
- references/skill-security-review/GUIDE.md 4.2 KB
- references/skill-security-review/references/scanners.md 1.4 KB
- references/skill-security-review/scripts/static_audit.py 38 KB runs code
- references/sonarqube.md 3.8 KB
- references/terms-review.md 5.4 KB
- references/threat-model.md 2.2 KB
- references/trivy/GUIDE.md 4.7 KB
- references/trivy/templates/trivy.yaml 950 B
- templates/betterleaks.toml 720 B
- templates/codeql.yml 1.6 KB
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 Changed 417cab6d01ad
- 5d ago Changed · -2 tokens per session 3d3efb15e9a6
- 7d ago Changed · +2 lines · +7 tokens per session bbd225bde9c9
- 8d ago Changed b547b2e72cf8
- 10d ago Changed · +1 lines · +4 tokens per session 5fae8cc0b7e5
- 12d ago Changed · +1 lines · -5 tokens per session cf95ca6247b5
- 15d ago Changed · +5 lines aba7016d0686
- 16d ago Changed cf8ebb430bb9
- 20d ago Changed 426900292cb3
- 21d ago First seen · 34 lines · 38 tokens per session scan A 92779f8e9cc4
code-security is a skill published in the GitHub repository fmind/dot (14 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 679 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-10-05.
code-security compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-securityfmind/dot | Skill | 14 | yesterday | MIT | A | 42 | Claude Code, Codex |
| diff-reviewfmind/dotfiles | Skill | 4 | 3mo ago | MIT | A | 57 | Claude Code, Codex |
| repository-reviewfmind/dotfiles | Skill | 4 | 3mo ago | MIT | A | 51 | Claude Code, Codex |
| dotfiles-bootstrapsebastienrousseau/dotfiles | Skill | 85 | yesterday | Apache-2.0 | A | 89 | Claude Code, Codex |
| assess-qualityurmzd/dotfiles | Skill | 6 | today | Apache-2.0 | A | 120 | Claude Code |
| merge-readyurmzd/dotfiles | Skill | 6 | today | Apache-2.0 | A | 208 | Claude Code |
| check-projecturmzd/dotfiles | Skill | 6 | today | Apache-2.0 | A | 82 | Claude Code |