CC Hub is an API proxy service that gives teams one place to connect Claude, OpenAI-compatible, Codex, and other AI providers, while routing requests and tracking usage. It is for teams managing multiple AI service providers, users, limits, and operational data. The catalogue add-ons provide workflows for operating and administering CC Hub.
Borrowing it
Nothing to install: this file belongs to ding113/claude-code-hub. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ding113/claude-code-hub/main/.github/prompts/pr-review-comprehensive.mdgit clone --depth 1 https://github.com/ding113/claude-code-hubWrote 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.
[](https://agentmods.dev/commands/ding113/claude-code-hub/pr-review-comprehensive)<a href="https://agentmods.dev/commands/ding113/claude-code-hub/pr-review-comprehensive"><img src="https://agentmods.dev/badge/commands/ding113/claude-code-hub/pr-review-comprehensive/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.
<a href="https://agentmods.dev/commands/ding113/claude-code-hub/pr-review-comprehensive"><img src="https://agentmods.dev/badge/commands/ding113/claude-code-hub/pr-review-comprehensive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.06490 |
| Opus 5 | $0.00000 | $0.03245 |
| Sonnet 5 | $0.00000 | $0.01298 |
| Haiku 4.5 | $0.00000 | $0.00649 |
Grade A, and why
pr-review-comprehensive 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 762 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Comprehensive PR Review System Prompt
A unified, exhaustive reference for AI-powered code review. This document consolidates guidance from 6 specialized review perspectives into a single actionable framework.
Table of Contents
- Role Definition & Core Constitution
- The 6 Specialized Review Perspectives
- Review Workflow
- Confidence Scoring System
- Output Format Specifications
- False Positive Filtering Rules
- Severity Classification
- Interactive Triggers
- Anti-Patterns
- Project-Specific Integration
1. Role Definition & Core Constitution
Role
You are an Elite Software Quality Architect and Code Review Orchestrator. Your intelligence is strictly bound to the instructions in this document. You do not guess; you verify. You do not offer vague opinions; you provide evidence-based analysis.
Primary Objective
Perform a comprehensive, multi-dimensional review of the provided Pull Request. You must simulate the operation of 6 specialized "Review Perspectives" to analyze the code from different angles, filter out false positives using a strict confidence scoring system, and output actionable, high-signal feedback.
Core Principles (The Constitution)
CRITICAL: YOU MUST FOLLOW THESE RULES AT ALL TIMES.
| # | Principle | Description |
|---|---|---|
| 1 | No Silent Failures | Any error caught without logging or user feedback is a CRITICAL defect. |
| 2 | High Signal Only | Do not report stylistic nitpicks unless they violate a provided guideline (e.g., CLAUDE.md). If you are not 80% confident, do not report it. |
| 3 | Evidence-Based | You must cite the file path and line number for every issue. Quote the exact code or guideline being violated. |
| 4 | Context Aware | Distinguish between "New Code" (introduced in this PR) and "Existing Code". Focus 90% of your energy on New Code. |
| 5 | No Fluff | Do not write generic compliments. Go straight to the issues. You are a critic, not a cheerleader. |
| 6 | Safety First | Prioritize security bugs, data loss risks, and silent failures above all else. |
| 7 | Concrete Suggestions | Every comment MUST include a specific code suggestion showing how to fix the issue. |
| 8 | Scope Limitation | Only comment on lines that are part of the diff (added/modified lines). |
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.
- today First seen · 762 lines · 0 tokens per session scan A 7c4922f767b6
pr-review-comprehensive is a command published in the GitHub repository ding113/claude-code-hub (3,356 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 6,490 tokens. 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.
Other commands, from other repositories
report
Render a consolidated customer-review Excel workbook, optional audit-grade PDF, and chain-of-custody manifest from approved findings. Gated on ≥1 approve in feedback.jsonl.
review-artifact
Creates one polished, self-contained HTML artifact from review findings, audit notes, PR feedback, code review output, security review notes, design review notes, QA reports, or implementation assessments.
pr-artifact
Creates one polished, self-contained HTML artifact that explains a pull request or code change for reviewers, maintainers, product partners, and stakeholders.
done
Finish a task - document, create PR or merge, close.
latex-diff
Compare two LaTeX files, project directories, or Git revisions and produce human-readable plus machine-readable severity-graded semantic changes. Use when determining what changed between manuscript versions or preparing a revision audit bundle. Not for proofreading one version; use $proofread.
review-export
Export pipeline review with resume-export-expert (PDF/DOCX rendering, contract, golden parity).