In this article, we review what a hunk library is. You will learn:
What is Hunk?
Modem
What is Hunk??
Hunk is a review-first terminal diff viewer for agent-authored changesets, built on OpenTUI and Pierre diffs..
Features
multi-file review stream with sidebar navigation
inline AI and agent annotations beside the code
split, stack, and responsive auto layouts
watch mode for auto-reloading file and Git-backed reviews
keyboard, mouse, pager, and Git difftool support
Quick start
hunk # show help
hunk --version # print the installed version
Working with Git
Hunk mirrors Git’s diff-style commands, but opens the changeset in a review UI instead of plain text.
hunk diff # review current repo changes, including untracked files
hunk diff --watch # auto-reload as the working tree changes
hunk show # review the latest commit
hunk show HEAD~1 # review an earlier commit
Working with agents
Open Hunk in another terminal with hunk diff or hunk show.
Tell your agent to add the skill file returned by hunk skill path.
Ask your agent to use the skill against the live Hunk session.
A good generic prompt is:
Load the Hunk skill and use it for this review. Run `hunk skill path` to get the skill path.
Learn more about hunk.dev/..
Modem
Hunk is an opensource library authored by Modem. Modem captures every piece of customer feedback your team gets — from Slack, Linear, GitHub, Intercom, and PostHog — and triages it automatically so engineers spend less time PMing and more time shipping.
Build what’s actually important
Every bug report, every feature request, automatically clustered and prioritized
Unified company & user profiles to understand who matters and who can wait
Spot emerging trends before they become fires
Act on problems you didn’t know you had
Get alerted to user concerns as they happen, not days later
Create detailed tickets automatically or straight from chat
Delegate tasks to coding agents with the context they need to be successful
Learn more about Modem..
About me:
Hey, my name is ramunarasinga. Email: ramunarasinga@gmail.com
Tired of AI slop?
I spent 3+ years studying OSS codebases and wrote 350+ articles on what makes them production-grade. I built
Codebase architecture skills, inspired by best OSS projects.


Top comments (0)