limps: Command for Claude Code

.claude/commands/pr-comments.md

pr-comments is a command for Claude Code from paulbreuler/limps. It costs 0 tokens per session (1,270 once invoked), scanned A, original, MIT.

A command for finding, reviewing, fixing, and resolving unanswered comments on a GitHub pull request. Pull request comments are feedback left by reviewers on proposed code changes.

In plain words
What is it for?
Use it to list unresolved threads, analyze comments by file, reply to reviewers, and address feedback on the current branch’s pull request.
Why use it?
It gathers scattered review threads and groups them by file, making it easier to see which feedback remains and what needs attention.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is paulbreuler/limps's own configuration. It tells Claude Code how to work on limps 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 limps configures →

Reuse

Borrowing it

Nothing to install: this file belongs to paulbreuler/limps. 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/paulbreuler/limps/main/.claude/commands/pr-comments.md
Clone the repo
git clone --depth 1 https://github.com/paulbreuler/limps

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/paulbreuler/limps/pr-comments/github.svg)](https://agentmods.dev/commands/paulbreuler/limps/pr-comments)
Your own site
<a href="https://agentmods.dev/commands/paulbreuler/limps/pr-comments"><img src="https://agentmods.dev/badge/commands/paulbreuler/limps/pr-comments/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-comments

Your own site · 80×15
<a href="https://agentmods.dev/commands/paulbreuler/limps/pr-comments"><img src="https://agentmods.dev/badge/commands/paulbreuler/limps/pr-comments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,270 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.00000 $0.01270
Opus 5.5 $0.00000 $0.00508
Sonnet 5.5 $0.00000 $0.00254
Haiku 4.5 $0.00000 $0.00127

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

Security

Grade A, and why

pr-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 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.

.claude/commands/pr-comments.md · 173 lines

How it starts

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

PR Comments

Fetch, review, address, and resolve unresolved PR review comments using the scripts/helpers/pr-comments.ts helper.

Instructions for Claude

When this command is invoked:

  1. List unresolved threads: Use npx tsx scripts/helpers/pr-comments.ts list [pr_number]
    • Shows thread IDs, file paths, comments, and comment IDs
    • Optionally specify PR number, or omit to use current branch's PR
  2. Analyze by file: Use npx tsx scripts/helpers/pr-comments.ts analyze [pr_number]
    • Groups threads by file path
    • Shows which files exist vs. deleted
    • Helps prioritize which comments to address
  3. Address comments:
    • Before fixing: For architecture/maintainability concerns, run /branch-code-review to understand impact
    • Before fixing: For security/MCP concerns, run /mcp-code-review to identify risks
    • After fixing: If fixes were made, commit using conventional commits (use /git-commit-best-practices)
    • Commit message: Reference the comment/concern: fix(component): address review feedback on error handling
  4. Reply to comments: Use npx tsx scripts/helpers/pr-comments.ts reply [pr_number] <comment_id> <message>
    • See reply templates below for common responses
  5. Resolve threads: Use npx tsx scripts/helpers/pr-comments.ts resolve <thread_id>
    • Only after addressing and committing fixes (or explaining why no fix needed)

Quick Start

# List all unresolved threads on current PR
npx tsx scripts/helpers/pr-comments.ts list

# Analyze threads by file
npx tsx scripts/helpers/pr-comments.ts analyze

# Reply to a specific comment
npx tsx scripts/helpers/pr-comments.ts reply [pr_number] <comment_id> "Your reply message here"

# Resolve a thread after addressing
npx tsx scripts/helpers/pr-comments.ts resolve <thread_id>

Helper Script Commands

list [pr_number]

Lists all unresolved review threads with their comments.

npx tsx scripts/helpers/pr-comments.ts list

Read the full file on GitHub · 173 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. 1mo ago First seen · 173 lines · 0 tokens per session scan A f0fc3b752b83

Subscribe to this mod's changes

pr-comments is a command published in the GitHub repository paulbreuler/limps (10 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,270 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-08-31.