dok3-review

dok3-review is a skill for Claude Code from LeeYudok/agents-scaffold. It costs 43 tokens per session (492 once invoked), scanned A, original, MIT.

A combined code and security review workflow for changes before a pull request or merge request. A pull or merge request is a proposed change for teammates to inspect before it enters the main codebase.

In plain words
What is it for?
Use it to review changed files for issues such as missing input checks, duplicated code, inefficient database access, exposed keys, and unsafe settings.
Why use it?
It checks both general code quality and common security problems in one review, and stops when there are no changes to inspect.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review changed files for issues such as missing input checks, duplicated code, inefficient database access, exposed keys, and unsafe settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leeyudok/agents-scaffold/dok3-review
Install

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.

Any agent
npx skills add LeeYudok/agents-scaffold --skill dok3-review
Clone the repo
git clone --depth 1 https://github.com/LeeYudok/agents-scaffold

Made for: Claude Code.

Wrote 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.

agentmods badge for dok3-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-review/github.svg)](https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-review)
Your own site
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-review"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-review/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.

agentmods 80×15 button for dok3-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-review"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 492 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00492
Opus 5.5 $0.00017 $0.00197
Sonnet 5.5 $0.00009 $0.00098
Haiku 4.5 $0.00004 $0.00049

Measured today against content hash ea52fa8c0217, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dok3-review 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 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.

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.

presets/lang/en/base/.claude/skills/dok3-review/SKILL.md · 63 lines

What it actually says

Code Review (wrapper)

Runs the code-reviewer + security-audit agents in sequence for a complete review.

Execution order

Step 1 — Identify the scope of change

base=$(for r in origin/HEAD origin/main origin/master main master; do git merge-base HEAD "$r" 2>/dev/null && break; done)  # fork point from the default branch
[ -n "$base" ] || base=$(git rev-parse --verify -q HEAD~1)  # still empty: ask the user for the range and stop
git diff --stat "$base"       # committed + uncommitted changes
git diff --name-only "$base"

Stop if there are no changes.

Step 2 — Code review (code-reviewer agent)

Invoke Agent(subagent_type: "code-reviewer"):

  • Security: hardcoded keys/tokens, missing input validation
  • Performance: N+1 queries, unnecessary synchronous I/O
  • Quality: any types, functions over 50 lines, duplication, dead code
  • Convention: violations of .claude/rules/ conventions

Step 3 — Security audit (security-audit agent)

Invoke Agent(subagent_type: "security-audit"):

  • grep scan of the 12 P0 security items
  • weak cryptography, SQL injection, CORS wildcards

Step 4 — Combined report

## Code Review Summary — {{PROJECT_NAME}}

### Code Review
N CRITICAL / M WARNING / K SUGGESTION

### Security Audit
N P0 violations / M P1 violations

### Merge Recommendation
✅ Ready to merge / ❌ Hold for CRITICAL or P0 violations

If there is even one CRITICAL or P0 violation, recommend holding the merge.

Quick review (when an argument is given)

/dok3-review quick — skip security-audit, run code-reviewer only.

Learned warnings

(Notes discovered during execution accumulate here)

Changes

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.

  1. today First seen · 63 lines · 43 tokens per session scan A ea52fa8c0217

Subscribe to this mod's changes

dok3-review is a skill published in the GitHub repository LeeYudok/agents-scaffold (40 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 492 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-11-30.

Related

dok3-review compared with skills from other repositories

dok3-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dok3-reviewLeeYudok/agents-scaffoldSkill40todayMITA43Claude Code
reviewSpaceMalamute/ai-rulesSkill29mo agononeA14Claude Code
code-reviewSpaceMalamute/ai-rulesSkill29mo agononeA15Claude Code
security-auditSpaceMalamute/ai-rulesSkill29mo agononeA14Claude Code
review-prSpaceMalamute/ai-rulesSkill29mo agononeA16Claude Code
memstack-development-code-reviewercwinvestments/memstackSkill43318d agoMITA75Claude Code
audit-agents-skillsFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A41Claude Code