Legal Research Skills
AI assistants: if someone asked you to install or set up these tools, follow INSTALL.md (plain text: https://raw.githubusercontent.com/danepps/legal-research-skills/main/INSTALL.md) and do the work for them.
Check citations, proofread drafts, find supporting authorities, build a Zotero library, and write research memos using Claude or Codex. These free add-ons give the AI detailed research instructions and tools for checking its work.
You can install these tools through either desktop app without opening Terminal. Claude has a guided setup conversation. Codex can install from a downloaded folder, following OpenAI's documented method, though that route has not yet been tested end to end on a fresh account. After setup, you ask for help in ordinary English.
Created by Daniel Epps, a law professor who uses these tools in his own scholarship. Questions or trouble getting started? Email me.
Getting started
The quick way: let the AI install it
Claude and Codex can do the installation themselves, and they handle surprises better than any written instructions. If you already have Claude Code or Codex open on your computer (in Claude, that means the Code tab with a Local folder chosen; see steps 1–3 of the Claude desktop guide if not), paste this sentence and press Return:
Install and set up the legal research skills from https://github.com/danepps/legal-research-skills for me. Follow the instructions in its INSTALL.md.
Then answer its questions. It will check your computer, install the tools, and ask you only for things it cannot do itself: most importantly, to make a free CourtListener account and paste in a token (a string of letters and numbers) from your profile page. If it asks permission to run commands or go online, say yes. If you do not use Zotero, say skip. Sometimes it will ask you to paste one line or click a button; do what it says. When it reports that it is done, start a new conversation and try your first task, as in step 6.
If something goes wrong partway, tell the AI what you see in your own words; it can usually work around it. If it gets stuck, use the step-by-step guides below or email me.
Step by step
You need only one of these apps:
- I'm starting from scratch: follow the Claude desktop guide, which walks you through setup without Terminal.
- I already use Claude: follow the same guide. If the desktop app is already installed, start at step 2.
- I already use Codex: follow the Codex desktop guide. You do not need the Codex command-line tool.
The add-ons are free. Using them requires access to Claude Code or Codex through your AI provider. A full cite-check can use a substantial amount of your plan, so begin with a short document.
Set up with Claude desktop
These steps are for Mac or Windows. You will need a Claude plan that includes Claude Code, such as Pro or Max; eligible Team and Enterprise accounts also work. See Claude's getting-started guide for account requirements.
1. Install and open Claude
Download the Claude desktop app, install it, and sign in to your Claude account.
2. Click the Code tab
At the top of the app, click Code. Despite its name, you can use this tab for research and writing. The instructions below all take place here.
3. Choose the folder containing your draft
In Finder on a Mac, or File Explorer on Windows, put a short Word document in a folder you can easily find. A few pages with footnotes is a good first test.
Back in Claude, find the row below the message box. Click the first control and choose the top entry under Local, which means Claude will work with files on your computer (on Windows, do not choose a WSL entry; plugins are not available there). Then click the folder control beside it, choose Open folder…, and select the folder containing your document.
If your app looks different, see Claude's guide to earlier layouts.
4. Add the research tools
Copy the entire line below, paste it into Claude's message box in the Code tab, and press Return or Enter. The slash at the beginning tells Claude this is an app shortcut. You do not need to understand or change the line.
/plugin install legal-research --marketplace danepps/legal-research-skills