By Zereo0317
Legal engineering optimizer for cross-border wealth structuring, tax litigation research, and multi-jurisdiction entity architecture. Analyzes structures like LEGO — modular, repeatable, optimizable. Integrates Westlaw Classic MCP, produces HTML reports, and executes actions across Gmail, web search, and connected tools. Grounded to truth with self-verification at every step.
Constructs the strongest counter-arguments against a legal position. Identifies weaknesses, unfavorable precedent, and regulatory risks. Produces structured vulnerability analysis with severity ratings. Honest: acknowledges genuinely strong points.
Builds the strongest possible case FOR a legal position. Marshals favorable authorities, constructs persuasive argument chains, and identifies the strongest grounds. Never fabricates citations or overstates confidence.
Deep legal research agent — searches Westlaw Classic, CourtListener, EUR-Lex, and web sources in parallel. Verifies citations against primary sources. Use for multi-source research tasks that benefit from parallel search.
Validates citations against MCP data sources, checks for overruling or subsequent negative treatment, and ensures correct formatting. Fast, cost-effective verification layer. Citation accuracy target: >95%.
Regulatory compliance assessment across jurisdictions. Covers AML/KYC, sanctions screening, FATF recommendations, CRS/AEOI reporting, economic substance requirements, and Pillar Two global minimum tax compliance.
Execute actions beyond analysis — send reports via Gmail, post to Slack, save to Google Drive, run web searches, fetch documents, create GitHub issues. The "do it" skill that turns analysis into action. Always confirms before executing.
This skill should be used when the user asks to stress-test a legal position, evaluate arguments from both sides, assess litigation risk, or run adversarial analysis. Spawns advocate, adversary, and judicial-analyst perspectives in sequence to produce a balanced assessment with probability-weighted outcomes. Can generate an interactive HTML report with three-column layout.
Classify AI systems under the EU AI Act, identify prohibited practices, and assess high-risk AI system requirements. Maps compliance obligations and conformity assessment pathways.
Interactive Litigation Star Atlas — 15 landmark cross-border wealth and tax cases across 8 jurisdictions. Browse, filter, research, and use the built-in LLM research prompts. Each case is a fully briefed "system" with facts, analysis, reading guide, and verified source links.
Deep legal research using Westlaw Classic, CourtListener, EUR-Lex, and web search. Find cases, statutes, regulations, and treaties on any cross-border wealth or tax topic. Produces a sourced research memo with citations verified against primary sources.
Unified legal research — WestLaw Classic (institutional access), CourtListener (3,352 US courts), Congress.gov (legislation), Federal Register (regulations), eCFR (CFR full text), EUR-Lex (EU law), Taiwan Judicial Yuan, EU Compliance (GDPR/AI Act/DSA), OECD Tax Treaties, SEC EDGAR, Singapore eLitigation. 25 tools.
Vaquill AI — semantic search across 8M+ US federal/state court opinions, USC, and CFR
AustLII — Australian case law and legislation with PDF OCR support
Search messages, read channels, post updates to client or team channels.
Search, read, and fetch documents from Google Drive — structure diagrams, engagement letters, client files.
Modifies files
Hook triggers on file write and edit operations
External network access
Connects to servers outside your machine
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
OECD_API_KEYAPI key for OECD tax treaty database access
${user_config.OECD_API_KEY}SEC_EDGAR_EMAILEmail address for SEC EDGAR API rate limit identification
${user_config.SEC_EDGAR_EMAIL}VAQUILL_API_KEYAPI key for Vaquill AI semantic legal search (8M+ US opinions, USC, CFR)
${user_config.VAQUILL_API_KEY}CONGRESS_API_KEYCongress.gov API key (free at api.congress.gov/sign-up/)
${user_config.CONGRESS_API_KEY}WESTLAW_BASE_URLWestlaw WAYFLESS URL for institutional SSO access
${user_config.WESTLAW_BASE_URL}WESTLAW_PASSWORDWestlaw password (stored securely, never logged)
${user_config.WESTLAW_PASSWORD}WESTLAW_USERNAMEWestlaw username for institutional access
${user_config.WESTLAW_USERNAME}WESTLAW_CLIENT_IDWestlaw institutional client ID (e.g., your university or firm ID)
${user_config.WESTLAW_CLIENT_ID}COURTLISTENER_API_KEYCourtListener API key (free at courtlistener.com/help/api/)
${user_config.COURTLISTENER_API_KEY}EU_COMPLIANCE_API_KEYAPI key for EU compliance database access
${user_config.EU_COMPLIANCE_API_KEY}SINGAPORE_ELIT_API_KEYAPI key for Singapore eLitigation access
${user_config.SINGAPORE_ELIT_API_KEY}TAIWAN_JUDICIAL_API_KEYAPI key for Taiwan Judicial Yuan database access
${user_config.TAIWAN_JUDICIAL_API_KEY}Requires secrets
Needs API keys or credentials to function
Requires secrets
Needs API keys or credentials to function
Uses power tools
Uses Bash, Write, or Edit tools
Uses power tools
Uses Bash, Write, or Edit tools
Legal engineering optimizer — a Claude Code plugin marketplace that treats 200+ jurisdictions as modular building blocks for wealth structuring, sovereign individual architecture, professional licensing pathways, aviation certification, and immigration engineering.
38 skills | 15 agents | 30+ MCP tools | 8 MCP servers | 14 references
Legal Engineering is the discipline of combining jurisdictions' legal frameworks — tax rates, treaty networks, trust law, corporate vehicles, privacy regimes, substance requirements, licensing boards, immigration systems, aviation authorities — to construct pathways and structures optimized for a specific purpose. Each jurisdiction is a building block; each structure or pathway is a module.
Core principle: Control everything, own nothing. 利用各地法律落差,合法創造優勢。
Three properties make it engineering:
Target audience: Elites, UHNW individuals, ambitious professionals, empire builders, sovereign individuals, founders who want to build empires of private equity, private jets, and global citizenship — and those who aspire to become one.
| Plugin | Skills | Agents | References | What it does |
|---|---|---|---|---|
cross-border-wealth | 29 | 13 | 9 | Tax-efficient entity architecture, treaty optimization, compliance, case law research, Pillar Two, exit analysis, adversarial stress-testing, contract review, AI governance, Taiwan law, SaleCraft compliance, privacy impact assessment, interactive dashboards |
legal-pathways | 9 | 2 | 5 | Sovereign architecture (flag theory), professional licensing, aviation certification (PPL to jet), immigration pathway optimization, CBI/RBI comparison, legal translation, matter workspace |
npx-based MCP servers (AustLII, Sequential Thinking)uv — optional, only for the official Fetch MCP server (uvx mcp-server-fetch)# 1. Clone this repo
git clone https://github.com/Zereo0317/legal-engineering-public.git
cd legal-engineering-public
# 2. Install the Westlaw MCP server (use a virtual env)
python3 -m venv .venv && source .venv/bin/activate
cd westlaw-mcp && pip install -e . && cd ..
# 3. Install Playwright browser (only needed for Westlaw Classic institutional access)
playwright install chromium
# 4. Install the marketplace (all plugins)
claude plugin install legal-engineering --source ./
# === SOVEREIGN INDIVIDUAL ARCHITECTURE ===
# Design your complete multi-jurisdictional life
/legal-pathways:sovereign-architect
# === WEALTH STRUCTURING ===
# Onboard your practice/family office
/cross-border-wealth:cold-start-interview
# Analyze a cross-border structure
/cross-border-wealth:structure-analysis
# Design a new structure from scratch
/cross-border-wealth:structure-designer
# Compare jurisdictions
/cross-border-wealth:jurisdiction-scanner
# === PERSONAL LEGAL INFRASTRUCTURE ===
# Credential engineering (e.g., US counselor license)
/legal-pathways:credential-engineering
# Aviation licensing (PPL to private jet)
/legal-pathways:aviation-licensing
# Immigration pathway (citizenship, PR, golden visa)
/legal-pathways:immigration-pathway
# === ADVERSARIAL ANALYSIS ===
# Stress-test a structure with red-team/blue-team
/cross-border-wealth:adversarial-analysis
# === CONTRACT & COMPLIANCE ===
# Clause-by-clause contract review
/cross-border-wealth:contract-review
# SaleCraft compliance check
/cross-border-wealth:salecraft-compliance
# Privacy impact assessment
/cross-border-wealth:privacy-impact-assessment
# === RESEARCH ===
# Deep case law research
/cross-border-wealth:case-research
# Browse the Litigation Star Atlas
/cross-border-wealth:case-atlas
# Taiwan-specific legal analysis
/cross-border-wealth:taiwan-law-specialist
npx claudepluginhub zereo0317/legal-engineering-system --plugin cross-border-wealthCross-border credential, licensing, and immigration pathway optimizer. Treats professional licensing boards, aviation authorities, and immigration systems as modular building blocks — finds the fastest, cheapest, and most legally robust pathway to your target credential or status. Built for ambitious professionals navigating international regulatory systems.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Superpowers Plus core skills library for Claude Code: planning, execution routing, TDD, debugging, and collaboration workflows
Claude harness - A harness for solo developers (Vibecoders) to handle full-cycle contract development.
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.