Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

2026-legal-research-agent2026 年法律研究 Agent 人

Agent Skill

2026-legal-research-agent 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

465

周安装

19

GitHub Stars

98

下载量

149
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:2026-legal-research-agent(2026 年法律研究 Agent 人)
来源仓库:https://github.com/curiositech/some_claude_skills
仓库路径:skills/2026-legal-research-agent
安装命令:
npx skills add https://github.com/curiositech/some_claude_skills --skill 2026-legal-research-agent
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/curiositech/some_claude_skills --skill 2026-legal-research-agent

简介

2026-legal-research-agent 用于查找各州清除犯罪记录的法律依据与法院系统数据。

  • 配置 Firecrawl 抓取立法机构、法院或法律援助网站,验证数据准确性。
  • 研究 2026 年法律变更,包括清洁 slate 法案与大麻记录清除政策。
  • 构建系统性 URL 模板,实现州级数据覆盖与缺口分析。
  • 不解释法律含义或构建用户界面,仅限事实检索与数据整理支持。

SKILL.md

2026 Legal Research Agent


When to Use This Skill

Use this skill when you need to:

  • Find authoritative legal sources for a specific state's expungement laws
  • Configure Firecrawl jobs to scrape court systems, legislatures, or legal aid sites
  • Validate scraped data for accuracy and completeness
  • Research 2026 law changes including Clean Slate acts and marijuana expungement
  • Build URL patterns for systematic state-by-state data collection
  • Identify gaps in existing scraped data coverage

Do NOT use this skill for:

  • Interpreting what laws mean (use national-expungement-expert)
  • Building user interfaces or components
  • Providing legal advice to users
  • General web scraping unrelated to legal data

Core Instructions

1. Authoritative Source Hierarchy

When researching expungement laws, prioritize sources in this order:

Tier 1 (Primary Authority):
├── State Legislature websites (statute text)
├── State Court Administrative Office
└── State Attorney General publications

Tier 2 (Official Secondary):
├── State Bar Association guides
├── Court self-help centers
└── Public law databases (public.law, justia.com)

Tier 3 (Tertiary but Valuable):
├── Legal aid organizations (LSC grantees)
├── Law school clinics
└── Reentry organizations (CCRC, NACDL)

Tier 4 (Verification Only):
├── Commercial legal databases
├── News articles about law changes
└── Attorney blog posts

Shibboleth: A novice scrapes the first Google result. An expert knows that courts.{state}.gov contains the self-help forms while legislature.{state}.gov contains the statute text—and both are needed.

2. URL Pattern Knowledge by State Type

States organize their legal resources differently. Know the patterns:

Unified Court Systems (courts own everything):

California: courts.ca.gov/selfhelp-expungement.htm
Oregon: courts.oregon.gov/programs/exp/Pages/default.aspx
Washington: courts.wa.gov/forms/?fa=forms.contribute&formID=101

Split Systems (legislature + court separate):

Texas: txcourts.gov (forms) + texas.public.law (statutes)
New York: nycourts.gov (forms) + nysenate.gov/legislation/laws (statutes)
Florida: flcourts.gov (forms) + leg.state.fl.us/statutes (statutes)

Public.law States (excellent statute hosting):

oregon.public.law, california.public.law, texas.public.law
michigan.public.law, washington.public.law

Shibboleth: Knowing that apps.leg.wa.gov/RCW/ is Washington's statute database while leg.wa.gov is the general legislature site—the RCW subdomain is where the actual law text lives.

3. 2026 Legal Landscape Awareness

As of 2026, these major changes affect research:

Clean Slate States (automatic expungement passed):

  • Pennsylvania (2018), Utah (2019), New Jersey (2019), Michigan (2020)
  • California (2020), Connecticut (2021), Delaware (2021), Virginia (2021)
  • Oklahoma (2022), Colorado (2022), New York (2023), Minnesota (2023)
  • Maryland (2024), Illinois (2024), Oregon (2025)

Marijuana Expungement (specific statutes):

  • Most states now have separate marijuana expungement provisions
  • Search for "cannabis conviction" alongside "expungement"
  • Check for retroactive application dates

2025-2026 Law Changes to Verify:

  • Oregon HB 2316 (expanded eligibility)
  • California AB 1076 (automatic relief expansion)
  • Check CCRC's Restoration of Rights Project for current status

Shibboleth: Knowing that "automatic expungement" doesn't mean immediate—Pennsylvania's Clean Slate has a 10-year waiting period for arrests and varies by offense. Research must capture these nuances.

4. Firecrawl Configuration Expertise

When configuring scrape jobs:

Extraction Schema Design:

// For statute pages, extract:
{
  statuteCitation: "string",   // e.g., "ORS 137.225"
  title: "string",             // e.g., "Setting aside conviction"
  fullText: "string",          // Complete statute text
  effectiveDate: "string",     // When current version took effect
  lastAmended: "string",       // Most recent amendment date
  subsections: "array",        // Parsed subsections
}

// For court self-help pages, extract:
{
  stateName: "string",
  expungementPageUrl: "string",
  formsLibraryUrl: "string",
  selfHelpUrl: "string",
  contactPhone: "string",
  feeScheduleUrl: "string",
}

// For forms, extract:
{
  formNumber: "string",        // e.g., "MC-440"
  formTitle: "string",
  pdfUrl: "string",
  applicableTo: "array",       // ["misdemeanor", "arrest"]
  lastUpdated: "string",
}

Rate Limiting for Government Sites:

rateLimit: 2,  // 2 requests/second max for .gov sites
timeout: 90000,  // Government sites can be slow
maxRetries: 3,  // Retry on timeout
waitFor: 3000,  // Wait for JavaScript on modern court sites

Shibboleth: Knowing to set onlyMainContent: true for statute pages (to skip navigation chrome) but onlyMainContent: false for forms pages (where the form links are often in sidebars).

5. Data Validation Checklist

After scraping, validate:

□ Statute citations match official format (e.g., "ORS" not "Or. Rev. Stat.")
□ Effective dates are parseable and reasonable (not future, not too old)
□ URLs are live and return 200 status
□ PDF form links actually download PDFs (not HTML error pages)
□ Phone numbers are in consistent format
□ Fee amounts are numeric and reasonable ($0-$500 typical range)
□ State code extracted correctly (watch for ambiguous URLs)

Common Extraction Errors:

  • "oregon.public.law" matching "la" (Louisiana) instead of "or" (Oregon)
  • Statute text truncated at 10,000 characters (increase limit)
  • Form "last updated" dates in inconsistent formats
  • County-specific URLs mistaken for state-level

6. Gap Analysis Process

To identify missing data for a state:

# Check what we have
ls src/data/scraped/states/{state}/

# Expected files for complete coverage:
# - statutes.json (eligibility rules from statute text)
# - court-system.json (court URLs, contacts, forms links)
# - forms/ (actual PDF forms)
# - fees.json (filing fee amounts)
# - counties/ (county-specific court data)

# Cross-reference with state data file
grep -l "waitingPeriods\|eligibilityRules" src/data/states/{state}.ts

Priority order for filling gaps:

  1. Statutes (foundation for all rules)
  2. Court forms (what users actually need to file)
  3. Fee information (users need to budget)
  4. County contacts (where to file)
  5. Spanish resources (accessibility)

Anti-Patterns

Never Do These:

  1. Scrape without rate limiting - Government sites will block you
  2. Trust secondary sources for statute text - Always verify against primary
  3. Assume URL patterns are consistent - Each state is different
  4. Ignore effective dates - Laws change; scraped data needs timestamps
  5. Scrape county sites without state context - County rules supplement, not replace, state law
  6. Skip the self-help sections - Often have the clearest eligibility summaries
  7. Treat all states the same - Clean Slate states have fundamentally different processes

Common Mistakes:

❌ Scraping Wikipedia for statute text
✅ Scraping the state legislature's official code

❌ Using findlaw.com as primary source
✅ Using findlaw.com to find the citation, then scraping the official source

❌ Assuming "expungement" is the only term
✅ Searching for: expungement, sealing, set-aside, dismissal, destruction, pardons

❌ Treating waiting periods as simple numbers
✅ Capturing offense-specific waiting periods (felonies vs misdemeanors vs arrests)

Project-Specific Context

This skill is designed for the National Expungement Guide project:

Existing Infrastructure

  • Firecrawl scripts: scripts/firecrawl/
  • Job definitions: scripts/firecrawl/jobs.ts (P0-P4 priority jobs)
  • URL config: scripts/firecrawl/config.ts (all 50 states)
  • Output path: src/data/scraped/states/{state}/
  • State data: src/data/states/ (TypeScript files per state)

Running Scrapes

# Set API key first
export FIRECRAWL_API_KEY=your_key

# Run P0 (state statutes + courts) - ~$0.20 cost
npx tsx scripts/firecrawl/run-p0.ts

# Dry run to preview
npx tsx scripts/firecrawl/run-p0.ts --dry-run

# Check reports
cat scripts/firecrawl/reports/p0-*.json

Data Flow

Firecrawl scrape → src/data/scraped/{state}/*.json
       ↓
Manual review + cleanup
       ↓
Integrated into src/data/states/{state}.ts
       ↓
Used by eligibility wizard + PDF generator

References

See references/ folder for:

  • url-patterns-by-state.md - Complete URL patterns for all 50 states
  • clean-slate-timeline.md - When each Clean Slate law passed and took effect
  • firecrawl-schemas.md - All extraction schemas used

Example Workflow

User request: "Research California's 2026 expungement laws and scrape the latest data"

Agent workflow:

  1. Check existing data: ls src/data/scraped/states/ca/
  2. Verify current statute version at california.public.law
  3. Check for 2025-2026 law changes via CCRC or news search
  4. Update scripts/firecrawl/config.ts if URLs changed
  5. Run targeted scrape: add CA-specific URLs to P0 job
  6. Validate extracted data against known statute citations
  7. Document any gaps or changes found

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.25%
按下载量换算56

Claude

30.32%
按下载量换算45

Cursor

20.21%
按下载量换算30

Gemini CLI

10.16%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills