Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Summary

Review markdown documents with an interactive TUI and let Claude address feedback automatically.

Install to Claude Code

/plugin install crit@crit-marketplace

Run in Claude Code. Add the marketplace first with /plugin marketplace add kevindutra/crit if you haven't already.

README.md

<p align="center"> <img src="assets/crit_logo.png" alt="crit" width="300"> </p>

crit

TUI for reviewing AI-generated code and plans — built for human-in-the-loop agentic coding workflows.

Read a plan or review code changes across multiple files, leave inline comments, and let Claude Code address your feedback automatically.

Built for the human-in-the-loop workflow: Your agent the writes code or a plan, you review it in a TUI, your agent seamlessly reads your comments and makes changes.

!crit code review demo

Install

Claude Code Plugin Marketplace (recommended)

crit is available as a Claude Code plugin. Add the marketplace and install:

/plugin marketplace add kevindutra/crit
/plugin install crit

Then use /crit:review in Claude Code. It will ask whether you want to review code changes or a document, open the TUI, and after you close it, Claude reads your comments and makes changes.

From source

go install github.com/kevindutra/crit/cmd/crit@latest

Make sure $GOPATH/bin (defaults to ~/go/bin) is in your PATH:

export PATH="$PATH:$(go env GOPATH)/bin"

Manual skill install

If you prefer not to use the plugin, you can install the skill directly:

crit setup-claude          # Install globally (~/.claude/skills/)
crit setup-claude --project # Install for current project only

Then use /crit-review <path> in Claude Code for document reviews, or /crit-code-review for multi-file code reviews.

Requirements

  • Go 1.21+ for building from source
  • tmux — required for the Claude Code integration. Crit opens the review TUI in a tmux split pane next to Claude Code.

Starting a tmux session

If you're not already in tmux, start one before launching Claude Code:

tmux new -s work
# Now launch Claude Code inside this tmux session
claude

If you forget, crit will tell you — but the split-pane review won't work outside of tmux.

Code Review (multi-file)

crit review --code

Detects changed files in your git repo and opens a tabbed TUI with syntax highlighting, diff markers, and inline commenting across all changed files.

  • Diffs against unstaged changes by default, falls back to HEAD~1 or main
  • Green gutter markers highlight changed lines
  • Comments are aggregated across all files in the session
# Get all code review comments as JSON
crit status --code

How code review works

1. Run crit review --code — crit detects changed files and opens the tabbed TUI 2. Navigate between files and leave inline comments on the changes 3. Quit the TUI — comments are saved to .crit/ 4. crit status --code outputs all comments across files as JSON 5. Claude (or any tool) reads the comments and edits the files

Document Review (single file)

crit review docs/plans/my-plan.md

Opens a full-screen terminal UI with syntax-highlighted markdown, a comment sidebar, and modal overlays for adding/editing comments.

tmux split pane mode

When running inside tmux, you can open the TUI in a side-by-side split pane:

# Open review in a tmux split and return immediately
crit review docs/plan.md --detach

# Open review in a tmux split and block until it closes
crit review docs/plan.md --detach --wait

This is how the Claude Code skill invokes crit — --detach --wait is a single blocking call that opens the TUI next to Claude Code and waits for you to finish reviewing.

How document review works

1. Claude writes a plan (or you open any markdown file) 2. crit review <path> opens the TUI — read through and leave inline comments 3. Comments are stored as JSON in a local .crit/ directory (gitignored by default) 4. crit status <path> outputs comments as JSON for Claude (or any tool) to consume 5. Claude reads the comments, edits the document, and you can re-review

Keybindings

| Key | Action | |-----|--------| | j / k | Scroll down / up | | ctrl+d / ctrl+u | Half page down / up | | g / G | Jump to top / bottom | | enter | Add comment at current line | | v | Visual select mode (multi-line comments) | | s | Toggle comment sidebar | | [ / ] | Jump to prev / next comment | | q | Save & quit |

Code review only:

| Key | Action | |-----|--------| | tab / shift+tab | Next / previous file tab | | n / N | Jump to next / previous change | | / | Search file tabs |

Scriptable CLI

# Add a comment programmatically
crit comment docs/plan.md --line 15 --body "This needs more detail"

# Multi-line comment
crit comment docs/plan.md --line 10 --end-line 20 --body "Rethink this section"

# Get review comments as JSON (single file)
crit status docs/plan.md

# Get all code review comments as JSON
crit status --code

Shell Completions

# Bash
crit completion bash > /etc/bash_completion.d/crit

# Zsh
crit completion zsh > "${fpath[1]}/_crit"

# Fish
crit completion fish > ~/.config/fish/completions/crit.fish

Development

go test ./...
go build ./...
go vet ./...

License

MIT

Related plugins

Browse all →