Sgcite

From LegalQuants/lq-skills · View interactive version

Sgcite is an AI agent skill from the GitHub repository LegalQuants/lq-skills. Use when verifying Singapore court citations in legal submissions, checking for hallucinated cases in AI-generated text, or validating citations against eLitigation.

How to use this skill

Skill file

sgcite — Singapore Court Citation Checker

When to Use

How It Works

Input

A legal text (submission, memo, brief, AI-generated draft) containing Singapore court citations.

Process

  1. Extract — Parse all case citations from the text
  2. Validate — Query eLitigation (Singapore's case law database) for each citation
  3. Check — Detect:
  1. Report — Flag each issue with specific location and explanation

Output

✓ 5 citations verified
✗ 2 issues found:
  - [Para 23] "ABC v DEF [2023] SGHC 45" — Case not found in eLitigation
  - [Para 41] Quotation distorted — actual text differs from cited passage

Example

npx sgcite check ./my-submission.docx

Or import as a library in your legal workflow tools.

Audience and Work Shape

Audience: Singapore-qualified lawyers, paralegals, and litigation-support teams running a pre-filing or pre-circulation citation check. Not for unsupervised drafting or non-lawyer use.

Work shape: Pattern-Matched Review. Each citation is checked against a known reference (eLitigation). Output is a list of findings, not a sign-off.

Scope and Legal Use

This skill provides legal support, not legal advice. A verified result means "the cited case was found in eLitigation with matching party names" — not "this citation is correctly used in your submission" and not "this submission is fit to file."

Privilege and confidentiality. sgcite sends extracted citation text (and quoted passages, when checking for distorted quotations) to eLitigation. Do not invoke on privileged or unfiled draft material unless your firm has assessed that routing the cited extracts through a public case-law database is acceptable. Configure the tool to send citation strings only (not surrounding context) where possible.

Accountability. A qualified lawyer must review each flagged and each verified citation before filing or circulating the submission. The skill does not sign off on accuracy of use, substantive correctness, or fitness to file.

Confidence Bands

Out of Scope

Escalation

Stop and route to the responsible lawyer when:

Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.