review-skill

Machine-readable guidance for Hunk's live code-review workflow. Hunk is a tool that manages review sessions and comments, and this guidance is generated from its source metadata rather than maintained as a standalone document.

In plain words
What is it for?
Use it to locate review sessions, inspect changes, navigate files, reload review data, and add comments; update the source and regenerate the document instead of editing the generated file.
Why use it?
It keeps review commands, examples, constraints, and error remedies aligned with the installed Hunk version and helps agents follow the expected review process.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/modem-dev/hunk/review-skill
Clone the repo
git clone --depth 1 https://github.com/modem-dev/hunk
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00017 $0.00342
Opus 5 $0.00009 $0.00171
Sonnet 5 $0.00003 $0.00068
Haiku 4.5 $0.00002 $0.00034

Measured yesterday against content hash 713dfc1f5849, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

review-skill 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 yesterday.

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.

website/src/content/docs/docs/agents/review-skill.md · 33 lines

What it actually says

Hunk ships a generated hunk-review skill with every installation. It is the authoritative machine-facing workflow for session selection, efficient review inspection, navigation, reloads, and comments.

Locate the installed skill

hunk skill path

Load or symlink the returned file according to your coding agent's skill mechanism. Resolve the path again after upgrades so the guidance stays aligned with the installed CLI.

For agents that need a stable web-readable URL, use the generated Hunk review skill. The published artifact and installed skill are rendered by the same function; neither is a handwritten copy.

Why it is generated

The checked-in skills/hunk-review/SKILL.md is rendered from typed command metadata and agent error definitions in Hunk's source. Parser help, examples, constraints, and common remedies therefore share ownership instead of drifting as separate handwritten copies.

Do not edit the generated skill directly. Contributors change src/hunk-review/skillDocument.ts, src/session/agent/surface.ts, or src/session/agent/errors.ts, then run:

bun run generate:skill

Use it safely

The skill instructs agents to avoid launching interactive commands such as hunk diff themselves. The user owns the TUI; the agent talks to an already-live review through hunk session *.

For the human workflow around that surface, start with Review with an agent.

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. yesterday First seen · 33 lines · 17 tokens per session scan A 713dfc1f5849

Subscribe to this mod's changes

review-skill is an agent published in the GitHub repository modem-dev/hunk (8,933 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 342 once invoked, about $0.0001 per session on Opus 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.