Diffray — AI skill for Claude Code
AI-powered code review CLI for git changes.
How to install Diffray
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open strelov1/diffray and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Diffray does
AI-powered code review CLI for git changes.
Alternatives in AI
- Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
- Compound Knowledge Plugin — AI-powered workflows for knowledge work: brainstorm, plan, review, execute, and save learnings 186 ★
- Gensee Crate — Run AI harnesses like Claude Code, Codex, Copilot, Antigravity, and Omnigent in disposable workspace forks 123 ★
README
diffrayFree open-source multi-agent code review |
**What is this?** A CLI tool that runs multiple AI agents to review your code changes. Each agent specializes in different aspects: bugs, security, performance, code style. Works with [Claude Code](https://github.com/anthropics/claude-code), [Cursor Agent](https://cursor.com), OpenCode, or Codex CLI.
**How is it different from [diffray.ai](https://diffray.ai)?** The cloud platform automatically learns from your team's review feedback and generates rules. This CLI version requires manual rule configuration but gives you full control and runs locally.
Table of Contents
- Quick Start
- Prerequisites
- How It Works
- Configuration
- Creating Custom Agents
- Creating Custom Rules
- Overriding Agents and Rules
- FAQ
- Development
Quick Start
1. Install diffray
# Install globally from npm
npm install -g diffray
2. Run your first review
# Go to your project
cd your-project
# Review your uncommitted changes (or last commit if working tree is clean)
diffray review
# Or review changes between branches
diffray review --base main
That's it! diffray will analyze your changes and show any issues found.
Common Commands
# Review uncommitted changes, or last commit if clean
diffray review
# Review changes compared to main branch
diffray review --base main
# Review last 3 commits
diffray review --base HEAD~3
# Review specific file(s) - only git changes in these files
diffray review --files src/auth.ts
diffray review --files src/auth.t
Related Skills
Aigate AI Git Workflow Guard CLI
Pre-push Git safety CLI for AI-assisted coding: catch risky changes, possible secrets, weak PR readiness, and
Git AI
Stop writing commit messages by hand. AI-powered conventional commits from your staged changes — powered by Cl
AI Git Hooks
AI-powered git hooks - auto-review diffs, generate commit messages, scan for secrets. Supports Claude, OpenAI,
Claude Commit
🤖 AI-powered git commit message generator using Claude Agent SDK and Claude Code CLI
Klarion
AI-powered secret scanner for code and git history. Finds leaked API keys, tokens and credentials with near-ze
Sap Transport Gate
AI-powered release gate for SAP Transport Requests. CLI collects evidence from ADT; SKILL guides LLMs to revie
Related Agents
API Contract Watcher
Use to detect breaking changes to public APIs (HTTP endpoints, library exports, gRPC methods, CLI flags) betwe
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Tsk - AI Agent Task Manager And Sandbox
by dtormoen - A Rust CLI tool that lets you delegate development tasks to AI agents running in sandboxed Docke