sgcite
Skill63 starsChanged 6 months agoApache-2.0View on GitHub
Use when verifying Singapore court citations in legal submissions, checking for hallucinated cases in AI-generated text, or validating citations against eLitigation.
In this repository49 other files it gives its agents.
- action-items-from-client-alertSkill
- adversarial-qcSkill
- ai-act-quickSkill
- bart-statutory-reference-checkerSkill
- building-chronologiesSkill
- california-property-taxSkill
- case-file-analyzerSkill
- ClassifyCCPSkill
- collating-reviewer-feedbackSkill
- comms-improverSkill
- contract-qaSkill
- coquill-analyzerSkill
- coquill-rendererSkill
- coquillSkill
- coquill-transcriberSkill
- corporate-registry-investigationSkill
- customs-trade-lawSkill
- dpa-art28Skill
- dpa-checklist-reviewSkill
- enhance-promptSkill
- foreign-law-researchSkill
- legal-claim-economicsSkill
- legal-translationSkill
- license-complySkill
- local-first-legal-workspaceSkill
- lq-board-document-reviewSkill
- lq-governance-playbook-benchmarkSkill
- msa-review-commercial-purchaseSkill
- msa-review-saasSkill
- nda-reviewSkill
- nis2-navigatorSkill
- nist-ai-rmfSkill
- office-word-diffSkill
- privacy-notice-euSkill
- proposition-checkingSkill
- redfern-scheduleSkill
- redlinesSkill
- skill-creatorSkill
- statutory-analysisSkill
- superdoc-redlinesSkill
- text-provenanceSkill
- uk-citation-verificationSkill
- uk-court-of-appeal-judicial-preference-checkSkill
- uk-disclosure-list-reviewSkill
- uk-particulars-of-claim-reviewSkill
- uk-witness-statement-reviewSkill
- us-state-privacy-navigatorSkill
- vendor-privacy-policy-first-passSkill
- vibe-legal-batch-redlinerSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 77
Does not check substantive accuracy of cited holdings or whether the citation supports the proposition advanced.
- Distinctive: line 78
Does not cover non-Singapore citations or unreported decisions outside eLitigation.
- Distinctive: line 79
Does not constitute citation-review or quality-control sign-off for purposes of professional rules.
- Distinctive: line 80
Does not handle PDPA, privilege, or confidentiality-by-design — the user controls what text is passed in.
- Distinctive: line 84
Stop and route to the responsible lawyer when:
- Distinctive: line 92
Only covers Singapore court decisions in eLitigation
- Distinctive: line 93
Does not verify substantive accuracy of cited holdings
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
sgcite — Singapore Court Citation Checker
When to Use
- Reviewing legal submissions before filing
- Checking AI-generated legal text for hallucinated citations
- Verifying that cited Singapore cases actually exist in eLitigation
- Detecting fabricated case names, paragraph references, or distorted quotations
- Routine citation audit for Singapore law documents
How It Works
Input
A legal text (submission, memo, brief, AI-generated draft) containing Singapore court citations.
Process
- Extract — Parse all case citations from the text
- Validate — Query eLitigation (Singapore's case law database) for each citation
- Check — Detect:
- Hallucinated authorities (case doesn't exist)
- Mismatched case names (case exists but different party names)
- Fabricated paragraph references
- Distorted quotations
- 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 passageExample
npx sgcite check ./my-submission.docxOr 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
- High — citation extracted cleanly, eLitigation returns an exact match on case name and citation reference.
- Medium — citation matched on case name or reference but with a fuzzy hit, neutral citation variant, or paragraph reference not present in the source. Flag for lawyer review.
- Low / Review — possible distorted quotation, ambiguous case name, non-SG citation in input, or eLitigation lookup failed. Do not present as
verified; route to REVIEW.
Out of Scope
- Does not check substantive accuracy of cited holdings or whether the citation supports the proposition advanced.
- Does not cover non-Singapore citations or unreported decisions outside eLitigation.
- Does not constitute citation-review or quality-control sign-off for purposes of professional rules.
- Does not handle PDPA, privilege, or confidentiality-by-design — the user controls what text is passed in.
Escalation
Stop and route to the responsible lawyer when:
- a citation cannot be resolved with High confidence after one pass;
- quoted text in the submission differs materially from the eLitigation source;
- the input appears to contain non-SG citations (treat as unsupported by this skill);
- the input contains material that may be privileged and the firm has not approved external lookups.
Limitations
- Only covers Singapore court decisions in eLitigation
- Does not verify substantive accuracy of cited holdings
- Some unreported decisions may not be available
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

