ai-legal-research

Query UK legal databases and generate cited answers with disclaimers.

1|Updated Oct 8, 2025
One-click install
npx skills add https://github.com/fattits30-dev/Justice-Companion --skill ai-legal-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-legal-research
Source: https://github.com/fattits30-dev/Justice-Companion/tree/main/.claude/skills/ai-legal-research
Command: npx skills add https://github.com/fattits30-dev/Justice-Companion --skill ai-legal-research

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, fast-xml-parser, puppeteer.

What problem does it solve?

This Skill transforms time-consuming legal research into an instant, context-aware process. It leverages AI to synthesize information from authoritative UK legal databases, providing accurate, cited answers with mandatory disclaimers.

Core Features & Use Cases

  • OpenAI-Powered Research: Uses GPT-4 for natural language legal queries, understanding complex legal questions.
  • UK Legal API Integration: Accesses legislation.gov.uk and caselaw.nationalarchives.gov.uk for authoritative data.
  • RAG Pipeline: Provides context-aware responses with source citations for accuracy and verifiability.
  • Mandatory Disclaimer: Ensures all AI responses include a clear "information, not legal advice" disclaimer for user safety.
  • Use Case: When a user asks a complex legal question, Claude queries UK legal databases, synthesizes information using OpenAI, and provides a cited, context-aware answer with the required legal disclaimer, saving hours of manual research.

Quick Start

Claude automatically runs this skill when:

user: "What are the key provisions of the UK Equality Act 2010 regarding employment discrimination?"

Claude executes:

1. Searches legislation.gov.uk for the Act.

2. Uses OpenAI to summarize key provisions.

3. Provides a cited answer with the mandatory legal disclaimer.