Agent skill

Code Review

by ownpilot in ownpilot/OwnPilot

Reviews code for quality issues, security vulnerabilities, performance problems, and best practices.

MITAuto-check passedDevelopment

Install Code Review

skills CLI
$ npx skills add ownpilot/OwnPilot --skill code-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ownpilot/OwnPilot code-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ownpilot/OwnPilot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/gateway/data/example-skills/code-review .claude/skills/code-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-review
GitHub stars
426
Token cost
~493 tokens
SKILL.md length
169 words
Files
3 (incl. scripts, references)
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Reviews code for quality issues, security vulnerabilities, performance problems, and best practices.

  • Works in 4 steps: Read the code thoroughly before making… → Categorize issues by severity: Critical,… → Be specific - reference exact line… → …
  • The user asks for a code review
  • SKILL.md covers Review Process, What to Check, Output Format and Tips
  • Runs Python scripts from its folder

What it does

Code Review is an agent skill from ownpilot/OwnPilot. Reviews code for quality issues, security vulnerabilities, performance problems, and best practices. Use when the user asks for a code review, wants to improve code quality, or needs feedback on their implementation.

Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/REFERENCE.md` and `scripts/analyze.py`). Compatibility notes: Works with any code execution environment

It sits in Development, covering Code review and Code quality. The repository describes itself as: Privacy-first personal AI assistant platform with autonomous agents, tool orchestration, and multi-provider support. The licence is MIT.

When your agent uses it

  • The user asks for a code review
  • Wants to improve code quality
  • Needs feedback on their implementation

Example prompts

  • “Use the code-review skill to review code for quality issues, security vulnerabilities, performance problems, and best practices”
  • “/code-review”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Works with any code execution environment

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read the code thoroughly before making any comments
  2. Categorize issues by severity: Critical, Warning, Suggestion
  3. Be specific - reference exact line numbers and provide fixed code
  4. Be constructive - explain WHY something is an issue, not just WHAT

What it can do on your machine

Read from SKILL.md and the folder at commit eb4c27f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Works with any code execution environment

    From compatibility in the SKILL.md frontmatter.

Context cost

Code Review loads about 493 tokens when it runs, and up to ~689 if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 169 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~493
With references · SKILL.md plus every file in references/, read only if the agent opens them
~689

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ownpilot/OwnPilot at commit eb4c27f, republished under its MIT licence (© ownpilot). 169 words, ~493 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
code-review
description
Reviews code for quality issues, security vulnerabilities, performance problems, and best practices. Use when the user asks for a code review, wants to improve code quality, or needs feedback on their implementation.
compatibility
Works with any code execution environment
license
MIT
metadata.author
ownpilot
metadata.version
1.0.0

Code Review Skill

You are an expert code reviewer. When activated, follow this structured review process.

Review Process

  1. Read the code thoroughly before making any comments
  2. Categorize issues by severity: Critical, Warning, Suggestion
  3. Be specific - reference exact line numbers and provide fixed code
  4. Be constructive - explain WHY something is an issue, not just WHAT

What to Check

Security
  • SQL injection, XSS, command injection
  • Hardcoded secrets or credentials
  • Unsafe deserialization
  • Missing input validation at system boundaries
Performance
  • N+1 query patterns
  • Unnecessary re-renders (React)
  • Missing indexes for frequent queries
  • Unbounded collections or memory leaks
Code Quality
  • Functions longer than 50 lines
  • Deep nesting (>3 levels)
  • Magic numbers without constants
  • Dead code or unused imports
Error Handling
  • Unhandled promise rejections
  • Empty catch blocks
  • Missing error boundaries (React)
  • Swallowed errors without logging

Output Format

Structure your review as:

## Code Review Summary

**Overall**: [Good/Needs Work/Critical Issues]
**Files Reviewed**: [count]

### Critical Issues
- [file:line] Description and fix

### Warnings
- [file:line] Description and suggestion

### Suggestions
- [file:line] Optional improvement

### What's Good
- Positive observations about the code

Tips

  • Don't nitpick formatting if a linter handles it
  • Focus on logic errors over style preferences
  • If unsure about intent, ask before suggesting changes
  • Acknowledge good patterns when you see them

© ownpilot, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts, references) in packages/gateway/data/example-skills/code-review of ownpilot/OwnPilot.

  • SKILL.md
  • references/REFERENCE.md
  • scripts/analyze.py

Open the folder on GitHubat commit eb4c27f

Compare with similar skills

Code Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review this skillownpilot/OwnPilot426—~493Automated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Skill Doli Code ReviewDolibarr/dolibarr7.7k1 repos~1.1kAutomated safety check: PassMIT
Dignified Python Standardsdocling-project/docling68k—~1.5kAutomated safety check: PassApache-2.0
Clean Code GuardamElnagdy/guard-skills1.3k2 repos~4.3kAutomated safety check: PassMIT
Archify Reviewtt-a1i/archify79k—~415Automated safety check: PassMIT

Similar skills

  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Skill Doli Code Review

    Dolibarr/dolibarr

    Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.

    7.7k GitHub starsUsed in 1 repo~1.1k tokens
    DevelopmentAuto-check passed
  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    68k GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Clean Code Guard

    amElnagdy/guard-skills

    Reviews generated or changed production code against Clean Code, SOLID, DRY, KISS, YAGNI and LLM-specific failure modes before it ships, in any language.

    1.3k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • Archify Review

    tt-a1i/archify

    Review Archify issues, PRs, or code through value, cost, and impact to support evidence-based maintenance decisions. Use for issue triage, change reviews, and…

    79k GitHub stars~415 tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review Skill

    awesome-skills/code-review-skill

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…

    2.1k GitHub stars~2.8k tokensUpdated 29 days ago
    DevelopmentAuto-check: notes

More from ownpilot/OwnPilot

All 9 skills in this repo
  • API Debugging

    ownpilot/OwnPilot

    Systematic approach to debugging REST APIs, HTTP errors, authentication issues, and network problems.

    426 GitHub stars~824 tokensUpdated 29 days ago
    Auto-check passed
  • Git Workflow

    ownpilot/OwnPilot

    Guides you through Git workflows — branching strategies, commit conventions, merge conflict resolution, and release management.

    426 GitHub stars~572 tokensUpdated 29 days ago
    Auto-check passed
  • Writing Assistant

    ownpilot/OwnPilot

    Helps improve writing quality — emails, documents, blog posts, and technical content.

    426 GitHub stars~532 tokensUpdated 29 days ago
    Auto-check passed
  • Document Assistant

    ownpilot/OwnPilot

    OwnPilot official general skill for drafting, editing, restructuring, and reviewing long-form documents, reports, proposals, policies, and documentation.

    426 GitHub stars~302 tokensUpdated 29 days ago
    Auto-check passed
  • Meeting Notes

    ownpilot/OwnPilot

    OwnPilot official general skill for converting rough meeting notes, transcripts, and call summaries into decisions, action items, owners, risks, and follow-ups.

    426 GitHub stars~298 tokensUpdated 29 days ago
    Auto-check passed
  • Presentation Builder

    ownpilot/OwnPilot

    OwnPilot official general skill for creating slide outlines, executive narratives, speaker notes, and presentation critiques.

    426 GitHub stars~285 tokensUpdated 29 days ago
    Auto-check passed

Categories

Questions about Code Review

What does Code Review do?

Reviews code for quality issues, security vulnerabilities, performance problems, and best practices. Code Review is an agent skill from ownpilot/OwnPilot. Reviews code for quality issues, security vulnerabilities, performance problems, and best practices.

When should I use Code Review?

Code Review fits situations like: the user asks for a code review; wants to improve code quality; needs feedback on their implementation.

How do I install Code Review in Claude Code?

Run `npx skills add ownpilot/OwnPilot --skill code-review -a claude-code`. Or copy the skill folder (packages/gateway/data/example-skills/code-review in ownpilot/OwnPilot) into .claude/skills/code-review in your project. Claude Code loads it when a task matches its description.

How do I install Code Review in Codex?

Run `npx skills add ownpilot/OwnPilot --skill code-review -a codex`. Or copy the skill folder (packages/gateway/data/example-skills/code-review in ownpilot/OwnPilot) into .agents/skills/code-review in your project. Codex loads it when a task matches its description.

Can I use Code Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ownpilot/OwnPilot --skill code-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review, .gemini/skills/code-review, .github/skills/code-review and .opencode/skills/code-review in your project.

What does Code Review need to run?

Going by SKILL.md and its folder, Code Review needs Python for the scripts in its folder. Our summary lists: Python 3. Compatibility (from SKILL.md): Works with any code execution environment.

Does Code Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Code Review use?

Code Review is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review use?

About 493 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 196 tokens, read only when the agent opens those files.

What are the alternatives to Code Review?

Skills that share tags, products or a category with Code Review: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Skill Doli Code Review (Dolibarr/dolibarr, 7.7k stars), Dignified Python Standards (docling-project/docling, 68k stars) and Clean Code Guard (amElnagdy/guard-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

ownpilot (a GitHub organization) maintains it in ownpilot/OwnPilot, which has 426 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 8, 2026.

Source: ownpilot/OwnPilot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.