post-review-comments

post-review-comments is a skill for Claude Code, Codex from dyoshikawa/rulesync. It costs 26 tokens per session (495 once invoked), scanned A, original, MIT.

A process for reviewing a GitHub pull request and posting concise comments on specific changed lines, plus an overall review. A pull request is a proposed code change awaiting feedback.

In plain words
What is it for?
Reading a pull request's changes, identifying issues or questions, preparing file and line references, and submitting comments through GitHub.
Why use it?
It makes review feedback specific and keeps line comments and the summary together in one submitted review.

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

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 post-review-comments

README.md
[![agentmods](https://agentmods.dev/badge/skills/dyoshikawa/rulesync/post-review-comments.svg)](https://agentmods.dev/skills/dyoshikawa/rulesync/post-review-comments)
Your own site
<a href="https://agentmods.dev/skills/dyoshikawa/rulesync/post-review-comments"><img src="https://agentmods.dev/badge/skills/dyoshikawa/rulesync/post-review-comments.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 495 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.00026 $0.00495
Opus 5 $0.00013 $0.00247
Sonnet 5 $0.00005 $0.00099
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

post-review-comments 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.

.rulesync/skills/post-review-comments/SKILL.md · 70 lines

What it actually says

target_pr = the user's request

If target_pr is not provided, use the PR of the current branch.

Step 1: Understand the PR

Read the PR diff and description to understand:

  • What changed and why
  • The scope and impact of the changes

Step 2: Prepare Line-Level Comments

Identify specific lines in the diff that deserve feedback — bugs, potential issues, style concerns, suggestions for improvement, or questions about intent.

For each comment, note:

  • The file path
  • The line number (in the new version of the file)
  • Your comment text

Step 3: Prepare an Overall Review Comment

Write a brief overall assessment of the PR. This is a summary-level comment, not a repeat of line-level feedback.

Step 4: Post the Review

Use a single gh api call to submit both line-level comments and the overall comment together as one review:

gh api repos/{owner}/{repo}/pulls/{pr_number}/reviews \
  --method POST \
  -f event="COMMENT" \
  -f body="<overall comment>" \
  -f 'comments[]={...}' ...

Each line comment requires: path, line (line number in the diff's new file), and body.

If you have no line-level comments, fall back to:

gh pr review <pr_number> --comment --body "<overall comment>"

Writing Style

Write in English only.

Style guidelines — write like a human teammate, not a bot:

  • Use plain paragraphs. Avoid headings (##), horizontal rules (---), and excessive bullet lists.
  • Keep it conversational and direct. Say what matters, skip the filler.
  • Do not use phrases like "Great work!" or "LGTM!" unless you genuinely mean it and have nothing else to add.
  • Be honest. If something looks off, say so clearly but respectfully.
  • Short is fine. A two-sentence comment is better than a five-paragraph essay with no substance.

Step 5: Report

Output the PR number, a count of line-level comments posted, and a brief summary of the overall comment.

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 First seen · 70 lines · 26 tokens per session scan A 6287b8be5a7e

Subscribe to this mod's changes

post-review-comments is a skill published in the GitHub repository dyoshikawa/rulesync (1,373 stars, last pushed 2d ago), licensed MIT. It adds 26 tokens to every session and 495 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

deep-clean

Full-spectrum consolidation of AI agent configuration files. Goes beyond memory-only dream skills: audits and optimizes context files (AGENTS.md/AGENTS.md/GEMINI.md/.cursorrules), rules, skills, and memory. Detects stale references, dead file paths, duplicated rules, stack mismatches, contradictions, vague directives…

opencue/cuecards · 87 tokens

turborepo

Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines…

Bosh-Kuo/awesome-agent-toolkit · 111 tokens

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for…

Bosh-Kuo/awesome-agent-toolkit · 90 tokens

skill-creator-anthropic

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

Bosh-Kuo/awesome-agent-toolkit · 48 tokens

skill-creator-openai

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

Bosh-Kuo/awesome-agent-toolkit · 48 tokens

impeccable

Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states.…

Bosh-Kuo/awesome-agent-toolkit · 189 tokens