sortie: Skill for Claude Code

.github/skills/code-review/SKILL.md

code-review is a skill for Claude Code, Codex from sortie-ai/sortie. It costs 130 tokens per session (2,423 once invoked), scanned A, original, Apache-2.0.

A focused review of a pull request, which is a proposed set of code changes, for defects that ordinary checklists may miss. It checks whether changes work correctly across the rest of the codebase.

In plain words
What is it for?
It helps inspect pull-request claims, verify changed files and symbols, and find cross-cutting bugs involving documentation, state, contracts, and new entries.
Why use it?
It can catch locally reasonable changes that cause problems elsewhere, such as outdated documentation, broken retry behavior, incomplete maps, or tests that no longer check the real contract.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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

Reuse

Borrowing it

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

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sortie-ai/sortie/code-review"><img src="https://agentmods.dev/badge/skills/sortie-ai/sortie/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,423 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00130 $0.02423
Opus 5.5 $0.00052 $0.00969
Sonnet 5.5 $0.00026 $0.00485
Haiku 4.5 $0.00013 $0.00242

Measured 2mo ago against content hash 50fa2da015e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-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 2mo 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.

.github/skills/code-review/SKILL.md · 91 lines

How it starts

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

Reviewing sortie pull requests

.github/copilot-instructions.md covers the mechanical checks: layering, concurrency, path containment, SQLite rules, error wrapping, resource lifecycle, adapter boundaries, style. Do not repeat them. This skill covers what those checks cannot see: defects that are locally correct and globally wrong.

Two rules govern every finding.

Verify before flagging. Open the file and read the line. A finding that cites a line that says something else costs the maintainer more than silence. State the evidence inline: file, symbol, and what it actually does.

One grounded finding beats five speculative ones. Uncertain findings are noise. If a check below needs a fact you cannot establish from the diff plus the files it touches, say what you could not verify instead of guessing.

Start from the pull request description

.github/pull_request_template.md makes the author declare Intent, Sensitive Areas, Breaking Changes, and Migrations. Treat each as a claim to audit, not as context to absorb.

  • Intent says opt-in or default-off. Find the branch that makes it inert when unconfigured, and confirm nothing outside it changed behavior. An opt-in feature that alters a default path is the failure this claim hides.
  • Sensitive Areas names a file. Review it first and hardest. An empty Sensitive Areas on a diff that touches orchestrator state, an adapter boundary, or workspace removal is itself a finding.
  • Breaking Changes says none. Check exported signatures, domain struct fields consumed by adapters, config field names and defaults, and log or metric names an operator may depend on.
  • Migrations says none. Check internal/persistence/sql/ and any new column read.

Documentation is part of the change

The specification under docs/architecture/ is the contract implementation follows, so drift is a defect, not a nicety. For any behavior change, find the section that describes that behavior and confirm the PR updates it.

Read the full file on GitHub · 91 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. 2mo ago First seen · 91 lines · 130 tokens per session scan A 50fa2da015e5

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository sortie-ai/sortie (209 stars, last pushed today), licensed Apache-2.0. It adds 130 tokens to every session and 2,423 once invoked, about $0.0005 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

Other skills, from other repositories

sage-review

Deep, platform-neutral code review for PRs and CRs in ONE thorough single pass — design reasoning (Problem Worth Solving & Solution Fit) as one dimension alongside the 9 code-level dimensions, with chain-of-consequences, self-critique, and draft-only comments. The single app-owned source of truth.

kirodotdev/KiroCrew · 68 tokens

learn-from-sage

Detection-gap (miss) analysis for Code Review Sage. Learn from shipped fixes, acted-on human comments, and design outcomes to close reviewer blind spots. Inline during review stages a candidate; a human triggers a one-shot AI consolidation into the live ruleset.

kirodotdev/KiroCrew · 56 tokens

review-fix-signoff-loop

Use when writing Agent Relay or Ricky workflows that must loop review, fix, and validation with fresh agent context until independent signoff agents, typically Claude and Codex, both agree the work is comprehensively complete. Covers fresh-context iterations, repairable gates, dual reviewer verdict contracts…

AgentWorkforce/relay · 77 tokens

simplify

Clean up changed code while preserving intended behavior. Use when the user asks to simplify or improve code quality through reuse, simplification, efficiency, and abstraction reviews. Correctness bug hunting is outside scope.

AntigmaLabs/ante · 43 tokens

control-center-review

Review one captured Control Center build before runtime activation.

openonion/connectonion · 14 tokens

review-pr

Review GitHub pull requests. Use when user says "review PR", "review pull request", or "/review-pr".

openonion/connectonion · 27 tokens