kaji: Skill for Claude Code

.claude/skills/review/SKILL.md

review is a skill for Claude Code from apokamo/kaji. It costs 80 tokens per session (3,461 once invoked), scanned A, original, Apache-2.0.

A skill for carrying out the first code review on a GitHub pull request, a proposed code change submitted for review. It evaluates design alignment, code quality, tests, and documentation before posting an approval or requested changes.

In plain words
What is it for?
Use it after a pull request is created, or as a fallback when automated review cannot run, to post an official approval or request for changes.
Why use it?
It separates the first review from checking fixes later, helping the review cycle reach a clear result without mixing different review stages.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Codex.

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ([`docs/dev/shared_skill_rules.md`](../../../docs/dev/shared_skill_rules.md) § auto close keyword 回避規約)。.

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/apokamo/kaji/review"><img src="https://agentmods.dev/badge/skills/apokamo/kaji/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,461 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.00080 $0.03461
Opus 5 $0.00040 $0.01731
Sonnet 5 $0.00016 $0.00692
Haiku 4.5 $0.00008 $0.00346

Measured 9d ago against content hash 81fd9d5e8a22, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

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 9d 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/SKILL.md · 335 lines

How it starts

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

Review

PR に対する 初回コードレビュー を実施するスキル。 設計書整合 / コード品質 / テスト証跡 / docs 更新を観点に評価し、kaji pr review で正式な Approve / Changes Requested を投稿する。

重要: このスキルは 新規レビュー 専用。修正確認(/pr-fix 後の収束確認)は /pr-verify を使うこと。両者を混同するとレビューサイクルが収束しなくなる。

いつ使うか

タイミング このスキル
PR 作成直後の初回レビュー(単体起動 / review-pollBACK_FALLBACK 後の fallback) ✅ 必須
/pr-fix 後の修正確認 /pr-verify を使う
provider.type='github' で codex auto-review が走る環境 ⚠️ workflow からは review-poll 経由で fallback 用途のみ
provider.type='github' で codex auto-review が走らない環境(クレジット不足等) review-pollBACK_FALLBACK → 本 skill
provider.type='local' 配下 ❌ Step 0 で ABORT。代替は /issue-review-code

ワークフロー内の位置: i-pr → [PR 作成] → review → (pr-fix → pr-verify) → close

入力

ハーネス経由(コンテキスト変数)

変数 説明
issue_id str 正規化済み Issue ID
issue_ref str 人間可読の Issue 参照
provider_type str github / local のいずれか。Step 0 のガード判定に使用
step_id str 現在のステップ ID

手動実行(スラッシュコマンド)

$ARGUMENTS = <issue_id>

解決ルール

コンテキスト変数 issue_id が存在すればそちらを使用。なければ $ARGUMENTS の第 1 引数を issue_id として使用。pr_id は Step 1 で kaji pr list --search から逆引きする (pr-verify と同じ規約)。

前提知識の読み込み

以下のドキュメントを Read ツールで読み込んでから作業を開始すること。

  1. 開発ワークフロー: docs/dev/development_workflow.md
  2. テスト規約: docs/dev/testing-convention.md
  3. Python スタイル: docs/reference/python/python-style.md

共通ルール

必須情報源 / 任意情報源

初回レビュー判定(Approve / Changes Requested)を出すために 必ず読まなければならない情報源:

Step 情報源 必須/任意
Step 3a kaji pr view [pr_id] — PR タイトル / 説明 / 状態 / linked Issue 必須
Step 3b git diff [git_remote]/[default_branch]...HEAD — レビュー対象の差分本体 必須
Step 3c kaji pr review-comments [pr_id] — 既存 inline 指摘(重複指摘回避) 必須
Step 3d kaji pr reviews [pr_id] — 過去の Approve / Changes Requested 履歴 任意
Step 3e kaji pr view [pr_id] --comments — 非 inline の議論経緯 任意
Step 4 make check — 品質ゲート(失敗時は Changes Requested 必至) 必須

Read the full file on GitHub · 335 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. 9d ago First seen · 335 lines · 80 tokens per session scan A 81fd9d5e8a22

Subscribe to this mod's changes

review is a skill published in the GitHub repository apokamo/kaji (12 stars, last pushed yesterday), licensed Apache-2.0. It adds 80 tokens to every session and 3,461 once invoked, about $0.0004 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-30.