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 sergeyklay/.agents --skill scan-securitygit clone --depth 1 https://github.com/sergeyklay/.agentsWrote 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/sergeyklay/.agents/scan-security)<a href="https://agentmods.dev/skills/sergeyklay/.agents/scan-security"><img src="https://agentmods.dev/badge/skills/sergeyklay/.agents/scan-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/sergeyklay/.agents/scan-security"><img src="https://agentmods.dev/badge/skills/sergeyklay/.agents/scan-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.00053 | $0.02801 |
| Opus 5.5 | $0.00021 | $0.01120 |
| Sonnet 5.5 | $0.00011 | $0.00560 |
| Haiku 4.5 | $0.00005 | $0.00280 |
Grade A, and why
scan-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 2mo 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 — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Audit
Conduct a Snyk security audit of the current repository: static analysis (SAST) of code, software composition analysis (SCA) of dependencies, remediation of findings the project's verification gates accept, and a prioritized evidence-backed findings report.
This skill carries the audit workflow. The project supplies the rest: build / lint / test / install commands, source file conventions, dependency-manager invocations, false-positive patterns, and any hard remediation prohibitions live in the project's context files (AGENTS.md, CONTRIBUTING.md, README.md) and architecture documentation. This skill tells you how to scan, remediate, and report; the project tells you what counts as valid for fixes.
Inputs
The user invokes this skill with an optional scope argument. Resolve the scope before any tool call.
| Scope | SAST target | SCA target |
|---|---|---|
all (default when unset) |
Entire repository | Full dependency manifest set |
code |
Entire repository | (skipped) |
deps |
(skipped) | Full dependency manifest set |
changed |
Source files modified vs. HEAD |
Manifest / lock files modified vs. HEAD |
For changed, derive the file set from the union of git diff --name-only HEAD and git diff --cached --name-only, deduplicated. Within that set:
- Source files: pass the diff list to the SAST tool. Snyk Code skips files in unsupported languages. Filter out obvious non-source (lock files, binary assets, generated artifacts) only when their presence in the diff is incidental.
- Manifest / lock files: the files the project's package manager owns (
package.json+ lock,go.mod+go.sum,pyproject.toml+ lock,Gemfile+Gemfile.lock,composer.json+ lock,Cargo.toml+Cargo.lock, etc.). Include only manifests that appear in the diff.
Workflow
Copy this checklist into your response and tick items as you complete them.
- Step 1 - Pre-flight (capability, auth, build gate, baseline SHA)
- Step 2 - Static analysis (SAST)
- Step 3 - Dependency scan (SCA)
- Step 4 - Triage findings
- Step 5 - Remediate Fix-Now findings
- Step 6 - Re-verification scan
- Step 7 - Report
What ships with it
1 file 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.
- 2mo ago Changed f90787b76f2d
- 3mo ago First seen · 174 lines · 53 tokens per session scan A bfc43582cc15
scan-security is a skill published in the GitHub repository sergeyklay/.agents (6 stars, last pushed 5d ago), licensed Apache-2.0. It adds 53 tokens to every session and 2,801 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.
scan-security compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scan-securitysergeyklay/.agents | Skill | 6 | 5d ago | Apache-2.0 | A | 53 | Claude Code |
| ai-smell-polishhabinsong/k-fable-opus-claude-md | Skill | 7 | 20d ago | MIT | A | 195 | Claude Code, Codex |
| autodoc-next-prospectus-auditPaodingAI/skills | Skill | 17 | 1mo ago | none | A | 39 | Codex |
| ChatDOC Studio--KnowledgeMatePaodingAI/skills | Skill | 17 | 1mo ago | none | A | 92 | Codex |
| nanodoc-parsePaodingAI/skills | Skill | 17 | 1mo ago | none | A | 108 | Codex |
| PDFlux-PDF2MarkdownPaodingAI/skills | Skill | 17 | 1mo ago | none | A | 78 | Codex |
| Calliper-Compare2MarkdownPaodingAI/skills | Skill | 17 | 1mo ago | none | A | 62 | Codex |