mstar-pr-loop

mstar-pr-loop is a skill for Claude Code from btspoony/mstar-harness. It costs 46 tokens per session (1,946 once invoked), scanned A, original, MIT.

An opt-in workflow for repeatedly reviewing and fixing an existing ready pull request (PR), a proposed change for merging into a repository. It coordinates separate review and implementation roles and applies only when the user explicitly requests this loop.

In plain words
What is it for?
Use it to review a ready PR, send findings to implementers, re-review the fixes, and complete the defined review-and-fix process.
Why use it?
It prevents a normal review from unexpectedly changing code or starting a fix cycle. It also checks that the target PR is identifiable and ready before proceeding.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the morning-star-harness plugin — 26 skills, 8 commands, 14 agents, 2 hooks shipped together

Good fit Use it to review a ready PR, send findings to implementers, re-review the fixes, and complete the defined review-and-fix process.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/btspoony/mstar-harness/mstar-pr-loop
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 btspoony/mstar-harness --skill mstar-pr-loop
Clone the repo
git clone --depth 1 https://github.com/btspoony/mstar-harness

Made for: Claude Code.

Or install morning-star-harness, the plugin that ships this one along with the rest of its 26 skills, 8 commands, 14 agents, 2 hooks.

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 mstar-pr-loop

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/btspoony/mstar-harness/mstar-pr-loop"><img src="https://agentmods.dev/badge/skills/btspoony/mstar-harness/mstar-pr-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,946 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.00046 $0.01946
Opus 5.5 $0.00018 $0.00778
Sonnet 5.5 $0.00009 $0.00389
Haiku 4.5 $0.00005 $0.00195

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

Security

Grade A, and why

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

skills/mstar-pr-loop/SKILL.md · 80 lines

How it starts

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

PR Review-Fix Loop

Load Order

  1. mstar-harness-core — lifecycle and authorization authority.
  2. mstar-audit, pr variant → references/pr-review.md — review execution, re-review, verdict synthesis, posting and archival contracts.
  3. mstar-iteration → references/phase-4-5-pr-delivery.md §5.0 / §5.1a — iteration fix-worktree discipline and push cadence; §5.0 applies only to iteration Phase 5.
  4. mstar-branch-worktree — checkout authorization and the three-domain write table.
  5. mstar-dispatch-gates — Assignment fields, writable dispatch and leaf boundaries.

The project-manager orchestrates; implementers fix; review seats remain read-only. Loading the review variant does not authorize its seats to implement fixes.

Scope

Enter only on the user's explicit request to loop review → fix on an existing ready PR. This is not routine review or an automatic plan/iteration step.

  • Resolve pr:<n> preferentially, otherwise a branch with an open PR. If resolution fails or the PR is not ready, refuse with the actual cause and accepted forms: pr:<n> or a branch with an open, ready PR; supply that target or make the existing PR ready, then retry this entry.
  • Accept one optional tier: quick, default or deep; otherwise use the review's own inference ladder (§ Review depth (tiers)), not a loop-specific default.
  • An optional user-supplied round budget has no default. Honor an explicit budget or interruption, retain the latest report and residuals, and name the user action needed to resume; never invent a numeric round ceiling.

The loop does not own CI babysitting, review-thread resolution or the merge-ready gate; those remain with iteration Phase 5 / its separately discovered babysit helper. Never submit APPROVE or REQUEST_CHANGES, merge a PR, or close a finding-capture issue. A deferred-PR tracking issue must still be closed through the existing closure authority at that PR's review completion (mstar-audit → references/pr-review.md § Batch sibling PRs). A ship it exit is review-loop success, not merge authorization or lifecycle Done.

Read the full file on GitHub · 80 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. today First seen · 80 lines · 46 tokens per session scan A c2c846b99364

Subscribe to this mod's changes

mstar-pr-loop is a skill published in the GitHub repository btspoony/mstar-harness (65 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,946 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-10-23.

Related

Other skills, from other repositories

comet-github-pr-review

A read-only review process for pull requests in Comet's GitHub repositories. A pull request is a proposed code change; the review checks its current code, related issue, comments, merge status, and automated checks.

rpamis/comet · 69 tokens

code-review

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use…

rpamis/comet · 94 tokens

comet-verify

Comet Phase 4: Verify and Close. Invoke with /comet-verify. Verify implementation matches design, handle development branch.

rpamis/comet · 32 tokens

comet-review

A read-only review guide for checking the current Comet change, a managed software-change workflow. It focuses on correctness, security, and boundary problems without changing files or advancing the workflow.

rpamis/comet · 30 tokens

finishing-a-development-branch

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup.

rpamis/comet · 44 tokens

using-git-worktrees

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback.

rpamis/comet · 36 tokens