/credo:pr-vettingfrom credo
Runs a parallel multi-agent investigation (technical, security, value/fit, contributor reputation) on a pull request and produces a decision-ready report. Useful for thoroughly vetting PRs from external or unknown contributors.
Ships in credo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Thoroughly vet a pull request across four independent dimensions using parallel subagents, then merge their findings into a single decision-ready report. Designed for maintainers who want a rigorous, repeatable due-diligence process for incoming PRs - particularly from external or unknown contributors.
Not for: quick line-by-line code review of your own working diff (use /code-review or
/review). This skill is heavier and orchestration-based.
Fetch the essentials so subagents can be briefed precisely:
gh pr view <N> --repo <owner>/<repo> --json number,title,author,authorAssociation,createdAt,updatedAt,state,body,additions,deletions,changedFiles,files,commits,labels,headRefName,baseRefName,mergeable,url
gh pr diff <N> --repo <owner>/<repo> # full diff (subagents can also fetch this themselves)
Note the author login, branch name (a codex/, bot/, or similar prefix hints at
AI-generated PRs), file list, and whether it touches executable code, hooks, CI, or just text.
Determine whether the author is a first-time / external contributor or a known / returning one, because that decides the depth of the investigation.
# Prior PRs by this author in THIS repo (all states):
gh pr list --repo <owner>/<repo> --author <login> --state all --json number,title,state,mergedAt,closedAt
Also read the authorAssociation from Step 0 (FIRST_TIME_CONTRIBUTOR / NONE / CONTRIBUTOR
/ MEMBER / COLLABORATOR / OWNER).
First-time / external contributor (this is their first PR here, or
authorAssociation is FIRST_TIME_CONTRIBUTOR / NONE, or the author is not the repo owner
and has no prior PRs): treat as a stranger. Go maximal - run all four dimensions plus the
optional extra passes (adversarial second security pass, duplicate/prior-art check). This is the
higher-risk case and warrants full due diligence.
Known / returning contributor (has prior PRs in this repo, or is a member/collaborator): first look up how their previous PRs were handled and why:
# Inspect the prior PRs found above - decision + reasoning:
gh pr view <prior-N> --repo <owner>/<repo> --json number,state,mergedAt,closedAt,title,body,comments,reviews
Summarize the precedent (merged? closed? requested changes? stated reasons?). Then ask the maintainer via the Ask tool how to proceed: (a) handle it like the established precedent for this user, (b) run the adaptive/scaled depth, or (c) run the full maximal depth anyway. Do not guess - the maintainer decides the depth for known contributors.
If contributor status genuinely cannot be determined, default to treating them as external (maximal depth) - safer.
Create a local-only directory for the investigation notes and ensure it is git-ignored so the analysis never gets committed:
.pr-review/ (or .pr/). Include the PR number if reviewing several..git/info/exclude (the local git exclude), NOT .gitignore, and verify
with git check-ignore <dir>/x.md..git/info/exclude rather than the versioned .gitignore.Spawn one subagent per dimension, in parallel (independent, read-only research). Each reads the repo's CLAUDE.md / contributing conventions first, writes its own markdown file into the working dir, and reports a 2-3 sentence summary back. The four standard dimensions:
Technical -> 01-what-it-introduces.md
What the PR actually adds/changes. Every changed file with purpose. Does it introduce real
functionality or just docs/config/a stub? Does it fit the repo's structure and conventions?
Distinguish genuine changes from formatting churn. Flag merge staleness / conflicts.
Security -> 02-security.md
Paranoid audit. For code/scripts: injection, credential exfiltration, network calls,
eval/exec, obfuscation. For AI-tooling repos (plugins/skills/agents/hooks): prompt injection
in markdown, hidden Unicode/zero-width/bidi characters (check bytes), install-time hooks,
supply-chain (does it pull or run external code?). Distinguish "what the merge does" (often
just adds text) from "what a user who follows the instructions does". Give an overall risk
rating with per-finding severity, file:line, and impact. State clearly what was NOT audited.
Value / fit -> 03-value.md
Product/curation view. Does it fit the project's theme, quality bar, and identity? Real value
vs. pollution? Introduces uncontrolled external/commercial dependency? Sets a precedent?
Weigh pro-merge vs contra-merge and give options + a recommendation.
Contributor reputation / reach / authenticity -> 04-reach-reputation.md
Public OSINT only. GitHub profile hard numbers (gh api users/<login>,
gh api users/<login>/repos): followers, repo count, real vs fork/SEO activity, account age,
stars. Linked org/product. Any linked social/X handle, blog, YouTube - size and audience TYPE
(real developer reach vs vanity/off-topic followers). For login-walled X/Twitter, a Nitter
mirror can be tried for public profiles; if unavailable, say the number is unverified. Answer
the real question: is there relevant reach (developers/power-users who'd actually notice),
or just vanity numbers? Mark every unverifiable figure as unverified, with sources.
This dimension ALSO runs the automated mass-PR / injection-spam check below.
License & contribution compliance -> fold into 01-what-it-introduces.md (no separate
agent needed; the Technical subagent covers it since it already reads the files):
compatible / incompatible / needs-clarification, naming the specific license
or rule at issue. An incompatible license is a hard blocker regardless of code quality.Some contributors run autonomous agents (e.g. OpenClaw-style bots) that mass-fork repositories and auto-generate plausible-looking but low-value PRs across many projects, usually to inject or promote their own product/tool. These PRs can look clean and even pass "validation" checklists, so surface-level quality is not enough - check the contributor's behavioral pattern and warn the maintainer explicitly if it matches.
Signals to gather (public only):
# Cross-repo PR volume, targets, and timing (the strongest signal):
gh search prs --author <login> --limit 100 --json repository,title,state,createdAt,url
# Recent public activity (fork bursts, PR bursts, creation events):
gh api users/<login>/events/public --paginate | head -c 200000
# Fork ratio and SEO-suffix naming already come from the repos listing in the reputation step.
Warn (raise an "automation/spam" flag in the report) when several of these co-occur:
-<product>-0748).codex/, bot/, openclaw/, agent/, etc.If the pattern matches, state it plainly in the report's executive summary as a WARNING ("likely automated mass-PR / product-injection - not an organic contribution") so the maintainer can decline quickly and, if desired, report the account. Be honest about confidence: list which signals were actually observed vs merely suspected, and never assert automation you cannot evidence.
Depth follows the Step 0.5 contributor classification:
references/subagent-prompts.md) - full due diligence.For very thorough requests, add extra verifier subagents regardless (e.g. an independent second security pass that tries to refute the first verdict).
See references/subagent-prompts.md for ready-to-adapt prompt templates.
Read all dimension files and merge them into 00-FINAL-REPORT.md:
Give the user the recommendation and the path to the report. Do not merge, close, or push anything without explicit user confirmation.
Different maintainers handle PRs differently. If the user/repo has a standing policy, follow it; otherwise lay these out as options:
The security/technical risk of an external PR is often "low for the merge itself" (pure text) yet still a poor fit - separate technical safety from endorsement/curation cost in the report.
What SKILL.md sets; muted values are Claude Code's defaults
28 skills in this plugin
/auditRead-only quality gate that audits already-built work against its stated requirement and Definition of Done before it is allowed to move to 2_done/. Produces a severity-ranked decision proposal (BLOCKER/MAJOR/MINOR/NIT) with evidence; the judgement never edits, only a recorded post-audit step may fix small findings. Use when an item is claimed complete, before moving anything to 2_done/, when asked to audit or review finished work for completeness against requirements, or when acting as the dedicated post-completion review subagent. This gate is mandatory in every session mode. Not for diagnosing why something is broken (use diag) and not for verifying rendered UI behavior (use verify)./budgetThe single source for all API budget cap and reset rules - how much of the 5-hour and weekly API limits may be spent, when to throttle, pause, wake up, or hibernate, and the commit-identity gate that runs before any commit. Use whenever you are about to start or continue autonomous work, before spawning or stopping subagents, when deciding how large a task chunk to take on, when a limit is near a cap, before a commit, or whenever someone asks "how much budget is left" or "can I keep going". Works standalone (no session skill required) and applies inside subagents too: any agent that spends API budget or commits must apply these rules.
npx claudepluginhub marcel-bich/marcel-bich-claude-marketplace --plugin credoOther plugins' skills for the same job