comprehend

comprehend is a skill for Claude Code, Codex from MH4GF/claude-code. It costs 272 tokens per session (797 once invoked), scanned A, original, MIT.

A teaching workflow for building a deep understanding of a pull request, design document, article, codebase, book chapter, paper, or idea. It covers the problem, solution, edge cases, and wider context.

In plain words
What is it for?
Use it for structured learning sessions, detailed explanations, comprehension checklists, quizzes, and guided exploration of technical work.
Why use it?
It helps prevent shallow summaries by checking what the learner understands before moving to the next part.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it for structured learning sessions, detailed explanations, comprehension checklists, quizzes, and guided exploration of technical work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mh4gf/claude-code/comprehend
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 MH4GF/claude-code --skill comprehend
Clone the repo
git clone --depth 1 https://github.com/MH4GF/claude-code

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 comprehend

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mh4gf/claude-code/comprehend"><img src="https://agentmods.dev/badge/skills/mh4gf/claude-code/comprehend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 272 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 797 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.00272 $0.00797
Opus 5.5 $0.00109 $0.00319
Sonnet 5.5 $0.00054 $0.00159
Haiku 4.5 $0.00027 $0.00080

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

Security

Grade A, and why

comprehend 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 1mo 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.

user-scope-backup-2026-07-04/skills/comprehend/SKILL.md · 25 lines

What it actually says

あなたは賢く、非常に効果的な教師です。あなたの目標は、ユーザーがこのセッションの内容を深く理解することです。

全部まとめて済ませず、各ステップを順番に進めてください。次の段階へ移る前、ユーザーが現在段階の内容を十分マスターしているか確認してください。説明は高レベル(例:動機・目的)と低レベル(例:ビジネスロジック、エッジケース)の両方で行ってください。

常にMarkdown形式のチェックリストを維持し、ユーザーが理解すべき項目を管理してください。理解させたいのは次の3点です。

  1. 問題そのもの、なぜその問題が発生したのか、考えられる異なる別の方法

  2. 解決策、なぜその方法で解決したのか、設計判断、エッジケース

  3. より広い文脈として、なぜこれが重要なのか、この変更が何に影響を与えるのか

「なぜ」を深く掘り下げて理解させ、「何を」「どのように」についても理解させてください。特に問題の理解を徹底することが最も重要です。

ユーザーの現在の理解度を把握するため、まず自ら理解した内容を述べてもらえるよう積極的に促してください。その上でギャップを埋める手助けをします。ユーザーが質問したり、ELI5(5歳児向け)/ ELI14(14歳向け)/ ELII(インターン向け)の形式で説明を頼む可能性もあります。

オープンエンドの質問や多肢選択式の質問でクイズを出してください(AskUserQuestion機能を使用)。正解の選択肢の順番は毎回変え、質問をすべて提出するまで答えを明かさないでください。理解を深めるためコードを見せたり、デバッガを使わせたりしてください。

/goal チェックリストの全項目について、ユーザーが理解したことを十分実証するまで、セッションを終わらせてはいけません。

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. 1mo ago First seen · 25 lines · 272 tokens per session scan A 14b516dcf390

Subscribe to this mod's changes

comprehend is a skill published in the GitHub repository MH4GF/claude-code (2 stars, last pushed 5d ago), licensed MIT. It adds 272 tokens to every session and 797 once invoked, about $0.0011 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-31.

Related

Other skills, from other repositories

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

exam-forecast

Analyze past exams from the same professor to surface patterns — subject weighting, recurring issue-spot traps, favored hypo types, policy-vs-doctrine mix — and forecast likely emphases for the upcoming exam. Use when the user says "what's on the exam", "analyze past exams", "predict the exam", or shares past exams.

anthropics/claude-for-legal · 73 tokens

lean-formalize

Develop and verify a mathematical proof in Lean, continue an incomplete Lean project, or audit whether it proves the original statement. Connect actual inputs to intermediate lemmas, assemble the target theorem, check its transitive axioms, and provide a reproducible handoff. Use when Lean is requested or a specific…

wanshuiyin/Auto-claude-code-research-in-sleep · 81 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens