Agent skill

Legal Research Guide

by wentorai in wentorai/research-plugins

Legal research methods, case law analysis, and compliance tools

MITAuto-check passedLegal & Compliance

Install Legal Research Guide

skills CLI
$ npx skills add wentorai/research-plugins --skill legal-research-guide -a claude-code

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

GitHub CLI
$ gh skill install wentorai/research-plugins legal-research-guide --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/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/law/legal-research-guide .claude/skills/legal-research-guide && 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
legal-research-guide
GitHub stars
298
Used in
1 other repo
Token cost
~2.4k tokens
SKILL.md length
540 words
Files
1
Skills in repo
405
Repo updated
First seen
Licence
MIT

At a glance

Legal research methods, case law analysis, and compliance tools

  • Works in 8 steps: Frame the legal question using IRAC or… → Search secondary sources first… → Identify governing law (federal vs.… → …
  • Tasks that involve Legal research
  • SKILL.md covers Legal Research Frameworks, Legal Research Databases, Citation Systems and Computational Legal Research, plus 3 more sections
  • Reaches courtlistener.com

What it does

Legal Research Guide is an agent skill from wentorai/research-plugins. Legal research methods, case law analysis, and compliance tools

Its SKILL.md is about 2.4k 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 Legal & Compliance, covering Legal research. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Legal research

Example prompts

  • “/legal-research-guide”

Requirements

  • Python 3
  • A credential in YOUR_API_TOKEN

Workflow steps

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

  1. Frame the legal question using IRAC or CREAC structure
  2. Search secondary sources first (treatises, law reviews) for background
  3. Identify governing law (federal vs. state, statutory vs. common law)
  4. Find controlling authority (binding precedent in your jurisdiction)
  5. Shepardize / KeyCite every case to ensure it is still good law
  6. Analyze and synthesize cases by extracting rules, holdings, and reasoning
  7. Consider policy arguments drawing on law and economics, empirical legal studies, or comparative law perspectives
  8. Update regularly as law changes frequently (set up alerts on Westlaw/Lexis)

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. 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 python).

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • courtlistener.com

    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

Legal Research Guide loads about 2.4k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 540 words of instructions outside code blocks.

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

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 wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 540 words, ~2,404 tokens.

Download SKILL.mdSave it as .claude/skills/legal-research-guide/SKILL.md (or your agent's skills folder).
name
legal-research-guide
description
Legal research methods, case law analysis, and compliance tools

Conduct systematic legal research across jurisdictions, analyze case law, navigate statutory frameworks, and use computational legal tools for academic and practice-oriented research.

IRAC Method

The standard analytical framework for legal reasoning:

StepDescriptionExample
IssueIdentify the legal question"Does web scraping of public data constitute a CFAA violation?"
RuleState the applicable legal rule"The CFAA prohibits accessing a computer 'without authorization' or 'exceeding authorized access'"
ApplicationApply the rule to the facts"In hiQ v. LinkedIn, the 9th Circuit held that scraping publicly available data does not violate the CFAA..."
ConclusionState the legal conclusion"Therefore, scraping publicly available academic data likely does not violate the CFAA, though terms-of-service issues remain."
C - Conclusion (state your thesis)
R - Rule (present the legal rule with authority)
E - Explanation (analyze how courts have interpreted the rule)
A - Application (apply the rule to your specific scenario)
C - Conclusion (restate and refine conclusion)
Primary Sources
DatabaseCoverageCostBest For
Westlaw (Thomson Reuters)US, UK, EU, internationalSubscriptionComprehensive case law, KeyCite citator
LexisNexisUS, UK, internationalSubscriptionNews integration, Shepard's citator
Google Scholar (Case Law)US federal and state courtsFreeQuick case lookup, citation tracking
Casetext / CoCounselUS courtsSubscriptionAI-powered legal research
CourtListenerUS federal courtsFreePACER alternative, bulk data
EUR-LexEU lawFreeEU legislation, CJEU case law
BAILIIUK, IrelandFreeUK case law and legislation
JustiaUS lawFreeUS case law, statutes, regulations
HeinOnlineHistorical legal materialsSubscriptionLaw journals, treaties, legislative history
Secondary Sources
SourceContentUse
Law reviews / journalsScholarly analysisAcademic research, policy arguments
RestatementsALI compilations of common lawAuthoritative secondary source
TreatisesComprehensive subject coverageDeep dive into specific areas
Legal encyclopedias (AmJur, CJS)Broad legal summariesStarting point for unfamiliar areas
Practice guidesPractical how-toPractitioner-oriented research

Citation Systems

Bluebook (US Standard)
# Case citation
Marbury v. Madison, 5 U.S. (1 Cranch) 137 (1803).
Brown v. Board of Education, 347 U.S. 483, 495 (1954).

# Statute citation
42 U.S.C. Section 1983 (2018).
Cal. Civ. Code Section 1798.100 (West 2020).  # California statute

# Law review article
Jane Smith, The Future of AI Regulation, 120 Harv. L. Rev. 456 (2024).

# Book
Richard Posner, Economic Analysis of Law 25 (9th ed. 2014).

# Short form citations (after first full citation)
Brown, 347 U.S. at 495.
Smith, supra note 12, at 460.
Id. at 462.  # Same source as immediately preceding citation
OSCOLA (UK/Oxford Standard)
# Case citation
Donoghue v Stevenson [1932] AC 562 (HL).
R v Brown [1994] 1 AC 212, 237 (HL).

# Statute citation
Human Rights Act 1998, s 3.
Data Protection Act 2018, s 170(1).

# Journal article
Jane Smith, 'The Future of AI Regulation' (2024) 120 Modern Law Review 456.

# Book
Richard Posner, Economic Analysis of Law (9th edn, Aspen 2014) 25.
Case Law Analysis with Python
python
import requests
import json

# Using the CourtListener API (free, open-source)
BASE_URL = "https://www.courtlistener.com/api/rest/v3"

def search_opinions(query, court="scotus", page_size=20):
    """Search case opinions via CourtListener API."""
    response = requests.get(
        f"{BASE_URL}/search/",
        params={
            "q": query,
            "type": "o",  # opinions
            "court": court,
            "page_size": page_size,
            "order_by": "score desc"
        },
        headers={"Authorization": "Token YOUR_API_TOKEN"}
    )
    results = response.json()
    for case in results.get("results", []):
        print(f"[{case.get('dateFiled', 'N/A')}] {case.get('caseName', 'N/A')}")
        print(f"  Court: {case.get('court', 'N/A')}")
        print(f"  Citation: {case.get('citation', ['N/A'])[0] if case.get('citation') else 'N/A'}")
        print(f"  URL: https://www.courtlistener.com{case.get('absolute_url', '')}")
    return results

# Search for AI-related Supreme Court cases
results = search_opinions("artificial intelligence", court="scotus")
Citation Network Analysis
python
import networkx as nx

def build_citation_network(seed_case_ids, depth=2):
    """Build a citation network starting from seed cases."""
    G = nx.DiGraph()
    visited = set()
    queue = [(cid, 0) for cid in seed_case_ids]

    while queue:
        case_id, level = queue.pop(0)
        if case_id in visited or level > depth:
            continue
        visited.add(case_id)

        # Get case metadata and citations
        resp = requests.get(f"{BASE_URL}/opinions/{case_id}/",
                           headers={"Authorization": "Token YOUR_API_TOKEN"})
        if resp.status_code != 200:
            continue

        case = resp.json()
        case_name = case.get("case_name", f"Case {case_id}")
        G.add_node(case_id, name=case_name, date=case.get("date_filed"))

        # Get citing opinions (who cites this case)
        for cited_id in case.get("opinions_cited", []):
            G.add_edge(case_id, cited_id)
            if level < depth:
                queue.append((cited_id, level + 1))

    return G

# Analyze: which cases are most cited (highest in-degree)?
# These are the most authoritative precedents
Statutory Text Analysis
python
# Analyzing legislative text complexity
import re
from textstat import textstat

def analyze_statute(text):
    """Compute readability metrics for statutory text."""
    return {
        "flesch_reading_ease": textstat.flesch_reading_ease(text),
        "flesch_kincaid_grade": textstat.flesch_kincaid_grade(text),
        "gunning_fog": textstat.gunning_fog(text),
        "word_count": textstat.lexicon_count(text),
        "sentence_count": textstat.sentence_count(text),
        "avg_sentence_length": textstat.avg_sentence_length(text),
        "defined_terms": len(re.findall(r'"[A-Z][^"]*"', text)),
        "cross_references": len(re.findall(r'[Ss]ection \d+', text))
    }

# Example: Analyze a section of the GDPR
gdpr_article_5 = """
Personal data shall be processed lawfully, fairly and in a transparent
manner in relation to the data subject; collected for specified, explicit
and legitimate purposes and not further processed in a manner that is
incompatible with those purposes; adequate, relevant and limited to what
is necessary in relation to the purposes for which they are processed.
"""
print(analyze_statute(gdpr_article_5))
Show full SKILL.md (242 more words)Show less

Research Areas in Law

AreaKey TopicsInterdisciplinary Connections
AI & LawAlgorithmic fairness, liability for autonomous systems, AI regulationCS, philosophy
IP LawPatent, copyright, trade secret, open source licensingEngineering, business
Privacy LawGDPR, CCPA, surveillance, data protectionCS, political science
Law & EconomicsEfficiency analysis of legal rules, behavioral law & economicsEconomics
Comparative LawCross-jurisdictional analysis, legal transplantsPolitical science
International LawTreaties, humanitarian law, trade lawInternational relations
Environmental LawClimate litigation, ESG regulation, environmental justiceEnvironmental science
Health LawClinical trial regulation, health data, bioethicsMedicine, public health

Practical Research Workflow

  1. Frame the legal question using IRAC or CREAC structure
  2. Search secondary sources first (treatises, law reviews) for background
  3. Identify governing law (federal vs. state, statutory vs. common law)
  4. Find controlling authority (binding precedent in your jurisdiction)
  5. Shepardize / KeyCite every case to ensure it is still good law
  6. Analyze and synthesize cases by extracting rules, holdings, and reasoning
  7. Consider policy arguments drawing on law and economics, empirical legal studies, or comparative law perspectives
  8. Update regularly as law changes frequently (set up alerts on Westlaw/Lexis)

Top Academic Venues

JournalRankFocus
Harvard Law ReviewT1General
Yale Law JournalT1General
Stanford Law ReviewT1General, tech law
Columbia Law ReviewT1General
Journal of Legal StudiesT1Law & economics
Journal of Empirical Legal StudiesT1Empirical methods
Computer Law & Security ReviewFieldTechnology law
Berkeley Technology Law JournalFieldTech, IP

© wentorai, MIT. 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 skills/domains/law/legal-research-guide of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Legal Research Guide 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.

Legal Research Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal Research Guide this skillwentorai/research-plugins2981 repos~2.4kAutomated safety check: PassMIT
Tw Legal RAGaa0101181514/tw-legal-rag328—~580Automated safety check: PassCustom licence
Design Award SearchSeanJ1ang/design-judge-skills712—~3kAutomated safety check: PassApache-2.0
China Lawyer AnalystCSlawyer1985/china-lawyer-analyst196—~3.3kAutomated safety check: PassNone
Billing And Litigation BudgetTHUYRan/Legal-Skills-Chinese874—~5kAutomated safety check: PassNone
Legal Issue ResearchGolden2002/legal-research-skill156—~6.8kAutomated safety check: PassMIT

Similar skills

  • Tw Legal RAG

    aa0101181514/tw-legal-rag

    Retrieve real Taiwan court judgments with verifiable citations before answering any question about Taiwan law or case law.

    328 GitHub stars~580 tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Design Award Search

    SeanJ1ang/design-judge-skills

    Find and verify award-winning designs in the same or adjacent functional category through eight explicit relevance dimensions: problem and user, core function, sensing technology, intervention…

    712 GitHub stars~3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • China Lawyer Analyst

    CSlawyer1985/china-lawyer-analyst

    通过中国法律视角分析事件,运用成文法解释、指导案例参照、请求权基础分析等方法, 理解权利义务、评估责任风险、识别法律依据并推荐合规策略。

    196 GitHub stars~3.3k tokensUpdated 8 mo ago
    Legal & ComplianceAuto-check passed
  • Billing And Litigation Budget

    THUYRan/Legal-Skills-Chinese

    A skill your agent uses when the user needs to track or manage attorney hours, expert fees, and investigation costs; control litigation spend; or prepare timesheets or expense statements for clients.

    874 GitHub stars~5k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Legal Issue Research

    Golden2002/legal-research-skill

    中国法律全领域系统性检索专家. An agent skill from Golden2002/legal-research-skill.

    156 GitHub stars~6.8k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Tax Law Research

    Serein-81/financial_rag

    Searches current Chinese tax laws, rates and policy changes with Tavily web search, prioritizing government sources and flagging outdated or conflicting results.

    148 GitHub stars~997 tokensUpdated 4 mo ago
    Legal & ComplianceAuto-check: notes

More from wentorai/research-plugins

All 405 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Questions about Legal Research Guide

What does Legal Research Guide do?

Legal research methods, case law analysis, and compliance tools. Legal Research Guide is an agent skill from wentorai/research-plugins.

When should I use Legal Research Guide?

Legal Research Guide fits situations like: tasks that involve Legal research.

How do I install Legal Research Guide in Claude Code?

Run `npx skills add wentorai/research-plugins --skill legal-research-guide -a claude-code`. Or copy the skill folder (skills/domains/law/legal-research-guide in wentorai/research-plugins) into .claude/skills/legal-research-guide in your project. Claude Code loads it when a task matches its description.

How do I install Legal Research Guide in Codex?

Run `npx skills add wentorai/research-plugins --skill legal-research-guide -a codex`. Or copy the skill folder (skills/domains/law/legal-research-guide in wentorai/research-plugins) into .agents/skills/legal-research-guide in your project. Codex loads it when a task matches its description.

Can I use Legal Research Guide 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 wentorai/research-plugins --skill legal-research-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/legal-research-guide, .gemini/skills/legal-research-guide, .github/skills/legal-research-guide and .opencode/skills/legal-research-guide in your project.

What does Legal Research Guide need to run?

SKILL.md names no scripts, command-line tools or credentials: Legal Research Guide is instructions for the agent only. Our summary lists: Python 3; A credential in YOUR_API_TOKEN.

Does Legal Research Guide access the network?

SKILL.md names 1 domain. In commands or code: courtlistener.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Legal Research Guide 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 Legal Research Guide use?

Legal Research Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Legal Research Guide use?

About 2.4k tokens (SKILL.md is roughly 9.6k 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 Legal Research Guide?

Skills that share tags, products or a category with Legal Research Guide: Tw Legal RAG (aa0101181514/tw-legal-rag, 328 stars), Design Award Search (SeanJ1ang/design-judge-skills, 712 stars), China Lawyer Analyst (CSlawyer1985/china-lawyer-analyst, 196 stars) and Billing And Litigation Budget (THUYRan/Legal-Skills-Chinese, 874 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal Research Guide?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.

Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.