whatisgithub

What is tmux-slopchop-cc?

nikhilmehta16/tmux-slopchop-cc — explained in plain English

Analysis updated 2026-05-18

0TypeScriptAudience · developerComplexity · 2/5LicenseSetup · moderate

In one sentence

A terminal tool that lets you review a Claude Code diff line by line, mark lines FIX or DISCUSS, then stage a reply prompt into Claude Code's input via tmux.

Mindmap

mindmap
  root((tmux-slopchop-cc))
    What it does
      Shows a git diff review overlay
      Marks lines FIX or DISCUSS
      Stages a prompt into Claude Code
    Tech stack
      TypeScript
      Node.js
      tmux
    Use cases
      Review Claude Code's changes line by line
      Ask Claude to justify a specific change
      Send a batch of change requests in one prompt
    Audience
      Developers using Claude Code
      Terminal power users
    Origin
      Fork of pi-slopchop

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Review a Claude Code session's git diff line by line inside the terminal instead of scrolling chat history.

USE CASE 2

Mark specific lines FIX to ask Claude to change them or DISCUSS to ask it to explain them.

USE CASE 3

Batch several change requests into one prompt and stage it into Claude Code's input with one keystroke.

What is it built with?

TypeScriptNode.jstmux

How does it compare?

nikhilmehta16/tmux-slopchop-cc0xkinno/astraea0xkinno/halcyon
Stars000
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardhard
Complexity2/54/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 18+, tmux, and Claude Code already running inside a tmux pane.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

tmux-slopchop-cc is a keyboard driven terminal tool for reviewing code changes made by Claude Code, the AI coding assistant. It floats a review screen over your existing terminal session, showing you a git diff line by line, so you can walk through what changed without scrolling back through a chat conversation to find it. As you review the diff, you can mark specific lines with FIX, meaning you want Claude to change that part, or DISCUSS, meaning you want Claude to explain or justify what it did without changing it. Once you are done marking lines, you submit, and the tool builds a prompt from your notes and places it directly into Claude Code's text input inside the same terminal pane, using a tool called tmux that manages multiple terminal panes. Importantly, it only places the text there. It does not send it. You still read the prompt and press Enter yourself before anything happens. Setup requires Node.js version 18 or newer, tmux, and Claude Code itself running inside a tmux pane. After installing, you add a short snippet to your tmux configuration file that binds a keyboard shortcut to open the review popup over whichever pane you are working in. From there, number keys choose what to review, such as uncommitted changes or the last commit, and single letter keys move between lines, jump between changed sections, and mark FIX or DISCUSS. The tool can also run outside the popup from the command line, printing the built prompt to your terminal, copying it to your clipboard, or sending it to a specific tmux pane you name. This project is a fork of an existing tool called pi-slopchop, with its review screen and diff handling reused, but its backend swapped out so it works with Claude Code instead of the original Pi agent. As of this version, code inside the diff is not color highlighted by type, only marked as added or removed. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Walk me through installing tmux-slopchop-cc and setting up the tmux keybinding for it.
Prompt 2
Explain what the FIX and DISCUSS annotations do differently when the prompt is sent to Claude Code.
Prompt 3
Show me how to use the CLI to copy a review prompt to my clipboard instead of pasting it into a pane.
Prompt 4
Describe how the tmux load-buffer and paste-buffer commands stage text without sending it automatically.

Frequently asked questions

What is tmux-slopchop-cc?

A terminal tool that lets you review a Claude Code diff line by line, mark lines FIX or DISCUSS, then stage a reply prompt into Claude Code's input via tmux.

What language is tmux-slopchop-cc written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, tmux.

What license does tmux-slopchop-cc use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is tmux-slopchop-cc to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tmux-slopchop-cc for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.