fix-bugbot-pr-comments

fix-bugbot-pr-comments is a skill for Claude Code, Codex from dirtybits/agent-skills. It costs 53 tokens per session (1,348 once invoked), scanned A, original, MIT.

A workflow for finding and fixing unresolved Cursor Bugbot or other automated pull-request review comments. Bugbot is a tool that reports possible code problems on pull requests.

In plain words
What is it for?
Use it to inspect automated review feedback, change the affected code, check whether the pull request is ready, and monitor its checks.
Why use it?
It separates unresolved findings from comments that are already handled and keeps fixes limited to clear, relevant issues.

Skill for Claude CodeCodex

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

Good fit Use it to inspect automated review feedback, change the affected code, check whether the pull request is ready, and monitor its checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dirtybits/agent-skills/fix-bugbot-pr-comments
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 dirtybits/agent-skills --skill fix-bugbot-pr-comments
Clone the repo
git clone --depth 1 https://github.com/dirtybits/agent-skills

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 fix-bugbot-pr-comments

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dirtybits/agent-skills/fix-bugbot-pr-comments"><img src="https://agentmods.dev/badge/skills/dirtybits/agent-skills/fix-bugbot-pr-comments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,348 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.00053 $0.01348
Opus 5.5 $0.00021 $0.00539
Sonnet 5.5 $0.00011 $0.00270
Haiku 4.5 $0.00005 $0.00135

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

Security

Grade A, and why

fix-bugbot-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 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.

skills/fix-bugbot-pr-comments/SKILL.md · 188 lines

How it starts

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

Fix Bugbot PR Comments

Use this workflow to make a PR merge-ready after Cursor Bugbot or other automated review comments appear.

Core Rules

  • Use gh for all GitHub operations.
  • Fetch unresolved review threads first; filter out resolved threads before reading comment bodies.
  • Read only each comment body plus the minimum path, line, and URL needed to act.
  • Fix only clear, correct, in-scope feedback.
  • Keep changes minimal and scoped to the PR.
  • Do not modify CI workflows or config just to make checks pass.
  • Do not include unrelated files or generated artifacts in commits.
  • If a branch requires signed commits and this environment cannot produce a verified signature, stop and report the exact blocker instead of force-pushing or bypassing rules.

Resolve PR Context

Start from the current branch:

git status --short --branch
gh pr view --json number,url,title,headRefName,baseRefName,mergeStateStatus,reviewDecision,isDraft
gh pr checks --json name,bucket,state,workflow,link

If there are local changes, determine whether they are yours and relevant before touching them.

Fetch Unresolved Comments

Use GraphQL so resolved threads are filtered before reading bodies. If a PR may have more than 100 review threads or 50 reviews, paginate with pageInfo { hasNextPage endCursor } and repeat until complete; do not silently assume first:100 covers everything:

OWNER_REPO="$(gh repo view --json owner,name -q '.owner.login + "/" + .name')"
OWNER="${OWNER_REPO%/*}"
REPO="${OWNER_REPO#*/}"
PR="$(gh pr view --json number -q .number)"

gh api graphql \
  -f owner="$OWNER" \
  -f repo="$REPO" \
  -F number="$PR" \
  -f query='query($owner:String!, $repo:String!, $number:Int!) {
    repository(owner:$owner, name:$repo) {
      pullRequest(number:$number) {
        reviewThreads(first:100) {
          nodes {
            isResolved
            isOutdated
            path
            line
            comments(first:10) {
              nodes {
                author { login }
                body
                url
              }
            }
          }
        }
        reviews(first:50) {
          nodes {
            author { login }
            state
            body
            url
          }
        }
      }
    }
  }' \
  --jq '.data.repository.pullRequest as $pr |
    {
      unresolvedThreads: [
        $pr.reviewThreads.nodes[]
        | select(.isResolved == false)
        | {path,line,isOutdated,comments:[.comments.nodes[] | {author:.author.login, body, url}]}
      ],
      reviews: [$pr.reviews.nodes[] | {author:.author.login, state, body, url}]
    }'

Read the full file on GitHub · 188 lines

Files

What ships with it

2 files 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. 2mo ago First seen · 188 lines · 53 tokens per session scan A b207e3ea516e

Subscribe to this mod's changes

fix-bugbot-pr-comments is a skill published in the GitHub repository dirtybits/agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 1,348 once invoked, about $0.0002 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

fix-bugbot-pr-comments compared with skills from other repositories

fix-bugbot-pr-comments next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-bugbot-pr-commentsdirtybits/agent-skillsSkill21mo agoMITA53Claude Code, Codex
issuejeremylongshore/tons-of-skills-marketplaceSkill2.9ktodayMITA115Claude Code
dorodangoathola/claude-night-marketSkill350yesterdayMITA31Claude Code
codeflow-maintainerOpenCoven/covenSkill75yesterdayMITA39Claude Code, Codex
openclaw-devOpenCoven/covenSkill75yesterdayMITA42Claude Code, Codex
addressing-review-feedbackmakifbaysal/tasktrooperSkill122todayApache-2.0A37Claude Code, Codex
triagebengous/claude-code-pluginsSkill6yesterdayMITA65Claude Code