check

check is a skill for Claude Code, Codex from 7xmohamed/Kata. It costs 47 tokens per session (1,911 once invoked), scanned A, original, MIT.

A code-review skill that examines changes after implementation, fixes safe problems, and uses security and architecture reviewers for large diffs.

In plain words
What is it for?
Use it to review a branch diff, safely fix findings, verify the result, or triage reported issues and pull requests.
Why use it?
It catches defects before release and separates ordinary code problems from security and structural risks.

Skill for Claude CodeCodex

Part of the check plugin — 1 skill, 2 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/7xmohamed/kata/check
Any agent
npx skills add 7xmohamed/Kata --skill check
Clone the repo
git clone --depth 1 https://github.com/7xmohamed/Kata

Made for: Claude Code, Codex.

Or install check, the plugin that ships this one along with the rest of its 1 skill, 2 agents.

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 check

README.md
[![agentmods](https://agentmods.dev/badge/skills/7xmohamed/kata/check.svg)](https://agentmods.dev/skills/7xmohamed/kata/check)
Your own site
<a href="https://agentmods.dev/skills/7xmohamed/kata/check"><img src="https://agentmods.dev/badge/skills/7xmohamed/kata/check.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,911 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.01911
Opus 5 $0.00023 $0.00955
Sonnet 5 $0.00009 $0.00382
Haiku 4.5 $0.00005 $0.00191

Measured 4d ago against content hash 27d208030cb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

check 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run-tests.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/check/SKILL.md · 145 lines

How it starts

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

Check: Review Before You Ship

Prefix your first line with ⚔️ inline, not as its own paragraph.

Read the diff, find the problems, fix what can be fixed safely, ask about the rest. Done means verification ran in this session and passed.

Get the Diff

Get the full diff between the current branch and the base branch. If unclear, ask. If already on the base branch, ask which commits to review.

Triage Mode

Activate when the user mentions: issue, PR, "review all", triage, "batch", or "批量处理". Skip the diff flow and run this instead.

Flow:

  1. gh issue list -R <repo> --state open --limit 20 and gh pr list -R <repo> --state open to pull pending items.
  2. For each item, check if a fix already exists before analyzing:
    git tag --sort=-version:refname | head -1          # latest tag
    git log --oneline <tag>..HEAD | grep -i "<keyword>" # merged but unreleased?
    
    Three outcomes: already shipped (close with note), merged but unreleased (reply "已修复,等下一个版本 release", close), or no fix (analyze).
  3. Classify each item using the Category A-E system in ~/www/GEMINI.md. Do not copy the definitions here; read them from that file.
  4. Draft every reply and show it to Tang for confirmation before calling gh issue comment or any GitHub write operation.
  5. If no open items exist: shift to historical analysis. Run gh issue list -R <repo> --state closed --limit 50 and look for recurring themes, fixes closed without resolution, and deferred features with demand. Produce a short per-project summary with Fix candidates and Feature candidates. Do not implement without approval.

Sign-off line (append to standard sign-off):

triage:           N reviewed, N closed, N deferred

Scope

Measure the diff and classify depth:

Depth Criteria Reviewers
Quick Under 100 lines, 1-5 files Base review only
Standard 100-500 lines, or 6-10 files Base + conditional specialists
Deep 500+ lines, 10+ files, or touches auth/payments/data mutation Base + all specialists + adversarial pass

Read the full file on GitHub · 145 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 145 lines · 47 tokens per session scan A 27d208030cb1

Subscribe to this mod's changes

check is a skill published in the GitHub repository 7xmohamed/Kata (2 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 1,911 once invoked, about $0.0002 per session on Opus 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-31.