Skip to main content

Your code is under new management

Warden is an event-driven code analysis agent that reviews your code using Claude-powered skills. Run it locally before you push, or automatically on every pull request.

Quickstart

Get up and running in minutes

CLI Commands

Explore all CLI commands

GitHub Action

Set up automated PR reviews

Create Skills

Write custom analysis skills

Why Warden?

Skills, not prompts

Define analysis once, run it anywhere. Bootstrap your environment with skills from conventional directories.

Two ways to run

CLI catches issues before you push. GitHub Action reviews every PR automatically.

GitHub-native

Findings appear as inline PR comments with suggested fixes.

Key Features

Event-driven Triggers

Match on pull request events, file patterns, and schedules

Auto-fix

Apply suggested fixes automatically with --fix

Cost Tracking

Track LLM usage and costs for every skill run

TOML Configuration

Simple, declarative configuration with warden.toml

Quick Example

# Initialize warden in your repository
npx warden init

# Run on uncommitted changes
npx warden

# Fix issues automatically
npx warden --fix

Next Steps

Installation

Install Warden and set up authentication

Core Concepts

Learn about skills, triggers, and findings

Configuration Guide

Configure Warden for your project

API Reference

Use Warden as a library in your code

Build docs developers (and LLMs) love