use-context-reviewer-readability

use-context-reviewer-readability is a skill for Claude Code from thkt/dotclaude. It costs 59 tokens per session (763 once invoked), scanned A, original, MIT.

A code-review guide for making programs easier to read, using limits for function size, file size, nesting, arguments, and branching complexity.

In plain words
What is it for?
Reviewing names, control flow, comments, interfaces, classes, function length, file length, nesting depth, argument counts, and cyclomatic complexity.
Why use it?
It helps reduce the amount of code a developer must hold in mind and highlights unclear names, excessive nesting, oversized functions, and unnecessary abstractions or comments.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Good fit Reviewing names, control flow, comments, interfaces, classes, function length, file length, nesting depth, argument counts, and cyclomatic complexity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thkt/dotclaude/use-context-reviewer-readability
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.

Any agent
npx skills add thkt/dotclaude --skill use-context-reviewer-readability
Clone the repo
git clone --depth 1 https://github.com/thkt/dotclaude

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 use-context-reviewer-readability

README.md
[![agentmods](https://agentmods.dev/badge/skills/thkt/dotclaude/use-context-reviewer-readability.svg)](https://agentmods.dev/skills/thkt/dotclaude/use-context-reviewer-readability)
Your own site
<a href="https://agentmods.dev/skills/thkt/dotclaude/use-context-reviewer-readability"><img src="https://agentmods.dev/badge/skills/thkt/dotclaude/use-context-reviewer-readability.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 763 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.00059 $0.00763
Opus 5 $0.00030 $0.00381
Sonnet 5 $0.00012 $0.00153
Haiku 4.5 $0.00006 $0.00076

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

Security

Grade A, and why

use-context-reviewer-readability 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 7d 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.

.ja/skills/use-context-reviewer-readability/SKILL.md · 45 lines

What it actually says

use-context-reviewer-readability

しきい値は、作業記憶や 1 画面集中といった認知限界と、McCabe complexity のような確立されたメトリクスに基づく。下表は推奨値で、検出表はそれを超えた全件でなく報告に値する逸脱だけを挙げる。関数引数の推奨は 3、検出は 5 超。

目標 推奨値 根拠
関数行数 ≤30 1 画面の可読性
ファイル行数 ≤400 モジュールレベルの認知上限
ネスト深度 ≤3 作業記憶内での分岐追跡
関数引数 ≤3 引数順の暗記限界
循環的複雑度 ≤10 McCabe 1976: パス爆発なくテスト可能

検出

ID パターン 修正
RD1 曖昧な processData() validateUserEmail()
RD1 誤解を招く識別子 名前は意図を表す
RD2 ネスト > 3 階層 guard clause、関数抽出
RD2 関数 > 30 行 分解
RD3 コメント: // increment i 自明なので削除
RD3 コメント: // TODO: fix later issue 化または今修正
RD4 単一実装の interface 2 つ目の実装が出るまで削除
RD4 状態を持たないロジックの class 純粋関数
RD5 関数引数 > 5 設定オブジェクトまたは分解

参照ファイル

トピック ファイル
Control Flow ${CLAUDE_SKILL_DIR}/references/control-flow.md
Comments ${CLAUDE_SKILL_DIR}/references/comments-clarity.md
AI Antipatterns ${CLAUDE_SKILL_DIR}/references/ai-antipatterns.md
Naming ${CLAUDE_SKILL_DIR}/references/naming.md
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. 7d ago First seen · 45 lines · 59 tokens per session scan A 69f9420bebc3

Subscribe to this mod's changes

use-context-reviewer-readability is a skill published in the GitHub repository thkt/dotclaude (12 stars, last pushed 2d ago), licensed MIT. It adds 59 tokens to every session and 763 once invoked, about $0.0003 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.