# Review agent-authored diffs with Hunk

> Use Hunk to keep a live terminal review UI open for agent-authored code changes, with Git, Jujutsu, Sapling, patch input, watch mode, and inline agent annotations.

- Skill: `agentskillexchange/review-agent-authored-diffs-with-hunk` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/review-agent-authored-diffs-with-hunk`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/review-agent-authored-diffs-with-hunk/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/review-agent-authored-diffs-with-hunk

---


# Review agent-authored diffs with Hunk

Use Hunk to keep a live terminal review UI open for agent-authored code changes, with Git, Jujutsu, Sapling, patch input, watch mode, and inline agent annotations.

## Prerequisites

Hunk CLI, Git/Jujutsu/Sapling or patch input, Node.js 18+ for npm install or Homebrew, optional coding-agent access to the Hunk skill path

## Installation

Use the upstream install or setup path that matches your environment:
- npm i -g hunkdiff
- brew install hunk

Requirements and caveats from upstream:
- Node.js 18+

Basic usage or getting-started notes:
- Or with Homebrew:
- [!NOTE]
- If you previously installed hunk via modem-dev/tap, be sure to uninstall it first with brew uninstall modem-dev/tap/hunk.

- Source: https://github.com/modem-dev/hunk
- Extracted from upstream docs: https://raw.githubusercontent.com/modem-dev/hunk/HEAD/README.md

## Documentation

- https://hunk.dev

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/review-agent-authored-diffs-with-hunk/)

