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 LeeYudok/agents-scaffold --skill dok3-security-precheckgit clone --depth 1 https://github.com/LeeYudok/agents-scaffoldWrote 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/leeyudok/agents-scaffold/dok3-security-precheck)<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-security-precheck"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-security-precheck/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/leeyudok/agents-scaffold/dok3-security-precheck"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-security-precheck.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.00076 | $0.01443 |
| Opus 5.5 | $0.00030 | $0.00577 |
| Sonnet 5.5 | $0.00015 | $0.00289 |
| Haiku 4.5 | $0.00008 | $0.00144 |
Grade A, and why
dok3-security-precheck scanned grade A 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 today.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -u "${SONAR_TOKEN}:" \ How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Pre-check (before an external audit)
Sweep the codebase with the same criteria an external security team would use, and fix findings ahead of time.
1. Scan (parallel)
Run concurrently:
Agent(subagent_type: "security-audit") — grep-based scan of the 12 P0 code items
(hardcoded secrets, missing auth, PII logging, ...) + 8 agent-config items
(.claude/ hooks, MCP, permissions, prompt injection)
# SonarQube security hotspots (TO_REVIEW only) — skip this step with a note if the
# project has no sonar-project.properties. Never hardcode the host or token:
# use $SONAR_HOST_URL / $SONAR_TOKEN from the environment.
if [ -f sonar-project.properties ]; then
key=$(grep 'sonar.projectKey' sonar-project.properties | cut -d= -f2-)
curl -s -u "${SONAR_TOKEN}:" \
"${SONAR_HOST_URL}/api/hotspots/search?projectKey=$key&status=TO_REVIEW&ps=500" \
| python3 -c "import sys,json; d=json.load(sys.stdin); print('TO_REVIEW:', len(d['hotspots'])); [print(h['ruleKey'], h['component'], h.get('line','')) for h in d['hotspots']]"
fi
The security-audit agent produces better results when its prompt names this project's concrete context (auth mechanism, session handling, CORS config, data-access layer, PII fields). Don't describe these from memory — at run time, grep the repo for its auth/session/CORS/data-access entry points and include what you actually find.
2. Grading + report
- P0 (critical): escalate immediately. Hardcoded secrets, auth bypass, SQL injection,
.envleaked into git, etc. - P1 (recommended fix): this skill's main target. Missing rate limits, missing cookie attributes, missing constant-time comparison, overly broad permission allows, PII logging, etc.
- Pass: also list items that were checked and found clean (what was checked is the evidence of coverage).
Report as a table: P0 N / P1 N / pass N.
3. Issue registration (P1 and up, skip trivia)
Group findings by file/topic into one issue each — no issue-per-finding spam. Example: three findings in the same auth controller (rate limit, cookie attributes, constant-time comparison) become one issue.
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.
- today First seen · 114 lines · 76 tokens per session scan A 0962f5b36649
dok3-security-precheck is a skill published in the GitHub repository LeeYudok/agents-scaffold (40 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 1,443 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-30.
dok3-security-precheck compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dok3-security-precheckLeeYudok/agents-scaffold | Skill | 40 | today | MIT | A | 76 | Claude Code |
| nx-libSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 15 | Claude Code |
| reviewSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 14 | Claude Code |
| learningSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 37 | Claude Code |
| code-reviewSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 15 | Claude Code |
| security-auditSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 14 | Claude Code |
| sudden-deathSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 13 | Claude Code |