code-review

A complete code-review workflow that examines a proposed change for correctness, security, performance, design, and project-specific rules. It uses several focused reviewers and returns one final report.

In plain words
What is it for?
Use it to review a pull request, merge request, commit range, branch change, working-tree change, or pasted diff.
Why use it?
It brings related review checks together so important defects are less likely to be missed and the result is consistent across pull requests, branches, commits, or pasted diffs.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/srtab/daiv/code-review
Any agent
npx skills add srtab/daiv --skill code-review
Clone the repo
git clone --depth 1 https://github.com/srtab/daiv

Made for: Claude Code, Codex.

Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00164 $0.02256
Opus 5 $0.00082 $0.01128
Sonnet 5 $0.00033 $0.00451
Haiku 4.5 $0.00016 $0.00226

Measured 2d ago against content hash 7a9aec313152, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-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 2d 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.

daiv/automation/agent/skills/code-review/SKILL.md · 181 lines

How it starts

The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Review

Run a comprehensive review using multiple specialized agents, each focusing on a different aspects.

The final message is the only deliverable. Never create a platform discussion, review, comment, or note yourself. When the request came from a pull-request or merge-request comment, the platform layer posts your final message automatically.

1. Resolve the review context

Use the same workflow for GitHub pull requests and GitLab merge requests.

  • Platform review: the request arrived from a PR or MR comment. Use the platform context and read tools to identify the change and previous DAIV reviews. Include the review marker, run number, and footer in the final message.
  • Interactive review: any chat or CLI request, including a PR or MR the user merely pointed at, a local change, or a pasted diff. Return the report directly without a marker or footer.

Choose the review scope in this order:

  1. Use an explicit diff, commit range, branch range, path set, PR, or MR named by the user.
  2. Treat a pasted diff as the authoritative change when repository refs are unavailable.
  3. For a platform review, use the PR or MR base and head.
  4. Otherwise review the current working-tree change, including staged, unstaged, and new files.

Ask when the intended scope is ambiguous. Resolve refs to commit SHAs before using them in shell commands.

2. Find the previous platform review

For a platform review, load the appropriate GitHub or GitLab read tool and list all comments or notes, following pagination. Do not use any write action.

DAIV review comments contain:

<!-- daiv:code-review run=N head=<full-sha> -->
## Code Review #N

A marker counts only when:

  • the comment was authored by DAIV's account;
  • it matches the marker grammar exactly, with a 40-character hexadecimal head SHA;
  • the comment contains at least one review section or a No findings result.

Ignore every other marker. The next run number is the highest valid run plus one. The previous review is the newest valid comment among those with the highest run number. Its marker supplies the previous reviewed head.

Read the full file on GitHub · 181 lines

Files

What ships with it

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

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. 2d ago First seen · 181 lines · 164 tokens per session scan A 7a9aec313152

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository srtab/daiv (22 stars, last pushed 4d ago), licensed Apache-2.0. It adds 164 tokens to every session and 2,256 once invoked, about $0.0008 per session on Opus 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-30.

Related

Other skills, from other repositories

using-superpowers

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions.

Onelevenvy/flock · 29 tokens

karpathy

Coding principles for simplicity, clarity, and surgical precision. Use when you want Claude to think before coding, keep solutions minimal, make surgical changes, and define verifiable success criteria. Triggers on: karpathy mode, think before coding, simplicity first, surgical changes.

Onelevenvy/flock · 57 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

Onelevenvy/flock · 64 tokens

planning-with-files

Implements Manus-style file-based planning for complex tasks. Creates taskplan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls. Now with automatic session recovery after /clear.

Onelevenvy/flock · 56 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

Onelevenvy/flock · 43 tokens

data-visualization

Use for creating publication-quality charts and multi-panel analysis summaries. Triggers when tasks involve visualizing data, plotting results, creating charts, or producing visual reports from analysis output.

langchain-ai/deepagents · 40 tokens