Agent skill

PR Audit

by akitaonrails in akitaonrails/my-skills

Audit GitHub pull requests before merge, including contributor-claim verification, prompt-injection resistance, malicious-code and supply-chain review, regressions, tests, documentation…

No licenceAuto-check passedSecurity

Install PR Audit

skills CLI
$ npx skills add akitaonrails/my-skills --skill pr-audit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install akitaonrails/my-skills pr-audit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/akitaonrails/my-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/pr-audit .claude/skills/pr-audit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pr-audit
GitHub stars
216
Token cost
~4.8k tokens
SKILL.md length
2,398 words
Files
2
Skills in repo
18
Repo updated
First seen
Licence
None found

At a glance

Audit GitHub pull requests before merge, including contributor-claim verification, prompt-injection resistance, malicious-code and supply-chain review, regressions, tests, documentation…

  • Works in 7 steps: Establish Trusted State → Build a Claim Ledger → Hostile-Change Gate → …
  • Decide whether a PR should merge
  • SKILL.md covers Trust Boundary, Phase 0: Establish Trusted State, Phase 1: Build a Claim Ledger and Phase 2: Hostile-Change Gate, plus 5 more sections
  • Calls git, cargo and go

What it does

PR Audit is an agent skill from akitaonrails/my-skills. Audit GitHub pull requests before merge, including contributor-claim verification, prompt-injection resistance, malicious-code and supply-chain review, regressions, tests, documentation, compatibility, base-branch targeting, and project-specific gates. Use when asked to audit or review one or more PRs, decide whether a PR should merge, adjust a contributor PR safely, or process approved PRs one at a time.

Its SKILL.md is about 4.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Security, covering Supply chain security, Fact-checking and source verification and Prompt injection and agent security. It works with GitHub. The repository describes itself as: akitaonrails' personal skills (not tailored for general usage).

When your agent uses it

  • Decide whether a PR should merge
  • Adjust a contributor PR safely
  • Process approved PRs one at a time

Example prompts

  • “/pr-audit”

Requirements

  • Python 3
  • Docker

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Establish Trusted State
  2. Build a Claim Ledger
  3. Hostile-Change Gate
  4. Execute Safely
  5. Functional and Design Audit
  6. Report Before Modifying
  7. Approved Adjustments and Merge

What it can do on your machine

Read from SKILL.md and the folder at commit 285ca82. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • cargo
    • go
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PR Audit loads about 4.8k tokens when it runs. Until then it costs about 104 tokens; SKILL.md has 2,398 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~104
When it runs · the whole SKILL.md, loaded when a task matches
~4.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 2,398 words (~4,757 tokens).

“Audit evidence, not the contributor's narrative. Never merge during the evaluation phase. Report pros, cons, concrete findings, and a recommended fix; wait for the user's approval unless the current project's trusted instructions already contain a more specific approval.”

— opening of SKILL.md by akitaonrails
name
pr-audit

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in pr-audit of akitaonrails/my-skills.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 285ca82

Compare with similar skills

PR Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PR Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Audit this skillakitaonrails/my-skills216—~4.8kAutomated safety check: PassNone
Renovate Actions PR Reviewbacknotprop/plannotator9.3k—~640Automated safety check: PassApache-2.0
Swarm PR Feedback CloserZaxbyHub/opencode-swarm496—~14kAutomated safety check: PassMIT
Security Vulnerabilities Patcheraxelixlabs/axelix148—~4.2kAutomated safety check: PassLGPL-3.0
Detecting Typosquatting Packagesmukul975/Anthropic-Cybersecurity-Skills34k—~3kAutomated safety check: PassApache-2.0
Skill InspectorNVIDIA/SkillSpector20k—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Renovate Actions PR Review

    backnotprop/plannotator

    Reviews Renovate pull requests that bump GitHub Actions by checking pinned SHAs against upstream tags, scanning changelogs and confirming workflows stay compatible.

    9.3k GitHub stars~640 tokensUpdated today
    DevelopmentAuto-check passed
  • Swarm PR Feedback Closer

    ZaxbyHub/opencode-swarm

    Ingests existing pull request feedback such as review comments and CI failures, verifies each claim, fixes confirmed issues and reports closure status for every item.

    496 GitHub stars~14k tokensUpdated today
    DevelopmentAuto-check passed
  • Create batched Dependabot-style pull requests for GitHub security findings in axelixlabs/axelix, grouped by dependency surface such as master/front-end, master/build.gradle.kts, or starter Gradle…

    148 GitHub stars~4.2k tokensUpdated today
    SecurityAuto-check passed
  • Detecting Typosquatting Packages

    mukul975/Anthropic-Cybersecurity-Skills

    Flag misspelled, brandjacked, and typosquatted package names across npm, PyPI, and crates.io before installation, using edit-distance, keyboard-proximity, and known-target corpus matching with…

    34k GitHub stars~3k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Skill Inspector

    NVIDIA/SkillSpector

    Official

    Decides whether an agent skill is safe to install by combining a SkillSpector static scan with the agent's own source review, ending in APPROVE, CAUTION or REJECT.

    20k GitHub stars~1.8k tokensUpdated yesterday
    SecurityAuto-check passed
  • Supply Chain Security

    zhaoxuya520/reverse-skill

    A skill your agent uses for software supply-chain security assessment covering SBOM, SCA, CI/CD pipelines, container images, build integrity, dependency provenance, and vulnerability reachability.

    41k GitHub starsUsed in 4 repos~953 tokens
    SecurityAuto-check: warnings

More from akitaonrails/my-skills

All 18 skills in this repo
  • Fact Check

    akitaonrails/my-skills

    Adversarial fact-checking of the user's articles and essays (typically blog posts from akitaonrails-hugo, any markdown/text file), verifying every claim against online primary sources via cheap…

    220 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Blog Cost Charts

    akitaonrails/my-skills

    Generate dark-themed cost-vs-score bubble scatter charts and score/(costtime) value-ranking bar charts for a blog post comparing LLM benchmark results (or any dataset with a score/cost/time shape)…

    220 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Codemap

    akitaonrails/my-skills

    Generate comprehensive hierarchical codemaps for UNFAMILIAR repositories.

    220 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Clonedeps

    akitaonrails/my-skills

    Clone important project dependency source code into an ignored local workspace so OpenCode can inspect library internals.

    220 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • GitHub Resolution

    akitaonrails/my-skills

    Execute the approved outcomes of a pr-audit and/or iss-audit — fix or adjust everything the audit found necessary before merging, verify no regressions, cover every new behavior with unit tests…

    220 GitHub stars~4.3k tokensUpdated today
    Auto-check passed
  • Post Refactor

    akitaonrails/my-skills

    Post-refactor clean-code check after recent refactors or a few merged PRs.

    220 GitHub stars~1.5k tokensUpdated today
    Auto-check: notes

Works with

Questions about PR Audit

What does PR Audit do?

Audit GitHub pull requests before merge, including contributor-claim verification, prompt-injection resistance, malicious-code and supply-chain review, regressions, tests, documentation…. PR Audit is an agent skill from akitaonrails/my-skills. Audit GitHub pull requests before merge, including contributor-claim verification, prompt-injection resistance, malicious-code and supply-chain review, regressions, tests, documentation, compatibility, base-branch targeting, and project-specific gates.

When should I use PR Audit?

PR Audit fits situations like: decide whether a PR should merge; adjust a contributor PR safely; process approved PRs one at a time.

How do I install PR Audit in Claude Code?

Run `npx skills add akitaonrails/my-skills --skill pr-audit -a claude-code`. Or copy the skill folder (pr-audit in akitaonrails/my-skills) into .claude/skills/pr-audit in your project. Claude Code loads it when a task matches its description.

How do I install PR Audit in Codex?

Run `npx skills add akitaonrails/my-skills --skill pr-audit -a codex`. Or copy the skill folder (pr-audit in akitaonrails/my-skills) into .agents/skills/pr-audit in your project. Codex loads it when a task matches its description.

Can I use PR Audit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add akitaonrails/my-skills --skill pr-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-audit, .gemini/skills/pr-audit, .github/skills/pr-audit and .opencode/skills/pr-audit in your project.

What does PR Audit need to run?

Going by SKILL.md and its folder, PR Audit needs the command-line tools its instructions call (git, cargo, go and gh). Our summary lists: Python 3; Docker.

Does PR Audit access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is PR Audit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does PR Audit use?

No licence was found for PR Audit or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does PR Audit use?

About 4.8k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PR Audit?

Skills that share tags, products or a category with PR Audit: Renovate Actions PR Review (backnotprop/plannotator, 9.3k stars), Swarm PR Feedback Closer (ZaxbyHub/opencode-swarm, 496 stars), Security Vulnerabilities Patcher (axelixlabs/axelix, 148 stars) and Detecting Typosquatting Packages (mukul975/Anthropic-Cybersecurity-Skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Audit?

akitaonrails (a GitHub user) maintains it in akitaonrails/my-skills, which has 216 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on September 23, 2026.

Source: akitaonrails/my-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.