
Sh PR review
Security-reviews a GitHub pull request and reports findings as inline comments
Sh PR review is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 44
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Sh PR review
This skill reviews a single GitHub pull request for security problems and returns the results to the PR itself. It first triages the diff to see which vulnerability classes the changed code touches, then runs only the matching specialist checks, so a change with no security-relevant lines finishes quickly without launching analysis.
Findings are classified by whether the pull request introduced them, made an existing flaw worse, or merely sits near it. Only introduced or worsened issues can fail the check, and older issues are listed as warnings. Findings are posted as inline review comments on changed lines, with a summary, and a pass, warning, failure or error commit status is set for branch protection to enforce. Previously posted issues are recognised on later pushes so they are not repeated.
It expects the GitHub CLI and the indra command-line tool, plus permission to comment on and set statuses for the repository. Nothing is posted without an explicit confirmation unless it is run non-interactively with the relevant environment flag.
When your agent uses it
Security-review a GitHub pull request, post the result as inline review comments on the PR, and set a pass/fail commit status that branch protection can enforce. Fails the PR for vulnerabilities it introduces or makes worse; passes with a warning for pre-existing ones. Triages the diff first and scales depth to risk, dedupes across re-pushes, and never posts without an explicit yes. Use when reviewing a pull request rather than a whole codebase.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Write, Grep, Glob, Bash, Task, Skill(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 1 file (39 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the indra plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indraOr copy only this skill to ~/.claude/skills/sh-pr-review:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-pr-review &&
cp -R "$tmp/plugins/indra/skills/sh-pr-review" ~/.claude/skills/sh-pr-review &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/sh-pr-review inside it instead.
Copy the skill folder to ~/.agents/skills/sh-pr-review to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-pr-review &&
cp -R "$tmp/plugins/indra/skills/sh-pr-review" ~/.agents/skills/sh-pr-review &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/sh-pr-review inside it instead.
Copy the skill folder to ~/.cursor/skills/sh-pr-review to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-pr-review &&
cp -R "$tmp/plugins/indra/skills/sh-pr-review" ~/.cursor/skills/sh-pr-review &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/sh-pr-review inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-pr-reviewOr copy the folder to ~/.gemini/skills/sh-pr-review yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sh-pr-review:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-pr-review &&
cp -R "$tmp/plugins/indra/skills/sh-pr-review" ~/.copilot/skills/sh-pr-review &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/sh-pr-review inside it instead.
Get the folder:
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.gitThen copy indra/plugins/indra/skills/sh-pr-review into your agent's skills folder as sh-pr-review. Agents that support SKILL.md read one folder per skill.
What it does
- Diff triage
- Classifies changed files and added lines into vulnerability classes and picks a review depth.
- Introduced vs. existing
- Separates issues the pull request adds or worsens from older issues it does not touch.
- Inline review comments
- Anchors findings to changed lines and posts a summary review comment without requesting changes.
- Commit status gate
- Sets a pass, warning, failure or error status on the head commit that branch protection can enforce.
- Re-push deduplication
- Recognises findings already posted on the PR so later pushes do not repeat them.
- Cached re-reviews
- Reuses earlier verdicts for files that have not changed since the last run.
Good for
- Check a pull request for security issues before merging
- Post security findings as inline comments on a PR diff
- Set a pass or fail security status on a pull request commit
- Re-review a PR after new pushes without repeating old comments
- Review a pull request from another repository by URL
Sh PR review FAQ
Does Sh PR review post to the PR automatically?
No. It shows the review and asks for confirmation before posting, unless it is run in non-interactive mode with the required environment variable set.
What does Sh PR review need installed?
The GitHub CLI, the indra tool, and access to the repository. It checks for indra before starting and stops if it is missing.
Can Sh PR review request changes or approve the PR?
No. Reviews are always posted as comments, and the commit status is the only enforcement mechanism.
Which issues cause a failure?
Only introduced or aggravated findings at or above the severity threshold, which defaults to medium. Pre-existing issues are reported as warnings and do not fail the check.
How do I install Sh PR review in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/sh-pr-review to use it in all your projects, or to .claude/skills/sh-pr-review in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.
Does Sh PR review run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Sh PR review?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Sh PR review?
The closest alternatives to Sh PR review are Differential review, PR review, Find bugs, Code review and Review PR.
Where this comes from
- Description: from the skill's own SKILL.md.
More from dmdhrumilmistry/indra

Lets an agent triage SIEM alerts and logs, sweep indicators and build evidenced timelines
- Open source
- 44 GitHub stars
- Security

Gives a security review agent persistent Markdown memory of past findings and learnings
- Open source
- 44 GitHub stars
- Knowledge and memory

Publishes security review findings as de-duplicated Jira, GitHub, Confluence or Notion
- Open source
- 44 GitHub stars
- Knowledge and memory

Plans and runs approved purple-team tests to check whether SIEM detections fire
- Open source
- 44 GitHub stars
- Security

Re-checks one earlier security finding against current code or recorded traffic
- Open source
- 44 GitHub stars
- Security

Runs a multi-agent static security review of a codebase, with verified findings
- Open source
- 44 GitHub stars
- Security





