Skip to content

Guide · Agent skill

How to use the Law Flashcards Drill agent skill (flashcards)

Updated · written with AI from the project's own documentation and checked against our catalogue data

The flashcards skill is an agent skill for law students. Once it is installed, your AI agent can turn your outline, notes, or casebook excerpts into short question-and-answer cards, then quiz you on them one at a time. This guide explains what the skill does, how to install it, how to trigger it with plain requests, and where it fits and where it does not. It is written for readers who have never used an agent skill before.

Law Flashcards Drillanthropics/claude-for-legal · Apache-2.0

Quick start

  1. 1Download and unzip. Download the ZIP from this page and unzip it so SKILL.md sits in a flashcards folder.
  2. 2Place the skill. Move the folder into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. Alternatively, upload the ZIP under Settings → Capabilities → Skills in the Claude apps.
  3. 3Set up your subject context. Make sure your law-student CLAUDE.md lists your current classes and where your outlines live.
  4. 4Generate cards. Ask the agent to make flashcards from a named outline or notes, or use --generate with a subject.
  5. 5Drill. Ask to quiz you on cards. Answer each question, then rate yourself as right, partial, wrong, or don't know.
  6. 6Check stuck cards. Run stats to see which cards keep falling back to new, and verify any [VERIFY] cards against a source.

What is an agent skill, and what does this one make the agent do?

An agent skill is a folder containing a SKILL.md file that tells an agent like Claude Code how to perform a specific task. This skill, named flashcards, is built for black-letter memorization: learning rules such as the elements of a claim or the four elements of negligence for exams or the bar.

The skill can generate cards from your material, drill you on them, and track progress. Each card has one concept, a question on the front and a short rule on the back. After you answer, you rate yourself, and the skill moves the card between simple buckets (new, learning, review, mastered) so hard cards come back sooner.

  • Generate cards from your outline, notes, or casebook excerpts, saved per subject.
  • Drill mode: show a question, wait for your answer, show the answer, then take your self-assessment (right, partial, wrong, or don't know).
  • Review mode: browse the deck grouped by bucket.
  • Stats mode: progress per subject and a list of stuck cards.
  • Session mode: a focused run of N cards, prioritizing cards you missed before and cards that are due.

Install the flashcards skill

Download the ZIP for this skill from this page and unzip it. The skill is a single file, SKILL.md. Put the unzipped folder in one of these locations:

  • Personal skills for Claude Code: ~/.claude/skills/
  • Project-only skills: the .claude/skills/ folder inside your project
  • Claude apps: upload the ZIP in Settings → Capabilities → Skills

Trigger the skill with natural requests

You do not need to type a command. Phrases such as "drill flashcards", "make flashcards from", "quiz me on cards", or a request to memorize a rule will match the skill. You can also use flags, which the skill accepts in this form: /flashcards [subject] [--generate | --drill | --review | --stats | --session <n>]. If you give no flag, the skill defaults to drill mode.

  • "Make flashcards from my Contracts outline."
  • "Quiz me on cards for Torts."
  • "Drill flashcards on Criminal Law for 5 cards."
  • "Show my flashcard stats."
/flashcards Contracts --generate

What the skill needs and where it saves data

The skill needs an agent that can read and write files in your home directory, such as Claude Code. It reads a settings file at ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md for your current classes, weak subjects, and outline locations. It writes cards to a per-subject file under ~/.claude/plugins/config/claude-for-legal/law-student/flashcards/, and session results to study-plan.yaml or session-history.yaml in the same folder.

Westlaw or CourtListener access is optional. It can help you verify cited cases, but the skill does not require it.

  • Reads: your law-student CLAUDE.md, existing cards.md for the subject, and any outline or notes you point it to.
  • Writes: flashcards/[subject]/cards.md, plus study-plan.yaml or session-history.yaml.

Safety notes: scripts and network

This skill runs no scripts and uses no network access, according to its listing. Its work is reading your files and writing markdown and YAML files in the law-student folder.

The skill is for study only. If your question concerns a real situation such as a lease, a ticket, a dispute, or a real deadline, it will stop and redirect you to an actual lawyer, legal aid, a law school clinic, or a lawyer referral service.

Tips for getting good cards

Cards made from your own outline or casebook are the most reliable, because the skill takes their questions and answers from that source. Cards written from the model's own knowledge are flagged with [VERIFY], and you should check them before you treat them as learning targets. The skill also generates fewer cards rather than inventing ones it is unsure of, so a small deck is normal.

If you miss a card twice, the skill suggests a verbal drill with /law-student:socratic-drill. Flashcards help with recall, but a concept you do not understand needs working through.

  • Build the deck subject by subject, in small batches, from your own outline.
  • Check every [VERIFY] card against your outline, casebook, or a research tool before memorizing it.
  • Use --stats weekly to find stuck cards.
  • Use the skill alongside, not instead of, your reading of the material.

Limits: what this skill is not

This is not a full spaced repetition system. It uses simple Leitner-style buckets. If you already use Anki, keep using it. This skill is for when you are in chat and want a quick drill without switching apps. It is not designed for very large decks over 500 cards, though it works for typical law school deck sizes.

What people use it for

  • Memorizing the elements of a claim in Torts or Contracts before a midterm.
  • Building a per-subject deck incrementally from each week's outline.
  • Drilling black-letter rules for bar exam preparation.
  • Running a 5-card focused session before class using --session.
  • Spotting concepts you keep missing with --stats, then working them through verbally.

Frequently asked questions

How do I install the flashcards agent skill?

Download the ZIP from this page and unzip it. Place the folder in ~/.claude/skills/ for personal use or in a project's .claude/skills/ folder. In the Claude apps, you can instead upload the ZIP under Settings → Capabilities → Skills.

Is the flashcards skill free?

This page does not state pricing or licence terms beyond the Apache-2.0 licence listed for the repository. Check the repository's licence file for the terms that apply to you.

What do I need to run it?

You need Claude Code or a similar agent that can read and write files in your home directory. The skill writes its data to the law-student folder under ~/.claude/plugins/config/claude-for-legal/. Westlaw or CourtListener is optional and not required.

Are the cards accurate?

Cards made from your own outline or casebook take their Q and A from that source. Cards generated from the model's knowledge are flagged [VERIFY] and must be checked against a source before you memorize them, because they may be wrong.

Can I use this instead of Anki?

Yes, for quick drills in chat. The skill uses simple Leitner-style buckets rather than a full spaced repetition system, so if you already rely on Anki, the skill's own description says to keep using Anki.

Can I ask it about my landlord, a ticket, or another real problem?

No. The skill is for study. If your question concerns a real situation, it will stop and redirect you to an actual lawyer, legal aid, a law school clinic, or a lawyer referral service.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits law students who want a quick, chat-based drill on black-letter rules, especially when building a deck from their own outline. It is not a full spaced repetition system, and it is not suitable for real legal problems. If you need a large Anki-style deck or verified case law, use a dedicated flashcard app and a research tool.

Download the skill

Find exactly what
you're looking for