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.
Legal research methods, case law analysis, and compliance tools
$ npx skills add wentorai/research-plugins --skill legal-research-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wentorai/research-plugins legal-research-guide --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "legal-research-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/law/legal-research-guide into .claude/skills/legal-research-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-research-guide", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wentorai/research-plugins/tree/main/skills/domains/law/legal-research-guideType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wentorai/research-plugins --skill legal-research-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wentorai/research-plugins legal-research-guide --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/domains/law/legal-research-guide .agents/skills/legal-research-guide && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "legal-research-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/law/legal-research-guide into .agents/skills/legal-research-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-research-guide", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill legal-research-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wentorai/research-plugins legal-research-guide --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/domains/law/legal-research-guide .cursor/skills/legal-research-guide && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "legal-research-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/law/legal-research-guide into .cursor/skills/legal-research-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-research-guide", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wentorai/research-plugins.git --path skills/domains/law/legal-research-guide--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wentorai/research-plugins --skill legal-research-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wentorai/research-plugins legal-research-guide --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/domains/law/legal-research-guide .gemini/skills/legal-research-guide && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "legal-research-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/law/legal-research-guide into .gemini/skills/legal-research-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-research-guide", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wentorai/research-plugins legal-research-guideInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wentorai/research-plugins --skill legal-research-guide -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/domains/law/legal-research-guide .github/skills/legal-research-guide && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "legal-research-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/law/legal-research-guide into .github/skills/legal-research-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-research-guide", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill legal-research-guide -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wentorai/research-plugins legal-research-guide --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/domains/law/legal-research-guide .opencode/skills/legal-research-guide && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "legal-research-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/law/legal-research-guide into .opencode/skills/legal-research-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "legal-research-guide", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
legal-research-guideLegal research methods, case law analysis, and compliance tools
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.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.
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.
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.
Hosts in commands or code, which the agent is likely to contact:
courtlistener.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
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.
The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 540 words, ~2,404 tokens.
.claude/skills/legal-research-guide/SKILL.md (or your agent's skills folder).Conduct systematic legal research across jurisdictions, analyze case law, navigate statutory frameworks, and use computational legal tools for academic and practice-oriented research.
The standard analytical framework for legal reasoning:
| Step | Description | Example |
|---|---|---|
| Issue | Identify the legal question | "Does web scraping of public data constitute a CFAA violation?" |
| Rule | State the applicable legal rule | "The CFAA prohibits accessing a computer 'without authorization' or 'exceeding authorized access'" |
| Application | Apply the rule to the facts | "In hiQ v. LinkedIn, the 9th Circuit held that scraping publicly available data does not violate the CFAA..." |
| Conclusion | State 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)| Database | Coverage | Cost | Best For |
|---|---|---|---|
| Westlaw (Thomson Reuters) | US, UK, EU, international | Subscription | Comprehensive case law, KeyCite citator |
| LexisNexis | US, UK, international | Subscription | News integration, Shepard's citator |
| Google Scholar (Case Law) | US federal and state courts | Free | Quick case lookup, citation tracking |
| Casetext / CoCounsel | US courts | Subscription | AI-powered legal research |
| CourtListener | US federal courts | Free | PACER alternative, bulk data |
| EUR-Lex | EU law | Free | EU legislation, CJEU case law |
| BAILII | UK, Ireland | Free | UK case law and legislation |
| Justia | US law | Free | US case law, statutes, regulations |
| HeinOnline | Historical legal materials | Subscription | Law journals, treaties, legislative history |
| Source | Content | Use |
|---|---|---|
| Law reviews / journals | Scholarly analysis | Academic research, policy arguments |
| Restatements | ALI compilations of common law | Authoritative secondary source |
| Treatises | Comprehensive subject coverage | Deep dive into specific areas |
| Legal encyclopedias (AmJur, CJS) | Broad legal summaries | Starting point for unfamiliar areas |
| Practice guides | Practical how-to | Practitioner-oriented research |
# 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# 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.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")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# 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))| Area | Key Topics | Interdisciplinary Connections |
|---|---|---|
| AI & Law | Algorithmic fairness, liability for autonomous systems, AI regulation | CS, philosophy |
| IP Law | Patent, copyright, trade secret, open source licensing | Engineering, business |
| Privacy Law | GDPR, CCPA, surveillance, data protection | CS, political science |
| Law & Economics | Efficiency analysis of legal rules, behavioral law & economics | Economics |
| Comparative Law | Cross-jurisdictional analysis, legal transplants | Political science |
| International Law | Treaties, humanitarian law, trade law | International relations |
| Environmental Law | Climate litigation, ESG regulation, environmental justice | Environmental science |
| Health Law | Clinical trial regulation, health data, bioethics | Medicine, public health |
| Journal | Rank | Focus |
|---|---|---|
| Harvard Law Review | T1 | General |
| Yale Law Journal | T1 | General |
| Stanford Law Review | T1 | General, tech law |
| Columbia Law Review | T1 | General |
| Journal of Legal Studies | T1 | Law & economics |
| Journal of Empirical Legal Studies | T1 | Empirical methods |
| Computer Law & Security Review | Field | Technology law |
| Berkeley Technology Law Journal | Field | Tech, 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
Just SKILL.md in skills/domains/law/legal-research-guide of wentorai/research-plugins.
Open the folder on GitHubat commit bf44b3c
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.
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Legal Research Guide this skillwentorai/research-plugins | 298 | 1 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Tw Legal RAGaa0101181514/tw-legal-rag | 328 | — | ~580 | Automated safety check: Pass | Custom licence | |
| Design Award SearchSeanJ1ang/design-judge-skills | 712 | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| China Lawyer AnalystCSlawyer1985/china-lawyer-analyst | 196 | — | ~3.3k | Automated safety check: Pass | None | |
| Billing And Litigation BudgetTHUYRan/Legal-Skills-Chinese | 874 | — | ~5k | Automated safety check: Pass | None | |
| Legal Issue ResearchGolden2002/legal-research-skill | 156 | — | ~6.8k | Automated safety check: Pass | MIT |
aa0101181514/tw-legal-rag
Retrieve real Taiwan court judgments with verifiable citations before answering any question about Taiwan law or case law.
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…
CSlawyer1985/china-lawyer-analyst
通过中国法律视角分析事件,运用成文法解释、指导案例参照、请求权基础分析等方法, 理解权利义务、评估责任风险、识别法律依据并推荐合规策略。
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.
Golden2002/legal-research-skill
中国法律全领域系统性检索专家. An agent skill from Golden2002/legal-research-skill.
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.
wentorai/research-plugins
Craft structured research abstracts that maximize clarity and journal acceptance
wentorai/research-plugins
Manage academic citations across BibTeX, APA, MLA, and Chicago formats
wentorai/research-plugins
Summarize academic papers with structured extraction of key elements
wentorai/research-plugins
Evidence-based study techniques for academic learning and retention
wentorai/research-plugins
Adjust writing tone and register for academic audiences and venues
wentorai/research-plugins
Academic translation, post-editing, and Chinglish correction guide
Categories
Legal research methods, case law analysis, and compliance tools. Legal Research Guide is an agent skill from wentorai/research-plugins.
Legal Research Guide fits situations like: tasks that involve Legal research.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.