github-code-review

github-code-review is a skill for Claude Code, Codex from AmineDjeghri/personal-os-setup. It costs 18 tokens per session (1,014 once invoked), scanned A, a copy of github-code-review, MIT.

A guide for reviewing code changes in Git or a GitHub pull request. It covers reading differences and leaving comments on specific lines.

In plain words
What is it for?
Use it to review local edits before pushing or to inspect an existing GitHub pull request and add inline comments.
Why use it?
It provides a repeatable way to spot problems before changes are merged and to record feedback where the code is being discussed.

Skill for Claude CodeCodex

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

Good fit Use it to review local edits before pushing or to inspect an existing GitHub pull request and add inline comments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aminedjeghri/personal-os-setup/github-code-review
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 AmineDjeghri/personal-os-setup --skill github-code-review
Clone the repo
git clone --depth 1 https://github.com/AmineDjeghri/personal-os-setup

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 github-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/github-code-review/github.svg)](https://agentmods.dev/skills/aminedjeghri/personal-os-setup/github-code-review)
Your own site
<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/github-code-review"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/github-code-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 github-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/aminedjeghri/personal-os-setup/github-code-review"><img src="https://agentmods.dev/badge/skills/aminedjeghri/personal-os-setup/github-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,014 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 89% copy Near-identical to another mod 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.00018 $0.01014
Opus 5.5 $0.00007 $0.00406
Sonnet 5.5 $0.00004 $0.00203
Haiku 4.5 $0.00002 $0.00101

Measured 1mo ago against content hash 4a74a1d1f51a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-code-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 1mo 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.

Origin

This is a copy

89% identical to github-code-review — 438 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

src/personal_os_setup/config/chezmoi/dot_claude/skills/github-code-review/SKILL.md · 110 lines

How it starts

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

GitHub Code Review

Plain git for local review; gh for PRs. No gh? Install it (see github-auth) — fallback: github-auth/references/rest-api-fallback.md.

Prerequisites

OWNER_REPO=$(git remote get-url origin | sed -E 's|.*github\.com[:/]||; s|\.git$||')
OWNER=$(echo "$OWNER_REPO" | cut -d/ -f1); REPO=$(echo "$OWNER_REPO" | cut -d/ -f2)

1. Reviewing Local Changes (Pre-Push)

Pure git — works everywhere, no API needed.

Review Strategy

  1. Scope first: git diff main...HEAD --stat and git log main..HEAD --oneline.
  2. File by file: read the changed files for context, git diff main...HEAD -- <path> for one file, git diff main...HEAD --name-only to list files, git diff --staged for staged-only work.
  3. Check the diff for common issues:
git diff main...HEAD | grep -n "print(\|console\.log\|TODO\|FIXME\|HACK\|XXX\|debugger"
git diff main...HEAD --stat | sort -t'|' -k2 -rn | head -10   # large files accidentally staged
git diff main...HEAD | grep -in "password\|secret\|api_key\|token.*=\|private_key"
git diff main...HEAD | grep -n "<<<<<<\|>>>>>>\|======="      # merge conflict markers
  1. Present structured feedback in the format owned by references/review-output-template.md (output format, severity guide, verdict rule).

2. Reviewing a Pull Request on GitHub

View PR Details

gh pr view 123
gh pr diff 123
gh pr diff 123 --name-only

Check Out PR Locally for Full Review

gh pr checkout 123   # then read the changed files, run the tests
git diff main...HEAD

Comment, Inline Comment, and Formal Review

gh pr comment 123 --body "Overall looks good, a few suggestions below."
HEAD_SHA=$(gh pr view 123 --json headRefOid --jq '.headRefOid')

gh api repos/$OWNER/$REPO/pulls/123/comments \
  --method POST \
  -f body="This could be simplified with a list comprehension." \
  -f path="src/auth/login.py" \
  -f commit_id="$HEAD_SHA" \
  -f line=45 \
  -f side="RIGHT"

Read the full file on GitHub · 110 lines

Files

What ships with it

1 file 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. 1mo ago Changed 4a74a1d1f51a
  2. 1mo ago Changed · -79 lines 6fe31bf43a05
  3. 2mo ago Changed · -293 lines scan C → A 8845b1366c99
  4. 2mo ago First seen · 482 lines · 18 tokens per session scan C 957c4d454ca7

Subscribe to this mod's changes

github-code-review is a skill published in the GitHub repository AmineDjeghri/personal-os-setup (687 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 1,014 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to github-code-review, differing in 438 lines, and is treated as a copy.

Related

github-code-review compared with skills from other repositories

github-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-code-reviewAmineDjeghri/personal-os-setupSkill687todayMITA18Claude Code, Codex
pr-monitorantropos17/AegisSkill1625d agoMITA25Claude Code, Codex
github-pr-workflowtaracodlabs/aidenSkill9151mo agoAGPL-3.0A20Claude Code, Codex
github-pr-flowmgerdov-igt/ai-cookbookSkill23d agononeA59Claude Code, Codex
prYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA47Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill12ktodayApache-2.0A17Claude Code, Codex
engram-branch-prGentleman-Programming/engramSkill8.4k6d agoMITA37Claude Code, Codex