coral: Skill for Claude Code

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

tier-review is a skill for Claude Code from kangig94/coral. It costs 19 tokens per session (2,124 once invoked), scanned A, original, MIT.

A review workflow that runs the project's configured review agents after implementation and combines their findings into one decision. Review agents are specialized checks for different kinds of code changes.

In plain words
What is it for?
Reviewing recent implementations or code differences for architecture, safety, domain-specific issues, test quality, and other configured project concerns.
Why use it?
It provides a consistent final check by matching the change to relevant reviewers, considering their priority levels, and producing a consolidated verdict.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

This is kangig94/coral's own configuration. It tells Claude Code how to work on coral 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 coral configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kangig94/coral. 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/kangig94/coral/main/.claude/skills/tier-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kangig94/coral

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kangig94/coral/tier-review"><img src="https://agentmods.dev/badge/skills/kangig94/coral/tier-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,124 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.00019 $0.02124
Opus 5.5 $0.00008 $0.00850
Sonnet 5.5 $0.00004 $0.00425
Haiku 4.5 $0.00002 $0.00212

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

Security

Grade A, and why

tier-review 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 14d 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/tier-review/SKILL.md · 147 lines

How it starts

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

Review Gate

Run project review agents by tier taxonomy, consolidate findings, issue a verdict.

<Review_Protocol> You are the review gate executor. Discover which project agents exist, match them to the review scope, spawn by tier, and consolidate into a single verdict.

Tiers 1–3 review code; the **doc tier** reviews documentation. By default every tier runs at
once. Under `--gated` the doc tier runs last, after the In scope code findings are fixed.
This lets documentation reviewers check the code that will ship.
## Phase 1 — Discover Agents

1. Read the project's `.claude/rules/agents.md` for the Quick Reference table (agent, tier, purpose)
   and the Consultation Matrix (task category → agent mapping), and add coral:architect to the list of agents with tier 1 by default.
2. If agents.md not found, read `.claude/agents/*.md` — look for tier in description
   or Situation table. If tier is unclear, treat safety-related agents as tier 1,
   domain-specific as tier 2, quality reviewers as tier 3, documentation reviewers as the doc tier.
3. Any agent whose subject is documentation (e.g. doc-critic) belongs to the doc tier, whatever
   number its table row carries.
4. If no agents found at all → report "no review agents configured" and exit.

## Phase 2 — Plan

1. Use the caller-supplied scope, or the diff (staged + unstaged) if none was supplied.
2. For each agent, check against the scope:
   - Consultation Matrix: is this task category → agent mapping MANDATORY?
   - Agent's Situation/Priority table: does the scope match?
3. Build an invocation table — for each agent: INVOKE (with scope + focus) or SKIP (with reason)
   - If all agents are SKIP → report "no agents relevant to this scope" and exit.
4. Report the table before executing.

## Phase 3 — Execute

Spawn only agents marked INVOKE in the table.
Pass the same Phase 2 scope to every reviewer, with the focus from its invocation plan.
Include `Finding_Tier_Rules` from Phase 4 and request the three findings sections in
`Output_Format`.

**Every spawn prompt MUST end with this shared-worktree guard** — reviewers run in parallel in the same working tree, so one stray git command reverts every sibling's work:
> ⚠️ Review is read-only. NEVER run `git checkout`, `git switch`, `git stash`, `git reset`, `git restore`, or `git clean`, and never stage or commit — you share this working tree with parallel reviewers. To inspect another revision, use `git diff <ref>`, `git show <ref>:<path>`, or `git log <ref>` — never check it out.

**Default**: spawn ALL INVOKE agents — every tier, doc tier included — in parallel, wait for all.

**With `--gated`** (cost-saving short-circuit — use when API budget is tight):
1. Tier 1 (safety) — spawn in parallel, wait for all to complete
   - Apply Phase 4 to the reports received so far. If any In scope finding is BLOCKING,
     report the consolidated findings and REJECT verdict, mark the doc tier `DEFERRED`,
     and stop here.
2. Tier 2 (domain) + tier 3 (quality) — spawn in parallel, wait for all to complete
3. Apply Phase 4 to the code findings from steps 1–2 and fix the In scope findings. Then
   spawn the doc tier in parallel and wait for all, so it reviews the code as fixed.
   Record how each In scope code finding was fixed.

## Phase 4 — Consolidate

Finding tiers are independent of agent tiers. Use the Phase 2 scope to classify unlayered
findings and check reported tiers.

<Finding_Tier_Rules>
  | DO | DON'T |
  |----|-------|
  | Classify each real defect before assigning severity. Use the caller's review scope, or the diff if no scope was passed. | Let severity decide the tier. |
  | Use In scope for a defect within the review scope that occurs under realistic conditions, including conditions produced by ordinary users or inputs. Include pre-existing defects the change makes newly reachable or worse, or that lie on a boundary the change redraws. | Treat untouched code or docs as automatically Out of scope. |
  | Report real defects outside the review scope as Out of scope follow-up candidates. State why each is out of scope. | Expand the review scope to act on follow-up candidates. |
  | Use Improbable if the defect requires a condition that cannot realistically occur in normal operation, including a condition only a deliberate attacker would create. Name the condition, explain why it is unrealistic, and mark attacker-creatable yes if an attacker could create it or no otherwise. | Use Improbable when you cannot name the required condition. Put that finding In scope. |
  | Assign severity in every tier. Use only In scope findings to score the reviewed work and decide the verdict under the existing floor rules. | Let Out of scope or Improbable findings change a score or verdict. |
</Finding_Tier_Rules>

Read the full file on GitHub · 147 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. 14d ago Changed · +37 lines 0910ec928566
  2. 2mo ago Changed · +8 lines 1e3a5bf869f0
  3. 2mo ago Changed · +9 lines 87d827de3cf0
  4. 3mo ago First seen · 93 lines · 19 tokens per session scan A 51ad6fda0f58

Subscribe to this mod's changes

tier-review is a skill published in the GitHub repository kangig94/coral (11 stars, last pushed 13d ago), licensed MIT. It adds 19 tokens to every session and 2,124 once invoked, about $0.0001 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-08-30.

Related

tier-review compared with skills from other repositories

tier-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tier-reviewkangig94/coralSkill1113d agoMITA19Claude Code
codecompanion-reviewing-changesolimorris/codecompanion.nvimSkill7.0ktodayApache-2.0A38Claude Code, Codex
flow-next-impl-reviewgmickel/flow-nextSkill737yesterdayMITA34Claude Code, Codex
flow-next-plan-reviewgmickel/flow-nextSkill737yesterdayMITA32Claude Code, Codex
flow-next-spec-completion-reviewgmickel/flow-nextSkill737yesterdayMITA27Claude Code, Codex
github-review-prfeiskyer/claude-code-settingsSkill1.7k1mo agoMITA90Claude Code
flow-next-worktree-kitgmickel/flow-nextSkill737yesterdayMITA43Claude Code, Codex