review

A workflow for reviewing a GitHub pull request, which is a proposed set of code changes awaiting review.

In plain words
What is it for?
Use it to review the current branch's request or a specified request, inspect its description and diff, and report problems or missing tests.
Why use it?
It loads the request and its differences, then checks them against the repository's coding rules, tests, and expected behavior.

Skill for Claude CodeCodex

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 skills/typeddevs/bashunit/review
Any agent
npx skills add TypedDevs/bashunit --skill review
Clone the repo
git clone --depth 1 https://github.com/TypedDevs/bashunit

Made for: Claude Code, Codex.

Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 494 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.00021 $0.00494
Opus 5 $0.00010 $0.00247
Sonnet 5 $0.00004 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 2d ago against content hash acab61f9d754, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 2d 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.

.claude/skills/review/SKILL.md · 43 lines

What it actually says

Review a Pull Request

Review a GitHub PR. When no number is given, review the PR for the current branch.

For reviewing your uncommitted working diff instead, use /code-review.

Current Branch Context

  • Branch: !git branch --show-current
  • PR for this branch: !gh pr view --json number,title,state,url --jq '"#\(.number) \(.title) [\(.state)] \(.url)"' 2>/dev/null || echo "none"

Arguments

  • $ARGUMENTS - PR number to review (optional, e.g., #42 or 42).

Instructions

  1. Resolve which PR to review:
  • If $ARGUMENTS contains a number, review that PR.
  • Otherwise, use the current branch's PR shown in the context above.
  • If neither yields a PR (no argument and the branch has no open PR), run gh pr list and ask the user which one to review. Do NOT guess.
  1. Load the PR:
gh pr view <number> --json number,title,body,state,headRefName,baseRefName,url
gh pr diff <number>
  1. Review the diff against this project's standards (see .claude/CLAUDE.md and .claude/rules/):
  • Bash 3.0+ compatibility (no declare -A, [[ ]], ${var,,}, negative indexing, &>>)
  • Tests exist and follow TDD; both success and failure paths covered
  • Naming, namespacing (bashunit::* / _private), and dynamic-scope safety
  • ShellCheck cleanliness and 2-space indentation (make lint, not shfmt)
  • CHANGELOG.md updated for user-facing changes
  1. Report findings grouped by severity (blocker / suggestion / nit), each as path:line — problem. fix.. No praise, no scope creep. State plainly if the PR looks good.
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. 2d ago First seen · 43 lines · 21 tokens per session scan A acab61f9d754

Subscribe to this mod's changes

review is a skill published in the GitHub repository TypedDevs/bashunit (424 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 494 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.

Related

Other skills, from other repositories

x-nets

Enhanced netstat module with cached data and structured output. View network connections, routing tables, and interface statistics in interactive or TSV/CSV formats. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 69 tokens

x-mankier

Search and browse man pages from ManKier.com. Command line interface for ManKier man page repository. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 62 tokens

x-osv

CLI for Google OSV database. Query vulnerabilities for packages, scan local projects for vulnerable dependencies. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill). Required Tool: Install osv-scanner for project scanning (see https://github.com/google/osv-scanner).

x-cmd/x-cmd · 72 tokens

rule

Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.

x-cmd/x-cmd · 0 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens