foreign-law-research

foreign-law-research is a skill for Claude Code, Codex from StefanCHEN2026/foreign-law-research-skill-. It costs 219 tokens per session (6,067 once invoked), scanned A, original, MIT.

A guided research skill for finding and verifying the laws of countries outside mainland China. It covers statutes, court decisions, and international treaties, with records of how the sources were checked.

In plain words
What is it for?
Researching overseas law and preparing an ascertainment opinion and research log for cross-border legal work.
Why use it?
Foreign-law research requires more than finding a quoted rule: the source must be authentic, current, relevant, and complete enough for legal review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Researching overseas law and preparing an ascertainment opinion and research log for cross-border legal work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stefanchen2026/foreign-law-research-skill-/foreign-law-research
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add StefanCHEN2026/foreign-law-research-skill- --skill foreign-law-research
Clone the repo
git clone --depth 1 https://github.com/StefanCHEN2026/foreign-law-research-skill-

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for foreign-law-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/stefanchen2026/foreign-law-research-skill-/foreign-law-research/github.svg)](https://agentmods.dev/skills/stefanchen2026/foreign-law-research-skill-/foreign-law-research)
Your own site
<a href="https://agentmods.dev/skills/stefanchen2026/foreign-law-research-skill-/foreign-law-research"><img src="https://agentmods.dev/badge/skills/stefanchen2026/foreign-law-research-skill-/foreign-law-research/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for foreign-law-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/stefanchen2026/foreign-law-research-skill-/foreign-law-research"><img src="https://agentmods.dev/badge/skills/stefanchen2026/foreign-law-research-skill-/foreign-law-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 219 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00219 $0.06067
Opus 5.5 $0.00088 $0.02427
Sonnet 5.5 $0.00044 $0.01213
Haiku 4.5 $0.00022 $0.00607

Measured 7d ago against content hash b7efb3049c51, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

foreign-law-research scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

foreign-law-research/SKILL.md · 378 lines

How it starts

The opening of the file, as written. The whole thing — 378 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Foreign Law Research & Ascertainment Skill

This skill guides lawyers and legal professionals through the systematic ascertainment of foreign law (statutes, case law, and international treaties of any jurisdiction outside mainland China). Version 2.0 aligns the whole workflow with the evidentiary standards applied by PRC courts — modeled on the Shanghai Financial Court's Guidelines on the Ascertainment of Foreign Law (2025) and the SPC judicial interpretations of the Law on the Application of Laws to Foreign-Related Civil Relations — so that research output is ready for submission and cross-examination in court: an Ascertainment Opinion plus a Research Log.

Data layer: 121 free legal databases plus an open-source data layer (git-versioned law corpora, open legal data collection scripts, and MCP servers).

Overview

Ascertaining foreign law is more than "finding the provision". In PRC cross-border practice, an ascertainment result must survive cross-examination and judicial review (Guidelines Art. 14): authenticity of the text, validity status, relevance to the dispute, and completeness of the search. This skill organizes the work as Scoping → Six research steps → Dual deliverables:

Step 0  Scoping ───────────┐
Step 1  Identify jurisdiction │
Step 2  Map sources of law    │  Research
Step 3  Identify instruments  │  (log as you go)
Step 4  Locate specific rules │
Step 5  Quality assurance ───┘
Step 6  Deliver ──→ Ascertainment Opinion (six-part structure)
                 Research Log (search audit trail)
                 AI-tool disclosure (tools / stages / human verification)

Reference map

Four reference files support the workflow. Consult them on demand:

File Purpose When to read
references/database-index.md 121 free legal databases by jurisdiction, three authority tiers After Step 1, to pick research databases
references/open-source-data.md Open-source data layer: git law corpora, collection scripts, MCP servers When you need version history, validity verification, bulk endpoints, or a jurisdiction covered by an MCP
references/opinion-template.md Fill-in skeleton of the six-part Ascertainment Opinion At Step 6, when producing the final opinion
references/research-log-template.md Search audit-trail table Open it when research begins; deliver it with the opinion at Step 6

Read the full file on GitHub · 378 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 378 lines · 219 tokens per session scan A b7efb3049c51

Subscribe to this mod's changes

foreign-law-research is a skill published in the GitHub repository StefanCHEN2026/foreign-law-research-skill- (15 stars, last pushed 7d ago), licensed MIT. It adds 219 tokens to every session and 6,067 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

foreign-law-research compared with skills from other repositories

foreign-law-research next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
foreign-law-researchStefanCHEN2026/foreign-law-research-skill-Skill157d agoMITA219Claude Code, Codex
contract-drafterrohasnagpal/legal-ai-skillsSkill2072d agoMITA192Claude Code, Codex
negotiation-position-plannerrohasnagpal/legal-ai-skillsSkill2072d agoMITA118Claude Code, Codex
redline-proposerrohasnagpal/legal-ai-skillsSkill2072d agoMITA118Claude Code, Codex
citation-integrity-checkerrohasnagpal/legal-ai-skillsSkill2072d agoMITA180Claude Code, Codex
client-intakerohasnagpal/legal-ai-skillsSkill2072d agoMITA186Claude Code, Codex
contract-summariserrohasnagpal/legal-ai-skillsSkill2072d agoMITA162Claude Code, Codex