dogma: Skill for Claude Code

.github/skills/pr-review-reply/SKILL.md

pr-review-reply is a skill for Claude Code from EndogenAI/dogma. It costs 104 tokens per session (1,555 once invoked), scanned A, original, Apache-2.0.

A workflow for replying to and closing comments on GitHub pull requests, which are proposed code changes submitted for review. It supports one comment at a time or a batch of several comments and threads.

In plain words
What is it for?
Use it after fixing pull-request feedback to post replies, resolve review threads, or handle many comments together with the provided script.
Why use it?
It keeps review responses tied to the commit that addressed each issue and records which discussions were closed. Batch processing also gives multiple replies one consistent audit trail.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions AGENTS.md.

This is EndogenAI/dogma's own configuration. It tells Claude Code how to work on dogma itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dogma configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/pr_review_reply.py --pr <num> --reply-to <comment-id> --body "Fixed in <sha>.".

Reuse

Borrowing it

Nothing to install: this file belongs to EndogenAI/dogma. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/EndogenAI/dogma/main/.github/skills/pr-review-reply/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/EndogenAI/dogma

Made for: Claude Code.

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 pr-review-reply

README.md
[![agentmods](https://agentmods.dev/badge/skills/endogenai/dogma/pr-review-reply/github.svg)](https://agentmods.dev/skills/endogenai/dogma/pr-review-reply)
Your own site
<a href="https://agentmods.dev/skills/endogenai/dogma/pr-review-reply"><img src="https://agentmods.dev/badge/skills/endogenai/dogma/pr-review-reply/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 pr-review-reply

Your own site · 80×15
<a href="https://agentmods.dev/skills/endogenai/dogma/pr-review-reply"><img src="https://agentmods.dev/badge/skills/endogenai/dogma/pr-review-reply.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,555 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.00104 $0.01555
Opus 5.5 $0.00042 $0.00622
Sonnet 5.5 $0.00021 $0.00311
Haiku 4.5 $0.00010 $0.00155

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

Security

Grade A, and why

pr-review-reply 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 2mo 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.

.github/skills/pr-review-reply/SKILL.md · 195 lines

How it starts

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

PR Review Reply

This skill enacts the Algorithms Before Tokens axiom from MANIFESTO.md: repetitive post-review response workflows are encoded as a script and executed deterministically, not performed manually through the UI with repeated token burn per comment. The post-review loop is governed by AGENTS.md § Verify-After-Act for Remote Writes. When this skill and those documents conflict, the primary documents take precedence.


1. Three Modes

The script supports three modes of operation:

Mode When to use Command
Single reply One comment to address --reply-to <id> --body <text>
Single resolve One thread to close without reply --resolve <thread-node-id>
Batch (preferred) Multiple comments or resolve-without-reply in one pass --batch <json-file>

Always use batch mode when addressing more than one comment. It is more reliable than sequential single calls and produces a single audit trail.


2. Single Reply

uv run python scripts/pr_review_reply.py --pr <num> --reply-to <comment-id> --body "Fixed in <sha>."

For multi-line reply bodies, use batch mode with a JSON file instead of --body — shell quoting and backtick interpolation cause gh to misbehave with multi-line text.


3. Single Resolve

uv run python scripts/pr_review_reply.py --pr <num> --resolve <thread-node-id>

This resolves the thread without posting a reply. Use only when the comment does not warrant a reply (e.g., a nit that was silently fixed).


4. Batch Mode (Preferred)

Write a JSON array to a temp file and pass it with --batch:

# Write the batch file (use a file tool — never heredoc)
# Example contents: .tmp/<branch>/review-replies.json

uv run python scripts/pr_review_reply.py --pr <num> --batch .tmp/<branch>/review-replies.json

Batch JSON format — each entry may contain any combination of reply_to, body, and resolve:

Read the full file on GitHub · 195 lines

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. 2mo ago First seen · 195 lines · 104 tokens per session scan A 62c8ec670439

Subscribe to this mod's changes

pr-review-reply is a skill published in the GitHub repository EndogenAI/dogma (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 104 tokens to every session and 1,555 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-08-31.

Related

pr-review-reply compared with skills from other repositories

pr-review-reply next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-review-replyEndogenAI/dogmaSkill22mo agoApache-2.0A104Claude Code
open-code-reviewalibaba/open-code-reviewSkill50kyesterdayApache-2.0A98Cursor
githubopensquilla/opensquillaSkill7.1k6d agoApache-2.0A101Claude Code, Codex
engineer-bot-getting-startedmakecindy/cindySkill9.3kyesterdayApache-2.0A44Claude Code, Codex
gitx-cmd/x-cmdSkill4.7k7d agoApache-2.0A58Claude Code, Codex
meta-codereview-current-diffopensquilla/opensquillaSkill7.1k6d agoApache-2.0A73Claude Code, Codex
05-reviewai-driven-dev/frameworkSkill550yesterdayMITA54Claude Code