Official agent skill

Flashcards

by anthropics in anthropics/claude-for-legal

Generate or drill flashcards for black-letter memorization — Leitner-style buckets, per-subject markdown storage, drill mode with self-assessment.

OfficialApache-2.0Auto-check passedEducation

Install Flashcards

skills CLI
$ npx skills add anthropics/claude-for-legal --skill flashcards -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install anthropics/claude-for-legal flashcards --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .claude/skills && cp -r skills-src/law-student/skills/flashcards .claude/skills/flashcards && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
flashcards
GitHub stars
9.6k
Used in
3 other repos
Token cost
~2.1k tokens
SKILL.md length
1,045 words
Files
1
Skills in repo
147
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate or drill flashcards for black-letter memorization — Leitner-style buckets, per-subject markdown storage, drill mode with self-assessment.

  • Works in 4 steps: Load… → Apply the framework below. → Route by flag → …
  • The user says drill flashcards
  • SKILL.md covers Real-matter check, Purpose, Confidence discipline and Load context, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Flashcards is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization. Generate or drill flashcards for black-letter memorization — Leitner-style buckets, per-subject markdown storage, drill mode with self-assessment. Use when the user says "drill flashcards", "make flashcards from", "quiz me on cards", or wants to memorize rules.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Education, covering Study guides and flashcards. The repository describes itself as: A suite of plugins for legal workflows. The licence is Apache-2.0.

When your agent uses it

  • The user says drill flashcards
  • Make flashcards from
  • Quiz me on cards
  • Wants to memorize rules

Example prompts

  • “drill flashcards”
  • “make flashcards from”
  • “quiz me on cards”
  • “/flashcards”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Load ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → current classes, weak subjects, outline locations.
  2. Apply the framework below.
  3. Route by flag
  4. Apply confidence discipline: flag every card generated from knowledge-without-source with [VERIFY].

What it can do on your machine

Read from SKILL.md and the folder at commit 4a6c651. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Flashcards loads about 2.1k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 1,045 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from anthropics/claude-for-legal at commit 4a6c651, republished under its Apache-2.0 licence (© anthropics). 1,045 words, ~2,111 tokens.

Download SKILL.mdSave it as .claude/skills/flashcards/SKILL.md (or your agent's skills folder).
name
flashcards
description
Generate or drill flashcards for black-letter memorization — Leitner-style buckets, per-subject markdown storage, drill mode with self-assessment. Use when the user says "drill flashcards", "make flashcards from", "quiz me on cards", or wants to memorize rules.
argument-hint
[subject] [--generate | --drill | --review | --stats | --session <n>]

/flashcards

  1. Load ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → current classes, weak subjects, outline locations.
  2. Apply the framework below.
  3. Route by flag:
    • --generate: build cards from source (outline path, notes, casebook) per card-writing rules. Write to ~/.claude/plugins/config/claude-for-legal/law-student/flashcards/[subject]/cards.md.
    • --drill (default): prioritize due cards + new; show Q, wait for answer, show A, take self-assessment, update buckets + next review.
    • --review: browse deck by bucket.
    • --stats: progress snapshot; flag stuck cards for verbal drill.
    • --session <n>: focused N-card session, prioritized by prior misses + due cards; appends results to study-plan.yaml → session_history.
  4. Apply confidence discipline: flag every card generated from knowledge-without-source with [VERIFY].

Real-matter check

If the question the student is asking sounds like it's about a REAL situation — their lease, their parking ticket, their family's business, their friend's arrest, a real dollar amount, a real deadline, a real party name — stop.

"This sounds like a real situation, not a hypothetical. I can't give you legal advice, and you can't give it either — you're not a lawyer yet. If this is real, [the person] needs an actual lawyer: legal aid, your school's clinic, a lawyer referral service (your jurisdiction's bar association, law society, or legal aid body), or (if there's money) a private attorney. I'm happy to help you understand the general legal concepts involved, but that's study, not advice."

Watch for: real names, real addresses, real dates, specific dollar amounts, "my landlord/boss/parent/friend," "I got a ticket/letter/notice," deadlines measured in days. Any one of these is a trigger.

Purpose

Outlines are for synthesis; flashcards are for memorization. The bar exam and most law school exams reward fast rule recall. This skill generates cards from your outline (or notes or casebook excerpts), drills them with light spacing, and tracks what's stuck and what hasn't.

Not a full SRS system. Simple Leitner-style buckets. Good enough to study, light enough to maintain. If you want Anki, use Anki; this is for when you're in chat and want a quick drill.

Confidence discipline

Same rule as the other content-generating skills:

  • If generating cards from a source you provide (outline, notes, casebook excerpt), the card's Q and A come from that source. Confident.
  • If generating cards from my knowledge without a source, I flag every card that states a rule I'm not fully confident on with [VERIFY: rule — confirm against source]. You should check before committing to the card as a learning target.
  • If I don't know an area well, I generate fewer cards rather than inventing. Better to have 8 good cards than 20 where 5 are wrong.

Load context

  • ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → current classes, weak subjects, existing outlines
  • ~/.claude/plugins/config/claude-for-legal/law-student/flashcards/[subject]/cards.md if it exists (incremental build)
  • User-provided source (outline path, notes, casebook excerpt) if given

Modes

Flag: --generate | --drill | --review | --stats | --session <n> (default: prompt)

--session <n> — focused N-card session

For when the student says "let's do 5 cards on Contracts" or runs /law-student:session Contracts 5 --flashcards.

  • Load ~/.claude/plugins/config/claude-for-legal/law-student/study-plan.yaml if it exists and read session_history for this subject.
  • Prioritize: cards previously marked wrong > due cards > new cards.
  • Run N cards one at a time per the --drill flow.
  • At session end, append results to study-plan.yaml → session_history:
yaml
session_history:
  - date: 2026-05-08
    subject: Contracts
    type: flashcards
    n_cards: 5
    right: 3
    partial: 1
    wrong: 1
    stuck_topics: [parol-evidence-rule]
  • If no study-plan.yaml, write to ~/.claude/plugins/config/claude-for-legal/law-student/session-history.yaml instead.
--generate — create cards

Inputs:

  • Subject (class name or topic)
  • Source (outline path, notes, or "use my existing outline from ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md")
  • Optional: card count target (default 10-20 per session)

Card structure:

markdown
### Card [N]
**Q:** [question — one concept, one card]
**A:** [answer — the rule, one or two sentences]
**Source:** [outline section, casebook page, class note date]
**Bucket:** new
**Last reviewed:** —
**Next review:** [today's date]
**Notes:** [optional — distinctions, exceptions, traps]

Card-writing rules:

  1. One concept per card. "Elements of negligence" becomes 4 cards, not 1.
  2. Front is a question, not a topic. "Negligence duty" bad. "What are the four elements of negligence?" good.
  3. Back is a rule, not a paragraph. If the answer needs a paragraph, split into multiple cards.
  4. Cite the source so you can re-check during drill.

Citation check. When cards are generated from my knowledge rather than a source you pasted, the rule and any case/statute cited on the back were generated by an AI model and have not been verified. Before you memorize a card, confirm it against your outline, casebook, or a research tool (Westlaw, CourtListener). A wrong card drilled to mastery is worse than no card.

Show full SKILL.md (372 more words)Show less
--drill — study session

Prioritization:

  1. Cards where next_review <= today AND bucket != mastered
  2. New cards not yet attempted
  3. If no cards due and no new cards: ask if user wants review of mastered cards (for decay prevention)

Drill flow per card:

  1. Show Q. Wait for answer.
  2. User answers (or types "skip" / "don't know")
  3. Show A.
  4. User self-assesses: right / partial / wrong / don't know
  5. Update bucket + next review per the table below:
Self-assessmentBucket changeNext review
rightup one (new → learning → review → mastered)+1d new, +3d learning, +7d review, +21d mastered
partialsame bucket+1d
wrongdown one (review → learning; learning → new; new stays new)today +4h
don't knowdown onetoday +4h
--review — browse deck

Show all cards in a subject. Grouped by bucket. Useful for scanning what's in the deck and manually adjusting card content.

--stats — progress snapshot

Per subject: total cards, bucket distribution, due today, reviewed this week. Highlight any cards that have bounced down to new more than twice — those are the stuck concepts worth drilling verbally via /law-student:socratic-drill.

Integration with other skills

  • outline-builder: after building or extending an outline, offer to generate flashcards from the new material
  • socratic-drill: if a card has been wrong 2+ times, route it to /law-student:socratic-drill for verbal working-through — flashcards aren't enough for concepts you don't actually understand
  • bar-prep-questions: bar prep subjects with poor flashcard stats weight higher in MBE drilling

Storage

flashcards/
└── [subject]/
    └── cards.md

One file per subject. Cards are markdown. Bucket/review metadata is inline per card. Not optimal for very large decks (>500) but fine for typical law school deck sizes.

What this skill does not do

  • Replace Anki. If you already have a flashcard habit, keep it. This is for when you're in chat and want to drill without switching apps.
  • Invent cards to hit a count target. If I can only generate 8 confident cards from your source, you get 8. Padding with [VERIFY]-heavy guesses is worse than a smaller deck.
  • Enforce study discipline. Missed review days compound; the skill just shows what's due. You decide whether to drill.
  • Teach you the rule. Cards are for drilling what you've already studied. If a card is consistently wrong, the problem is upstream — use /law-student:socratic-drill or re-read the source.

© anthropics, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in law-student/skills/flashcards of anthropics/claude-for-legal.

Open the folder on GitHubat commit 4a6c651

Used in 3 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in anthropics/claude-for-legal, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Flashcards next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Flashcards compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Flashcards this skillanthropics/claude-for-legal9.6k3 repos~2.1kAutomated safety check: PassApache-2.0
Deep Reading Analystginobefun/deep-reading-analyst-skill3535 repos~3.6kAutomated safety check: PassMIT
NihaishaJuneYaooo/nihaisha-nishi-tcm2.2k—~4kAutomated safety check: PassNone
Claude Certification Tutorrohitg00/ai-engineering-from-scratch65k—~3kAutomated safety check: PassMIT
StudyVault Quiz Tutorbevibing/tutor-skills1.3k—~1.4kAutomated safety check: PassMIT
Project Mastery Coachtudoumashu/ai-memory-skillpack411—~1.8kAutomated safety check: PassMIT

Similar skills

  • Deep Reading Analyst

    ginobefun/deep-reading-analyst-skill

    Comprehensive framework for deep analysis of articles, papers, and long-form content using 10+ thinking models (SCQA, 5W2H, critical thinking, inversion, mental models, first principles, systems…

    353 GitHub starsUsed in 5 repos~3.6k tokens
    EducationAuto-check passed
  • Nihaisha

    JuneYaooo/nihaisha-nishi-tcm

    A skill your agent uses when the user asks about Ni Haisha / 倪海厦 TCM course material, especially Shang Han Lun / 伤寒论, Jingui / 金匮要略, Zhongjing Xinfa / 仲景心法, clinical cases / 临床案例 / 倪师医案, Bagang…

    2.2k GitHub stars~4k tokensUpdated 21 days ago
    EducationAuto-check passed
  • Claude Certification Tutor

    rohitg00/ai-engineering-from-scratch

    Guides a learner through one of four independent Claude certification tracks with onboarding, lessons, practice labs, mock exams and remediation.

    65k GitHub stars~3k tokensUpdated today
    EducationAuto-check passed
  • StudyVault Quiz Tutor

    bevibing/tutor-skills

    Quizzes you on the notes in an Obsidian StudyVault, tracks proficiency per concept and drills weak areas in four-question rounds.

    1.3k GitHub stars~1.4k tokensUpdated 7 mo ago
    EducationAuto-check passed
  • Project Mastery Coach

    tudoumashu/ai-memory-skillpack

    Train strict project ownership from repo-local docs/ai memory and central LLM Wiki project entities.

    411 GitHub stars~1.8k tokensUpdated 29 days ago
    EducationAuto-check passed
  • Turns a named classical Chinese chapter, such as one from the Tao Te Ching or the Analects, into a single annotated PNG image with notes and commentary.

    7.5k GitHub stars~551 tokensUpdated yesterday
    EducationAuto-check passed

More from anthropics/claude-for-legal

All 147 skills in this repo
  • Legal Clinic Client Intake

    anthropics/claude-for-legal

    Official

    Structures a legal clinic client intake interview and produces a case summary with cross-area issue spotting, conflict flags and triage classification.

    9.6k GitHub starsUsed in 3 repos~3.2k tokens
    Auto-check passed
  • Supervisor Review Queue

    anthropics/claude-for-legal

    Official

    Holds student work in a queue for a legal clinic professor to approve, edit-then-approve or return before anything reaches clients or courts.

    9.6k GitHub starsUsed in 3 repos~1.1k tokens
    Auto-check passed
  • Tabular Document Review

    anthropics/claude-for-legal

    Official

    Builds a review grid with one row per document and one column per data point, each cell cited to a verbatim quote, built for M&A diligence and other batch reviews.

    9.6k GitHub starsUsed in 3 repos~4.3k tokens
    Auto-check passed
  • Product Launch Legal Review

    anthropics/claude-for-legal

    Official

    Runs a category-by-category legal review of a product launch from a PRD or tracker ticket, calibrated to your team's framework, and writes a review memo in house format.

    9.6k GitHub starsUsed in 2 repos~5k tokens
    Auto-check passed
  • Legal Skills Registry Browser

    anthropics/claude-for-legal

    Official

    Searches watched registries for community legal skills, shows matches with descriptions and offers the full SKILL.md before anything is installed.

    9.6k GitHub starsUsed in 2 repos~620 tokens
    Auto-check passed
  • Contract Renewal Tracker

    anthropics/claude-for-legal

    Official

    Shows which contracts renew soon and when notice must be sent by, working from a maintained renewal register, and warns about missed cancellation windows.

    9.6k GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed

Categories

Questions about Flashcards

What does Flashcards do?

Generate or drill flashcards for black-letter memorization — Leitner-style buckets, per-subject markdown storage, drill mode with self-assessment. Flashcards is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization. Generate or drill flashcards for black-letter memorization — Leitner-style buckets, per-subject markdown storage, drill mode with self-assessment.

When should I use Flashcards?

Flashcards fits situations like: the user says drill flashcards; make flashcards from; quiz me on cards; wants to memorize rules.

How do I install Flashcards in Claude Code?

Run `npx skills add anthropics/claude-for-legal --skill flashcards -a claude-code`. Or copy the skill folder (law-student/skills/flashcards in anthropics/claude-for-legal) into .claude/skills/flashcards in your project. Claude Code loads it when a task matches its description.

How do I install Flashcards in Codex?

Run `npx skills add anthropics/claude-for-legal --skill flashcards -a codex`. Or copy the skill folder (law-student/skills/flashcards in anthropics/claude-for-legal) into .agents/skills/flashcards in your project. Codex loads it when a task matches its description.

Can I use Flashcards in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anthropics/claude-for-legal --skill flashcards -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flashcards, .gemini/skills/flashcards, .github/skills/flashcards and .opencode/skills/flashcards in your project.

What does Flashcards need to run?

SKILL.md names no scripts, command-line tools or credentials: Flashcards is instructions for the agent only.

Does Flashcards access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Flashcards safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Flashcards use?

Flashcards is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Flashcards use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Flashcards?

Skills that share tags, products or a category with Flashcards: Deep Reading Analyst (ginobefun/deep-reading-analyst-skill, 353 stars), Nihaisha (JuneYaooo/nihaisha-nishi-tcm, 2.2k stars), Claude Certification Tutor (rohitg00/ai-engineering-from-scratch, 65k stars) and StudyVault Quiz Tutor (bevibing/tutor-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Flashcards?

anthropics (a GitHub organization, an official publisher) maintains it in anthropics/claude-for-legal, which has 9,611 GitHub stars. The repository holds 147 skills in this directory. The repository was last updated on September 29, 2026.

Source: anthropics/claude-for-legal on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.