claude-howto-zh-cn: Skill for Claude Code

.claude/skills/lesson-quiz/SKILL.md

lesson-quiz is a skill for Claude Code from lhfer/claude-howto-zh-cn. It costs 71 tokens per session (1,583 once invoked), scanned A, original, MIT.

An interactive 10-question quiz for one lesson in a Claude Code tutorial. Claude Code is a coding assistant, and the lessons cover topics such as commands, memory, skills, agents, and hooks.

In plain words
What is it for?
It helps users practise and assess one tutorial lesson before, during, or after studying it.
Why use it?
It checks whether someone understands a specific lesson instead of treating the whole tutorial as one test. It also scores answers and identifies weak areas.

Skill for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

This is lhfer/claude-howto-zh-cn's own configuration. It tells Claude Code how to work on claude-howto-zh-cn 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 claude-howto-zh-cn configures →

About the project

Claude Code 中文全面上手指南 is a Chinese-language learning guide for using Claude Code and combining features such as commands, memory, skills, hooks, MCP, subagents, and plugins. It is aimed at Chinese beginners and provides learning paths, examples, and compatibility guidance, while the catalogue entries package parts of that guidance as agent resources.

lhfer/claude-howto-zh-cn · 2,294 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to lhfer/claude-howto-zh-cn. 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/lhfer/claude-howto-zh-cn/main/.claude/skills/lesson-quiz/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lhfer/claude-howto-zh-cn

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 lesson-quiz

README.md
[![agentmods](https://agentmods.dev/badge/skills/lhfer/claude-howto-zh-cn/lesson-quiz/github.svg)](https://agentmods.dev/skills/lhfer/claude-howto-zh-cn/lesson-quiz)
Your own site
<a href="https://agentmods.dev/skills/lhfer/claude-howto-zh-cn/lesson-quiz"><img src="https://agentmods.dev/badge/skills/lhfer/claude-howto-zh-cn/lesson-quiz/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 lesson-quiz

Your own site · 80×15
<a href="https://agentmods.dev/skills/lhfer/claude-howto-zh-cn/lesson-quiz"><img src="https://agentmods.dev/badge/skills/lhfer/claude-howto-zh-cn/lesson-quiz.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,583 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.00071 $0.01583
Opus 5 $0.00036 $0.00792
Sonnet 5 $0.00014 $0.00317
Haiku 4.5 $0.00007 $0.00158

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

Security

Grade A, and why

lesson-quiz 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 12d 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/lesson-quiz/SKILL.md · 163 lines

How it starts

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

课程测验(Lesson Quiz)

这是一个针对单个 Claude Code lesson 的完整互动测验 skill,用于检查用户对某一课的理解程度。它只测一个 lesson,不用于整套教程的水平评估;整套评估请使用 self-assessment

前置条件与护栏

本 skill 需要能读取教程仓库中的 01-slash-commands/10-cli/ 目录,以及本 skill 自带的 references/question-bank.md

  • 先确认目标 lesson 的 README.md 存在;如果不存在,停止并提醒用户检查仓库结构。
  • 不要临时编题。 只使用 references/question-bank.md 中该 lesson 的预置题;如果题库缺失,直接说明并停止。
  • 准确计分。 每题选项会随机打乱,必须记录正确选项在打乱后的新位置,再据此判分。
  • 先确认测验时机。 Before / During / After 会影响结果解释,不能跳过。

使用说明

Step 1: 确认 lesson

如果用户提供了参数,就映射到 lesson 目录:

  • 01 / slash-commands / commands01-slash-commands
  • 02 / memory02-memory
  • 03 / skills03-skills
  • 04 / subagents / agents04-subagents
  • 05 / mcp05-mcp
  • 06 / hooks06-hooks
  • 07 / plugins07-plugins
  • 08 / checkpoints / checkpoint08-checkpoints
  • 09 / advanced / advanced-features09-advanced-features
  • 10 / cli10-cli

如果用户没提供参数,使用 AskUserQuestion 分 2-3 轮让用户选择 lesson。


Step 2: 读取 lesson 与题库

先读取:

  • <lesson-directory>/README.md
  • references/question-bank.md

只读取当前选中 lesson 的 README.md,不要为了测一个 lesson 一次性加载全部 10 个 lesson。题库中每个 lesson 应有 10 道预置题;如果该 lesson 题目不足,停止并报告题库需要维护,不要根据 README 临时补题。


Step 3: 询问测验时机

用 AskUserQuestion 询问用户当前是在:

  1. 学前(pre-test)
  2. 学习中(progress check)
  3. 学后(mastery check)

不同 timing 会影响结果解读。


Step 4: 出题

  • 每次固定 10 题
  • 每轮 2 题,共 5 轮
  • 混合概念题和实践题
  • 每题使用 AskUserQuestion,提供 3-4 个选项
  • 每轮用户答完后,立即给出本轮逐题反馈:是否答对;如果答错,给出正确答案和简短解释
  • 每题展示前必须随机打乱选项顺序,不要照搬题库里的 A/B/C/D 顺序,也不要固定把正确答案放在第一项
  • 打乱后要记录正确答案对应的新位置,最终评分按打乱后的真实答案判定

每题必须包含这些信息:

  • category
  • question
  • options
  • correct
  • explanation
  • review

记录用户答案;每轮反馈不替代最终结果,所有 5 轮结束后仍要统一评分。


Step 5: 评分与结果输出

每题答对记 1 分,总分 10 分。

等级:

  • 9-10:Mastered
  • 7-8:Proficient
  • 5-6:Developing
  • 3-4:Beginning
  • 0-2:Not yet

输出格式使用 references/results-template.md。填充模板里的占位符,保留分数行、单题结果表、错题复盘、按时机给出的反馈和推荐下一步。


Step 6: 根据 timing 解释结果

如果是学前测验

Read the full file on GitHub · 163 lines

Files

What ships with it

3 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. 12d ago First seen · 163 lines · 71 tokens per session scan A a4f1a87a6b78

Subscribe to this mod's changes

lesson-quiz is a skill published in the GitHub repository lhfer/claude-howto-zh-cn (2,294 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 1,583 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.

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

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 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

master-yinguang

A reference-based assistant for questions about Yinguang and Pure Land Buddhism, a Buddhist tradition focused on faith, ethical living, and practice connected with rebirth in the Pure Land. It can answer in Yinguang’s historical teaching style.

xr843/Master-skill · 274 tokens