hunk: Skill for Claude Code

.agents/skills/hunk-review/SKILL.md

hunk-review is a skill for Claude Code, Codex from modem-dev/hunk. It costs 69 tokens per session (216 once invoked), scanned A, original, MIT.

A set of commands for working with a live Hunk session, where Hunk is a terminal interface for reviewing code differences. It lets an agent inspect files and exact changed sections without taking over the interactive screen.

In plain words
What is it for?
Use it to inspect the session, review files and change sections, reload the diff, navigate to a location, add inline comments, and highlight important character ranges.
Why use it?
It makes it possible to examine a user’s active review session and leave focused feedback at the right lines. It avoids using the interactive viewer directly from the agent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is modem-dev/hunk's own configuration. It tells Claude Code and Codex how to work on hunk itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hunk configures →

About the project

Hunk is a terminal application for reviewing code changes created by coding agents, with views for multi-file diffs, inline annotations, and Git-backed reviews. Developers use it to inspect, navigate, and approve changesets from the command line.

modem-dev/hunk · 9,709 stars · on GitHub · hunk.dev

Reuse

Borrowing it

Nothing to install: this file belongs to modem-dev/hunk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/modem-dev/hunk/main/.agents/skills/hunk-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/modem-dev/hunk

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hunk-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/modem-dev/hunk/hunk-review/github.svg)](https://agentmods.dev/skills/modem-dev/hunk/hunk-review)
Your own site
<a href="https://agentmods.dev/skills/modem-dev/hunk/hunk-review"><img src="https://agentmods.dev/badge/skills/modem-dev/hunk/hunk-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hunk-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/modem-dev/hunk/hunk-review"><img src="https://agentmods.dev/badge/skills/modem-dev/hunk/hunk-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 216 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 26 Oct 2026
  • Snyk pass 26 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00216
Opus 5.5 $0.00028 $0.00086
Sonnet 5.5 $0.00014 $0.00043
Haiku 4.5 $0.00007 $0.00022

Measured 3d ago against content hash ee6145b3079b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hunk-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/hunk-review/SKILL.md · 25 lines

What it actually says

hunk-review

This file is a pointer. The instructions live in the installed hunk CLI so they always match its version.

Before anything else, load them and follow them:

hunk skill show hunk-review

Hunk versions before 0.24 do not have hunk skill show. If it fails, print the bundled skill's path instead, then read that file and follow it:

hunk skill path hunk-review

If hunk is not on PATH, ask the user to install Hunk first: https://hunk.dev/docs/start/install/

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +6 lines ee6145b3079b
  2. 16d ago Changed · -205 lines 26239f7f54eb
  3. 1mo ago Changed · +1 lines fcb0e25875a4
  4. 1mo ago Changed · +1 lines a2817face7fb
  5. 2mo ago First seen · 222 lines · 69 tokens per session scan A 8974aeeaf423

Subscribe to this mod's changes

hunk-review is a skill published in the GitHub repository modem-dev/hunk (9,709 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 216 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gh-find-prs

Survey open Codewhale PRs and triage each for mergeability and disposition against the real landing branch.

Hmbown/CodeWhale · 27 tokens

github

Skill "github" from Hmbown/Codewhale, covering github, when to use, setup, workflow and non-goals.

Hmbown/Codewhale · 0 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens

fix-pr

One-verb pipeline for the operator's highest-frequency manual loop: fetch a PR's unresolved reviewer feedback (inline review comments, review-summary bodies, and issue-level conversation comments) and failing CI checks, triage each issue via parallel read-only probes, fix the validated items in an isolated managed…

griffinwork40/agent-afk · 180 tokens

review-code

Code Review Skill: Deep code review that traces data flow, checks callers, and catches regressions. MANDATORY TRIGGERS: review, code review, peer review, review PR, check code, approve, review changes.

ccevans/bobbycode · 50 tokens

tour

Tour is a local code-walkthrough CLI for AI agents. After finishing a task, the agent leaves line-anchored comments on a pinned git diff (a guided traversal) that a human steps through in a TUI or webapp. Activates when the user asks to "review this branch", "review this PR", "walk me through this diff", "leave…

a9a4k/tour · 167 tokens