Code Review Agent — Data skill for Claude Code
Local-first AI code review agent for GitHub pull requests, GitLab merge requests, and CI.
How to install Code Review Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open imranbru99/code-review-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Code Review Agent does
Local-first AI code review agent for GitHub pull requests, GitLab merge requests, and CI. Deterministic static analysis flags SQL injection, XSS, hardcoded secrets, command injection, and N+1 queries on the exact line, plus a suggested code fix. Optional LLM review via OpenAI, Claude, Gemini, or local Ollama. Use the CLI, library, or GitHub Action
Alternatives in Data
- LLM Redteam — LLM red-team corpus runner — fires categorized prompt-injection / jailbreak / system-prompt-leak / data-exfil 4.5k ★
- Vibesec — Helps write secure code by preventing common vulnerabilities including IDOR, XSS, SQL injection, SSRF, and wea 687 ★
- Core Data Agent Skill — An Agent Skill focused on Apple’s Core Data framework, helping with data modeling, fetch requests, performance 301 ★
README
code-review-agent
Local-first code review for pull requests, working trees, and your own tools. A deterministic rule engine writes line-level findings in milliseconds. An LLM agent adds semantic comments only when you turn it on.
Every finding has a file, a line, a severity, an explanation, and a suggested fix when the rule knows one. The same result renders in the terminal, as JSON, as Markdown, as GitHub review comments, or as a GitLab Code Quality report.
The picture is a real review of `examples/vulnerable/account.ts`. Seventeen findings, fifteen milliseconds, deterministic. Nothing in that run was sent to a model.
What you can do with it
| You want to… | How |
|---|---|
| Review the current git diff | npx code-review-agent inside a checkout |
| Review staged changes only | --staged |
| Review everything since a base branch | --diff --base origin/main |
| Review a directory or a list of files | Pass the paths |
| Review a diff you already have | Pipe it to --stdin |
| Review a GitHub pull request | --pr 128 --repo owner/name |
| Fail CI on serious findings | Default failOn is high |
| Post comments on the changed lines | --post |
| Label the pull request from the findings | --labels |
| Keep source on your machine | Leave the LLM off. This is the default |
| Add a semantic pass | --llm with OpenAI, Anthropic, Gemini, Ollama, or LM Studio |
| Enforce a house rule | YAML customRules, or a JavaScript plugin |
| Put the review inside your own service | import { review } from "code-review-agent" |
| Feed GitLab | --format gitlab and --post --platform gitlab |
| Teach or demo the rules | examples/vulnerable across six languages |
Built-in coverage today: Python, JavaScript, TypeScript, Go, Rust, Java, and PHP. Secrets
Related Skills
Attestyx
Monitor for AI coding agents (Claude Code, Codex, Gemini CLI): records what agents do on developer laptops and
Dev Tools
Claude Code skills for software development at LASP: drafting tickets, planning and building changes, reviewin
Parry
by Dmytro Onypko - Prompt injection scanner for Claude Code hooks. Scans tool inputs and outputs for injection
Skillsentinel
Static scanner for AI agent skills: catches prompt injection, dangerous shell commands and data exfiltration i
Yotta Agent Hardening
YuanSafe (元安全) — defensive hardening workflow for AI agents: static config-facing scan of an agent's own runti
LLM Anon Proxy
Local proxy that keeps your private data out of Claude Code's API traffic — swaps your domains, IPs, hostnames
Related Agents
JS Analyzer
JavaScript static analysis agent for client-side security review. Use for analyzing JS bundles, finding hardco
DotNet Code Reviewer
Use this agent for systematic code review, security audit, and performance optimization of C#/.NET projects sp
Absolute Security Auditor
Read-only security gate for a diff — injection (SQL/NoSQL/command/XSS/path traversal), authN/authZ flaws and I