sui: Skill for Claude Code

.claude/skills/review-approver/SKILL.md

review-approver is a skill for Claude Code from MystenLabs/sui. It costs 42 tokens per session (2,120 once invoked), scanned A, original, Apache-2.0.

A workflow for checking a pull request against the tier it claims under a review policy. It can report missing requirements, mark eligible and ineligible files, approve qualifying changes, enable auto-merge, and handle reverts of policy-approved pull requests.

In plain words
What is it for?
Use it with a pull request number or URL to verify policy compliance, request missing work, approve qualifying changes, enable auto-merge, or process a revert request.
Why use it?
A pull request may claim a review level without meeting its requirements, or may include files outside that level's scope. This workflow checks the rules from the base branch and gives a defined outcome instead of silently approving it.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is MystenLabs/sui's own configuration. It tells Claude Code how to work on sui itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sui configures →

About the project

Sui is a blockchain platform for running smart contracts and managing digital assets, using the Move programming language and a network of authorities to process transactions. It is intended for developers building web3 applications and on-chain assets.

MystenLabs/sui · 7,783 stars · on GitHub · sui.io

Reuse

Borrowing it

Nothing to install: this file belongs to MystenLabs/sui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MystenLabs/sui/main/.claude/skills/review-approver/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MystenLabs/sui

Made for: Claude Code.

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 review-approver

README.md
[![agentmods](https://agentmods.dev/badge/skills/mystenlabs/sui/review-approver/github.svg)](https://agentmods.dev/skills/mystenlabs/sui/review-approver)
Your own site
<a href="https://agentmods.dev/skills/mystenlabs/sui/review-approver"><img src="https://agentmods.dev/badge/skills/mystenlabs/sui/review-approver/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 review-approver

Your own site · 80×15
<a href="https://agentmods.dev/skills/mystenlabs/sui/review-approver"><img src="https://agentmods.dev/badge/skills/mystenlabs/sui/review-approver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,120 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.00042 $0.02120
Opus 5.5 $0.00017 $0.00848
Sonnet 5.5 $0.00008 $0.00424
Haiku 4.5 $0.00004 $0.00212

Measured 16d ago against content hash 7aba1909802d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-approver 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 16d 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.

.claude/skills/review-approver/SKILL.md · 180 lines

How it starts

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

Tiered review: approver side

This skill tells an agent how to check a PR against the tiered review policy and when to approve it. The tier definitions, eligible paths, and tag formats are in the review-author skill. Read that skill from the PR's base branch before starting:

git fetch origin <base>
git show origin/<base>:.claude/skills/review-author/SKILL.md

Do not read it from the PR head. A PR must not be able to change the rules it is checked against.

Input: a PR number or URL.

Outcomes

Every run ends in one of these outcomes:

  • Not applicable. The PR is outside the policy. Take no action on GitHub.
  • Blocked. The PR claims a tier but does not meet it yet. Post or update one comment that lists each unmet requirement.
  • Checked. The PR meets its tier but changes ineligible files. Update the policy comment to say that the PR meets its tier, list the ineligible files, and say that a human must review those files and approve the PR. Do not approve the PR.
  • Approved. The PR meets its tier and changes only eligible files. Approve it, enable auto-merge, and emit a notification summary.

Keep one policy comment per PR. On later runs, edit that comment instead of adding a new one. Mark it with the first line <!-- review-approver --> so you can find it.

Step 1 — Check that the policy applies

Fetch the PR:

gh pr view <n> --json number,title,body,author,baseRefName,headRefOid,isDraft,state,files,reviews,latestReviews,url

The outcome is Not applicable if any of these hold:

  • The PR is closed, merged, or a draft.
  • The author is not a member of the MystenLabs organization. Check with gh api orgs/MystenLabs/members/<login>, which succeeds only for members.
  • The description has no [review-tier: ...] tag.

Step 2 — Check eligibility

Compare every changed file against the eligible and excluded lists from the base-branch copy of review-author. Record the ineligible files and continue with the remaining steps. Ineligible files are still checked against the tier. If any file is ineligible, the best outcome the PR can reach is Checked.

Read the full file on GitHub · 180 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. 16d ago Changed · +6 lines 7aba1909802d
  2. 24d ago Changed · +3 lines 6f6ed689a2af
  3. 1mo ago First seen · 171 lines · 42 tokens per session scan A d6ea55891a79

Subscribe to this mod's changes

review-approver is a skill published in the GitHub repository MystenLabs/sui (7,783 stars, last pushed today), licensed Apache-2.0. It adds 42 tokens to every session and 2,120 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-11-06.

Related

review-approver compared with skills from other repositories

review-approver next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-approverMystenLabs/suiSkill7.8ktodayApache-2.0A42Claude Code
blockchain-applicationj4flmao/agent-skillsSkill4819d agoMITA175Claude Code, Codex
pre-push-reviewzama-ai/sdkSkill182d agoBSD-3-Clause-ClearA109Claude Code, Codex
fix-pr-reviewhiromaily/go-crypto-walletSkill1297mo agoMITA26Claude Code
skill-pr-prepXSpoonAi/spoon-awesome-skillSkill178mo agononeA4Claude Code, Codex
prYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA47Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill12ktodayApache-2.0A17Claude Code, Codex