code-review

code-review is a skill for Claude Code, Codex from vstorm-co/pydantic-deepagents. It costs 16 tokens per session (280 once invoked), scanned A, original, MIT.

A structured review of source code for mistakes, security risks, slow operations, maintainability problems, and missing tests. It examines both normal cases and edge cases, such as empty input or concurrent use.

In plain words
What is it for?
Use it to review changed code for logic errors, unsafe input handling, exposed secrets, inefficient database access, unclear structure, dead code, and untested paths.
Why use it?
It gives developers a consistent way to find defects that may be missed during casual reading. Findings include where the issue is, how serious it is, and a suggested fix.

Skill for Claude CodeCodex

About the project

Pydantic Deep Agents is a self-hosted terminal AI assistant and Python framework for building coding, research, and other AI agents. It gives agents tools such as file access, shell commands, planning, memory, sub-agents, sandboxed execution, and MCP connections, and supports different models.

vstorm-co/pydantic-deepagents · 1,058 stars · on GitHub · vstorm-co.github.io

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/vstorm-co/pydantic-deepagents/code-review
Any agent
npx skills add vstorm-co/pydantic-deepagents --skill code-review
Clone the repo
git clone --depth 1 https://github.com/vstorm-co/pydantic-deepagents

Made for: Claude Code, Codex.

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 code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/vstorm-co/pydantic-deepagents/code-review.svg)](https://agentmods.dev/skills/vstorm-co/pydantic-deepagents/code-review)
Your own site
<a href="https://agentmods.dev/skills/vstorm-co/pydantic-deepagents/code-review"><img src="https://agentmods.dev/badge/skills/vstorm-co/pydantic-deepagents/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 280 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.1 $0.00016 $0.00280
Opus 5 $0.00008 $0.00140
Sonnet 5 $0.00003 $0.00056
Haiku 4.5 $0.00002 $0.00028

Measured 6d ago against content hash 65524420b706, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 6d 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.

apps/cli/skills/code-review/SKILL.md · 47 lines

What it actually says

Code Review

Perform a systematic code review covering these categories:

Review Checklist

1. Correctness

  • Logic errors, off-by-one, null/None handling
  • Edge cases: empty inputs, large inputs, concurrent access
  • Error handling: are exceptions caught and handled properly?

2. Security

  • Input validation and sanitization
  • SQL injection, XSS, command injection
  • Secrets in code, hardcoded credentials
  • Authentication and authorization checks

3. Performance

  • Unnecessary loops, N+1 queries
  • Missing indexes for database queries
  • Large memory allocations, unbounded collections
  • Blocking calls in async code

4. Style & Maintainability

  • Naming clarity (variables, functions, classes)
  • Function length — split if >30 lines
  • Dead code, commented-out code
  • Missing type annotations

5. Testing

  • Are new code paths covered by tests?
  • Are edge cases tested?
  • Are error paths tested?

Output Format

For each issue found:

  • File:line — category — description — suggested fix
  • Severity: critical / warning / suggestion
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. 6d ago First seen · 47 lines · 16 tokens per session scan A 65524420b706

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository vstorm-co/pydantic-deepagents (1,058 stars, last pushed 14d ago), licensed MIT. It adds 16 tokens to every session and 280 once invoked, about $0.0001 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

add-new-model

Add support for a newly-released LLM model in pydantic-ai (e.g. openai:gpt-5.6, anthropic:claude-sonnet-5). Use when a provider ships a new model id and you need to wire literals, profile flags, and tests to recognize it. Handles SDK-lag, gateway list conventions, and capability probing.

pydantic/pydantic-ai · 80 tokens

building-pydantic-ai-agents

Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydanticai, or asks to build an AI agent, add tools/capabilities, defer capability loading, stream output, define agents…

pydantic/pydantic-ai · 85 tokens

complete-partial-pr

Evaluate and complete an issue or PR where the submitted patch fixes only a narrow symptom of the reported pain point. Use when a contribution may miss adjacent integration surfaces, provider/spec semantics, roundtrip behavior, tests, docs, or historical maintainer decisions.

pydantic/pydantic-ai · 55 tokens

testing-skill

Record, rewrite, and debug VCR cassettes for HTTP recordings. Use when running tests with --record-mode, verifying cassette playback, or inspecting request/response bodies in YAML cassettes.

pydantic/pydantic-ai · 44 tokens

pre-push-review

Run a high-judgment local review of the current branch before pushing, both before a PR exists and between PR iterations.

pydantic/pydantic-ai · 24 tokens

adding-a-provider-api-feature

Add a new provider API capability (prompt caching, strict/structured tool calling, thinking/reasoning effort, service tier, safety settings, logprobs, etc.) to Pydantic AI. Use when wiring a provider feature through the library — it enforces reasoning from the existing cross-provider abstraction before designing…

pydantic/pydantic-ai · 97 tokens