gh-rev

gh-rev is a skill for Claude Code, Codex from Unique-Divine/jiyuu. It costs 89 tokens per session (1,198 once invoked), scanned A, original, MIT.

A durable workflow for reviewing code on local branches or online pull requests. It stores review revisions and findings in Markdown so they can be checked and continued later.

In plain words
What is it for?
Use it to review branches and pull requests, save findings, track their status, and verify or implement review feedback.
Why use it?
It prevents review history and unresolved feedback from being lost between revisions or sessions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review branches and pull requests, save findings, track their status, and verify or implement review feedback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unique-divine/jiyuu/gh-rev
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.

Any agent
npx skills add Unique-Divine/jiyuu --skill gh-rev
Clone the repo
git clone --depth 1 https://github.com/Unique-Divine/jiyuu

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 gh-rev

README.md
[![agentmods](https://agentmods.dev/badge/skills/unique-divine/jiyuu/gh-rev/github.svg)](https://agentmods.dev/skills/unique-divine/jiyuu/gh-rev)
Your own site
<a href="https://agentmods.dev/skills/unique-divine/jiyuu/gh-rev"><img src="https://agentmods.dev/badge/skills/unique-divine/jiyuu/gh-rev/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 gh-rev

Your own site · 80×15
<a href="https://agentmods.dev/skills/unique-divine/jiyuu/gh-rev"><img src="https://agentmods.dev/badge/skills/unique-divine/jiyuu/gh-rev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,198 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.
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.00089 $0.01198
Opus 5.5 $0.00036 $0.00479
Sonnet 5.5 $0.00018 $0.00240
Haiku 4.5 $0.00009 $0.00120

Measured yesterday against content hash 7dc551684026, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gh-rev 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.

ai-skills/gh-rev/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

gh-rev

Command gh-rev is a CLI tool that records Markdown review revisions outside source repositories, normally under ~/gh. This skill explains how to use that tool to select targets, read history, allocate revisions, and resolve findings.

Compose with the gh-pr-review skill

Read and use the gh-pr-review skill whenever evaluating code or filling in a review. It supplies the review criteria, investigation standards, evidence, actionable findings, and recommendation. Apply it to the exact review range selected by the CLI.

Record that review in the template allocated by gh-rev next. Keep the ledger sections and exact finding markers described below; use the gh-pr-review skill to determine their content rather than copying its standalone output format over the ledger template. The CLI manages review records; it does not perform the code review.

Choose the workflow

Read references/cli.md for CLI discovery, installation, command purposes, and target selection. Then read the task reference:

  • "Review my current branch with gh-rev; it is not a PR yet." Read workflows/review-local-branch.md.
  • "Review the published PR for this branch" or "Review PR #1153." Read workflows/review-pull-request.md.
  • "Are there unresolved reviews?", "What feedback remains?", or "Resolve this finding after verification." Read workflows/work-revisions.md.
  • "Implement the submitted reviews," "Address the review feedback," or "Automatically fix clear findings while implementing this slice." Read workflows/implement-review-feedback.md.
  • For another independent review pass, use the applicable local-branch or PR reference. A new pass receives a new revision; addressing an existing pass does not.

If a local branch is associated with a PR, select the authority that matches the user's intent:

  • Review what is published on GitHub with --pr.
  • Review unpublished local commits with --branch ... --head local when that option is supported.

Read the full file on GitHub · 115 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +8 lines 7dc551684026
  2. 4d ago Changed aa317c0b4a22
  3. 1mo ago Changed · +11 lines · -30 tokens per session b281fcda4977
  4. 2mo ago First seen · 96 lines · 119 tokens per session scan A 122cc236e7c2

Subscribe to this mod's changes

gh-rev is a skill published in the GitHub repository Unique-Divine/jiyuu (7 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 1,198 once invoked, about $0.0004 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-09-08.

Related

gh-rev compared with skills from other repositories

gh-rev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gh-revUnique-Divine/jiyuuSkill7todayMITA89Claude Code, Codex
pr-workflowdimetron/pi-goSkill2326d agoMITA65Claude Code, Codex
vhs-e2e-gifdimetron/pi-goSkill2326d agoMITA71Claude Code, Codex
rex-hunk-diffdimetron/pi-goSkill2326d agoMITA101Claude Code, Codex
bmad-loopmmornati/leanproxy-mcpSkill5todayMITA48Claude Code, Codex
code-guidelines-godimetron/pi-goSkill2326d agoMITA124Claude Code, Codex
skill-creatoragenvoy/AgenvoySkill6328d agoAGPL-3.0A58Claude Code, Codex