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.
npx skills add zhou210712/claude-for-legal-ZH --skill flashcardsgit clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZHWrote 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.
[](https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/flashcards)<a href="https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/flashcards"><img src="https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/flashcards/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.
<a href="https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/flashcards"><img src="https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/flashcards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00075 | $0.02508 |
| Opus 5 | $0.00037 | $0.01254 |
| Sonnet 5 | $0.00015 | $0.00502 |
| Haiku 4.5 | $0.00007 | $0.00251 |
Grade A, and why
flashcards 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.
How it starts
The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/flashcards
- 加载
~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md→ 当前课程、薄弱科目、大纲位置。 - 应用以下框架。
- 按标志路由:
--generate:从来源(大纲路径、笔记、教材)按卡片编写规则构建卡片。写入~/.claude/plugins/config/claude-for-legal/law-student/flashcards/[科目]/cards.md。--drill(默认):优先到期卡片 + 新卡片;显示问题,等待回答,显示答案,接受自我评估,更新记忆桶 + 下次复习时间。--review:按记忆桶浏览卡片组。--stats:进度快照;标记卡住的卡片建议进行口头训练。--session <n>:集中 N 张卡片练习,优先之前的错题 + 到期卡片;将结果追加到study-plan.yaml→session_history。
- 应用置信纪律:对从无来源知识生成的每张卡片标注
[需核实]。
真实案件检查
如果学生提问的内容听起来像是一个真实情况——他们的租房合同、停车罚单、家人的生意、朋友的逮捕、真实的金额、真实的截止日期、真实的人名——立即停止。
"这听起来像是一个真实情况,而非假设性题目。我不能给你法律建议,你也不能——你还不是执业律师。如果这是真实的,当事人需要一名真正的律师:法律援助中心、你学校的法律诊所、当地律师协会的律师推荐服务,或(如果有费用)聘请私人律师。我很乐意帮你理解相关的法律概念,但那是学习,不是法律建议。"
注意以下触发信号:真实姓名、真实地址、真实日期、具体金额、"我的房东/老板/父母/朋友""我收到了罚单/信函/通知"、以天为单位的截止日期。任意一个信号都应触发此警告。
目的
大纲用于综合;记忆卡片用于记忆。法考和大多数法学院考试奖励快速规则回忆。本技能从你的大纲(或笔记或教材节选)生成卡片,以轻度间隔重复训练,追踪哪些卡住了哪些没有。
不是完整的 SRS 系统。 简单的莱特纳式记忆桶。够学习用,够轻度维持。如果你想要 Anki,用 Anki;这是当你在聊天中想要快速训练时用的。
置信纪律
与其他内容生成技能相同的规则:
- 如果从你提供的来源(大纲、笔记、教材节选)生成卡片,卡片的问题和答案来自该来源。有把握。
- 如果从我的知识无来源生成卡片,我对每张陈述我不完全确定的规则的卡片标注
[需核实:规则——对照来源确认]。你应该在将其作为学习目标记入卡片之前核实。 - 如果我不熟悉某个领域,我生成更少的卡片而非编造。有 8 张好卡片比 20 张其中 5 张是错误的好。
加载上下文
~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md→ 当前课程、薄弱科目、现有大纲~/.claude/plugins/config/claude-for-legal/law-student/flashcards/[科目]/cards.md(如存在)(增量构建)- 用户提供的来源(大纲路径、笔记、教材节选)(如有)
模式
标志:--generate | --drill | --review | --stats | --session <n>(默认:提示)
--session <n> — 集中 N 张卡片练习
当学生说"来做5张合同法卡片"或运行 /law-student:session 合同法 5 --flashcards 时。
- 加载
~/.claude/plugins/config/claude-for-legal/law-student/study-plan.yaml(如存在)并读取该科目的session_history。 - 优先级:之前标记错误的卡片 > 到期卡片 > 新卡片。
- 按
--drill流程逐张运行 N 张卡片。 - 练习结束时,将结果追加到
study-plan.yaml→session_history:
session_history:
- date: 2026-05-08
subject: 合同法
type: 记忆卡片
n_cards: 5
right: 3
partial: 1
wrong: 1
stuck_topics: [合同的订立-要约与承诺]
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.
- 9d ago First seen · 158 lines · 75 tokens per session scan A 32eed5d05884
flashcards is a skill published in the GitHub repository zhou210712/claude-for-legal-ZH (212 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 75 tokens to every session and 2,508 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-09-03.
Other skills, from other repositories
policy-qa
Triage loop for inbound HR policy questions. Classifies each new question from the HR inbox as answerable from the documented Notion policy library or as needing HR's judgment, drafts a grounded Gmail reply for the former, and escalates the latter — anything ambiguous, legal, personal, or compensation-related — to…
patsnap-ip-innovation-courses
Patsnap IP & Innovation Courses MCP for AI agents. A one-stop learning entry for courses, course details, and training materials on IP and innovation. It helps teams build a structured understanding of patents, search, analysis, and business use while lowering the learning barrier for new users. It is useful for…
learn-law-with-rohas
Acts as an interactive legal tutor for learning a law, legal subject, doctrine, judgment, procedure, or legal concept. Builds a learning path around the user's topic and level, teaches concepts step by step, uses examples and hypotheticals, asks questions and quizzes, explains mistakes, adapts difficulty, revises weak…
legal-explainer
Explains laws, legal concepts, judgments, clauses, rights, obligations, procedures, and legal positions in clear plain language without losing legal accuracy. Use when a user asks "what does this mean?", "explain this law simply", "explain this clause", "what does this judgment actually say", "explain this to a…
grad-public-choice
Apply public choice theory to analyze political decision-making as rational self-interested behavior. Use this skill when the user needs to evaluate government policy failures, rent-seeking costs, voting outcomes, or bureaucratic incentives, especially when the assumption of benevolent government is questionable.
creative-commons-explainer
Explains a specific Creative Commons licence in plain language, telling a media professional exactly what they can and cannot do with the licensed content — including attribution requirements, commercial use rules, and derivative work restrictions.