Skip to main content

sanctions-screening

Screen a client, counterparty, payer or corporate against the sanctions lists published by the designating authorities themselves — the UK Sanctions List (FCDO), OFSI, the UN Security Council, the EU consolidated list and OFAC's SDN and non-SDN lists. Use when onboarding, before taking a payment, before completing a transaction, or whenever a name must be checked against sanctions. Produces candidates and provenance, never a clearance: the record names every list searched with its publication date and count, states what was NOT searched, and ends at a blank decision block. Fails closed — a cache that is missing, damaged, truncated or stale is reported NOT SEARCHED and the process exits non-zero, so nothing can read an incomplete run as clean. Matches across transliteration, diacritics, homoglyphs and initials, because nobody spells a name the way the publisher does. Standard library only; screening opens no network connection.

v1.0.0New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install legal-skills-sanctions-screening-matei-clej-sanctions-screening
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/legal-skills-sanctions-screening-matei-clej-sanctions-screening/SKILL.md

Setup guide →
0Save

Instructions

Open-source sanctions screening

Three Python files, standard library only. No install step, no API key, no
account, and no third-party screening vendor in the path — so there is no
per-search cost and no reason to leave anybody unscreened.

The tool produces candidates and provenance. It never clears anybody. The
comparison of a candidate against what is actually known of the subject, the
decision that follows, and the record of that decision belong to the fee earner.

Running it

python3 screen.py refresh                       # fetch + parse the default six lists (~30s)
python3 screen.py status                        # freshness, designation counts, failures
python3 screen.py sources                       # the registry, coverage and licences

python3 screen.py check "Ivan Petrov" --dob 1975-03-02 --nationality Russia
python3 screen.py check "Acme Trading LLC" --type entity --threshold 80
python3 screen.py check "Ramzan Kadyrov" --dob 05/10/1976 \
    --client MATTER-2026-0099 --matter "immigration advice" \
    --report ./screening/kadyrov-2026-09-01.md

python3 screen.py batch subjects.csv --report-dir ./screening/   # name,dob,nationality,type,client,matter

Exit codes: 0 complete search and nothing found, 2 candidates, 3 the search
cannot be relied on, 4 the request was refused.

Switches: --source uk-sanctions-list,ofsi (restrict, or reach the non-default
lists), --threshold (default 88 — see below), --include-delisted, --max-age-hours
(default 24), --strict, --json, --verbose.

The default threshold is set from measurement. Recall is identical at every
cut-off from 85 to 92 (99.7%) while false positives fall from 20% to 2%, and no
true match scored between 85 and 92. Lower it to 82 to catch a query as thin as
an initial plus one name, at a 40% false-positive rate; raise it to 92 for a
first pass over a large book of clients.

Requires Python 3.11 or later (3.9 parses but is not tested). Nothing else. The cache lives in
~/.claude/sanctions-data (override with SANCTIONS_DATA) and is about 100 MB
for the eight government lists; a run holds roughly 230 MB in memory while
scanning.

The completeness gate

Every route out of this tool — text, JSON, a written record, a batch summary, an
exit code — is rendered from one Outcome object, and an Outcome knows whether the
search was complete. There is no path that reports "nothing found" without also
carrying whether anything was actually searched.

A search is complete only if the request was valid and every list asked for was
read in full, matched the digest recorded when it was fetched, and is current.
Anything else is incomplete, and an incomplete search never exits 0.

ExitMeaning
0Complete search, no candidate at or above the threshold
2Candidates to consider
3The search cannot be relied on — a list was missing, damaged, altered, short, stale or never fetched
4The request itself was refused — an unusable option, a name with nothing searchable in it, a CSV with no name column

The cache is bound to its metadata by digest and parser version, so a list that
has been altered, truncated or parsed by a different version of this code is
refused rather than searched. Upgrading the tool therefore requires a
refresh
— that is the gate working, not a fault.

The lists

idListAuthorityDefault
uk-sanctions-listUK Sanctions ListFCDO✓
ofsiConsolidated List of Financial Sanctions TargetsHM Treasury / OFSI✓
unSecurity Council Consolidated ListUnited Nations✓
euConsolidated financial sanctions listEuropean Commission✓
ofac-sdnSpecially Designated NationalsUS Treasury / OFAC✓
ofac-consConsolidated non-SDN (SSI, FSE, NS-PLC, CAPTA)US Treasury / OFAC✓
canadaSEMA / JVCFOA consolidated listGlobal Affairs Canada
swissSECO sanctions listSwiss Confederation
opensanctions-sanctions~90 sources, deduplicatedOpenSanctions (aggregator)
opensanctions-pepsPolitically exposed personsOpenSanctions (aggregator)

The UK Sanctions List and the OFSI list are not the same thing and neither
subsumes the other: the FCDO list is the legal list and carries every measure
imposed (travel ban, arms, trade, transport, director disqualification), while
the OFSI list carries the financial-sanctions targets and the asset-freeze
detail. Both are searched by default.

The OpenSanctions datasets are CC BY-NC 4.0. Screening fee-earning client
work is commercial use. Those two sources refuse to refresh until
SANCTIONS_OPENSANCTIONS_LICENCE is set — set it to noncommercial for
genuinely non-commercial work, or to your commercial licence reference once one
is held. They are also the only PEP source here.

Per-source detail, quirks and failure modes: reference/sources.md.

What the law requires, and of whom

Verified against the in-force text on legislation.gov.uk on 02.09.2026. This is
a UK-facing tool; practitioners elsewhere should read the equivalents.

The prohibitions reach the work, whoever the client is. UK regimes are made
under the Sanctions and Anti-Money Laundering Act 2018 s.1, and s.21(1) sets
their reach: prohibitions may be imposed in relation to conduct in the United
Kingdom or its territorial sea by any person, and to conduct elsewhere
only where it is by a United Kingdom person — s.21(2)-(3): a UK national
(a British citizen, British overseas territories citizen, British National
(Overseas) or British Overseas citizen, a British subject under the British
Nationality Act 1981, or a British protected person), or a body incorporated or
constituted under the law of any part of the UK. Read the two limbs separately.
Limb (a) catches everything done in this jurisdiction whoever does it, so it
reaches work carried out here regardless of counsel's nationality. Limb (b)
reaches conduct abroad only if the actor is a United Kingdom person: practising
here does not by itself make a foreign national one, though a UK-incorporated
entity is one whatever the nationality of those behind it. Dealing with a
designated person's funds, or making funds or
economic resources available to or for the benefit of one, is prohibited by the
regime regulations themselves. There is no client-type threshold and no de
minimis, so this catches a fee taken from a third-party payer as readily as a
corporate retainer.

Much litigation practice sits outside the MLR customer due diligence duty. An
"independent legal professional" is defined in reg 12(1) of the Money Laundering
Regulations 2017 (SI 2017/692) by reference to participation in financial or
real property transactions — buying and selling property or business entities,
managing client money or assets, opening or managing accounts, organising
company contributions, and creating or managing trusts and companies. The test
is what the retainer involves, not what the practice area is called: ordinary
criminal, extradition and immigration advocacy will not usually engage that
limb, but a matter that turns on any of those transactions does, whatever it is
filed under. Where it is
engaged, reg 33(1)(d) and reg 35 make PEP status an enhanced due diligence
trigger (a trigger, never a prohibition), and reg 40(2)(a) with reg 40(3)
require the CDD material to be kept for five years — running from the end of the
business relationship for a relationship (reg 40(3)(b)), but from completion of
the transaction for an occasional transaction (reg 40(3)(a)), which is the limb
a one-off retainer falls into. Reg 40(4) caps relationship records at ten years,
and reg 40(5) requires the personal data to be deleted once the period
expires unless another duty or a legal-proceedings ground keeps it. Retention is
a duty in both directions: keeping a screening record indefinitely is its own
breach.

The reporting duty is wider than the CDD duty, and does reach a legal
practice.
Under the Russia (Sanctions) (EU Exit) Regulations 2019 (SI
2019/855), reg 71(1)(d)(ii) makes a firm or sole practitioner providing "legal or
notarial services" by way of business a relevant firm — with no transaction
limb — and reg 70(1) requires a relevant firm to inform the Treasury as soon as
practicable where it knows or has reasonable cause to suspect that a person is a
designated person or has breached a prohibition, and the knowledge or suspicion
came to it in the course of its business. Verified for the Russia regime; other
regimes follow the same drafting, but the regime in play must be checked rather
than assumed.

Ownership and control are not screened by any name search. Under reg 7 of SI
2019/855 a non-individual is owned or controlled by a designated person where
that person holds, directly or indirectly, more than 50% of the shares or voting
rights, or the right to appoint or remove a majority of the board — or, on the
second limb, where it is reasonable to expect that they could achieve the result
that the company's affairs are conducted in accordance with their wishes. An
unlisted company can therefore be caught by a listed shareholder. That has to be
worked out from the ownership structure; no list holds it.

The discipline

  1. A candidate is not a match. The score measures name similarity, nothing
    else. Adopting or discounting a candidate is a human comparison against date
    of birth, nationality, address, identifiers and the statement of reasons.
  2. A nil return is bounded, and the record says by what — the lists actually
    searched, the date each was published, and the spelling used. It is not a
    statement that the subject is not sanctioned.
  3. A failed read never reads as a clean result. A list that is missing,
    damaged, truncated, or short of the count recorded when it was fetched is
    reported as NOT SEARCHED on the face of the screening record, its hits are
    discarded rather than half-reported, and the run exits 3.
  4. Search more than one spelling of a transliterated name. The tool itself
    romanises Cyrillic only — under four systems, each searched — and any
    Cyrillic letter in a name triggers that. Arabic, Chinese and every other
    script are NOT romanised: a query in them is refused, and the passport or
    publisher spelling must be searched in Latin script. OFAC's files are
    entirely ASCII, so a non-Latin name can never match there except through a
    romanisation. The matcher folds diacritics and homoglyphs but cannot invent
    a spelling nobody gave it. Search the passport spelling and the common
    alternative.
  5. Screen the payer, not only the client. Third-party payers, corporate
    parents, funders and the opponent in a matter where money will move.
  6. Re-screen. Designations are made weekly. A screen done at intake says
    nothing about the position when the fee is taken.
  7. Never complete the decision block on the fee earner's behalf, and never
    describe a subject as "cleared". Fill in the search; leave the decision.

Privacy

Screening is entirely local. refresh contacts the eight publishing authorities
listed above and nothing else; check and batch open no socket at all, which
is asserted by a test that replaces the socket layer with something that raises.
The name of a client is never sent anywhere. Screening records are written only
where you point them.

Tests

python3 tests/test_screen.py        # 130  matching, dates, the gate, parser output
python3 tests/integrity.py          # 186  field mapping, refresh, tampering, licence gate
python3 tests/adversarial.py        # 374  hostile input, cache damage, injection, privacy
python3 tests/release_gate.py       #      every published name retrieves its designation — run before a tag
python3 tests/benchmark.py          #     recall and precision against the lists
python3 tests/prefilter_safety.py   #     measures whether the speed filter costs recall
python3 tests/threshold_sweep.py    #     where the default threshold belongs
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
legal-design-assessmentAudits a legal document against legal design principles. Scores the document on six pillars: language patterns (bureaucratese, archaisms, passive voice, nominalization), readability (Flesch Reading Ease and language-specific equivalents), structure and navigation, hidden conditions (material obligations buried away from their headings), statutory duplication (restating the law instead of citing it), and visual hierarchy where layout is available. Assessment-only; does not rewrite the document. Works on English, French, and German documents, inferring the applicable jurisdiction from the document's language and textual signals: governing-law clause, statute citations, party addresses. Use when a user shares a legal document (contract, NDA, T&C, privacy policy, internal policy) asking how good the drafting is from a legal design perspective, whether it is readable, whether it contains buried clauses or restates the law, or how it scores on Flesch / LIX / Amstad / Kandel-Moles readability2 installseu-ai-act-classificationClassify AI systems under the EU AI Act (Regulation (EU) 2024/1689) and determine compliance obligations. Use when asked to assess AI risk level, check if an AI system is prohibited, determine high-risk status, identify GPAI model obligations, map provider/deployer responsibilities, or build an AI Act compliance roadmap. Covers the full classification decision tree (Prohibited → High-Risk → Limited → Minimal → GPAI), obligations by role (provider, deployer, importer, distributor), compliance timelines, and DACH-specific considerations (German works council, BaFin, BSI, BNetzA). Triggers on phrases like "classify this AI system", "is this high-risk under the AI Act", "AI Act risk assessment", "EU AI Act compliance", "prohibited AI practice", "GPAI obligations", "AI Act timeline".2 installslegal-translationTranslate legal documents from any language into English while preserving .docx formatting and translating track changes and headers/footers. Use this skill whenever the user asks to translate a legal document, contract, deed, agreement, or any formal legal text into English. Also trigger when the user mentions translating .docx files that contain legal content, or asks for a "format-preserving translation" of a legal document. This skill covers all legal domains: finance, M&A, corporate, IP, real estate, regulatory, consumer, taxes, litigation, SaaS and more. Even if the user just says "translate this contract" or "translate this into English", use this skill if the document is legal in nature.2 installseardraftTransforms reading-oriented prose into listening-optimized text for flat, neutral vocal delivery — TTS, podcasts, audiobooks, CLE audio. Carries a legal layer: case citations, section symbols, subsection lettering, Latin terms and footnotes are unspeakable as written, so a brief, opinion, statute, contract or memo needs them expanded, restructured or stripped before it can be listened to — and quoted authority is never rewritten. Use when converting written content for audio, preparing oral argument by ear, producing CLE or client-facing audio, or making a document listenable on a commute. Triggers on "make this listenable," "convert for audio," "optimize for reading aloud," "prepare for TTS," "make an audio version," "podcast script," "read this aloud." Supports English, French, Spanish, Italian, German and Portuguese; outputs plain text, ElevenLabs audio tags, or SSML for Amazon Polly, Google or Azure.2 installslegal-translation-USTranslate legal documents from any language into English while preserving .docx formatting and translating track changes and headers/footers. Use this skill whenever the user asks to translate a legal document, contract, deed, agreement, or any formal legal text into English. Also trigger when the user mentions translating .docx files that contain legal content, or asks for a "format-preserving translation" of a legal document. This skill covers all legal domains: finance, M&A, corporate, IP, real estate, regulatory, consumer, taxes, litigation, SaaS and more. Even if the user just says "translate this contract" or "translate this into English", use this skill if the document is legal in nature.2 installsWord EditorEdit, query, and transform Word documents (.docx) with the SuperDoc CLI. Use when the user asks to read, search, modify, format, comment, track changes, or review changes in .docx files. Triggers on any task involving Word documents — text replacement, redlining, contract markup, template filling, bulk edits, content extraction, or document review.2 installs
View source →
persuasive-legal-writingApply elite legal writing techniques drawn from Justice Kagan, Boies & Olson, and other top advocates to any legal document — briefs, submissions, letters, opinions, memos, or persuasive correspondence. This skill covers both prose craft (clarity, examples, parallel construction, voice, quoting) and architectural strategy (argument sequencing, framing, openings, endings). Use this skill whenever the user asks you to draft, edit, or improve legal writing and wants it to be genuinely persuasive — not just correct. Also trigger when the user mentions 'make it more persuasive', 'sharpen this', 'strengthen the argument', 'rewrite this section', 'punch it up', 'legal writing', 'draft a brief', 'draft a submission', 'write like a top advocate', or asks you to improve the rhetoric, flow, or force of any legal document. This skill complements the larissa-legal-voice skill (which handles tone and personal voice) by adding the persuasive technique layer on top.7 installsdpdpaExpert India Digital Personal Data Protection Act, 2023 (DPDPA) compliance advisor. Use this skill whenever a user asks about the DPDPA, DPDP Act, DPDP Rules 2025, India data privacy law, Data Fiduciary obligations, Data Principal rights, Significant Data Fiduciary, Data Protection Board of India, consent under DPDPA, notice requirements, breach notification India, children's data India, cross-border data transfer India, India privacy compliance, DPDPA gap analysis, DPDPA vs GDPR, or any obligation under India's personal data protection framework. Also trigger for: "Section 6 consent", "Section 7 legitimate uses", "Section 9 children's data", "Section 10 SDF", "Section 16 cross-border", "Rule 6 breach notification", "Rule 13 SDF obligations", "Data Protection Board complaint", "verifiable parental consent India", "DPDPA compliance roadmap", or "India privacy law global company".4 installsroute-legal-translationPick the right LLM for LEGAL TRANSLATION — translating contracts, statutes, case law, and legal correspondence across languages, including Arabic/MENA. Vendor-neutral routing triangulated from mid-2026 evidence (WMT25 human eval, SwiLTra-Bench legal-MT, multilingual-reasoning proxies, ArabLegalEval). There is NO clean legal-translation leaderboard, so this vertical is directional and treats human legal-linguist review as mandatory. Asks up to 4 quick questions (language pair, cost, speed, privacy/certification), then recommends a primary model + fallback + what to avoid + what a human must verify. Use when someone asks "which model to translate this contract/statute", "best AI for legal translation", "translate this legal doc to/from Arabic", or is about to machine-translate legal text without a fixed model.3 installsskill-optimizer-lawvableGuide to analyze a current work session and propose improvements to skills. Use (1) automatically after working with a skill to capture learnings, (2) when the user suggests improvements, corrections, or additions during a skill-related session, or (3) when the user manually invokes `self-improve`.3 installsassistant-juridique-frAssistant juridique expert en droit français, pour les praticiens : recherches, consultations et cas pratiques, rédaction d'actes, analyse de pièces, contre-argumentaires, analyse de contrats, veille, analyse d'articles, vérification et harmonisation de références. Recherche outillée (LibreJustice, OpenLegi, Themia, LegalDataHunter, doctrine HAL/OpenAlex), noyau anti-hallucination avec tableau de vérification remis en document séparé, livrables Word par défaut (Docs sur demande). À utiliser pour toute question juridique ou tout concept de droit français (contrat, responsabilité, jurisprudence, code civil, procédure, indemnisation), toute question de droit de l'UE, de CJUE ou de CEDH, et toute demande de vérification ou d'harmonisation de références juridiques, même si l'utilisateur ne nomme pas la skill.3 installslegal-risk-assessmentAssess and classify legal risks using a severity-by-likelihood framework with escalation criteria. Use when evaluating contract risk, assessing deal exposure, classifying issues by severity, or determining whether a matter needs senior counsel or outside legal review.2 installs
Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.631 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.532 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.342 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.244 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.172 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions144 installs
What does the sanctions-screening skill do?

Screen a client, counterparty, payer or corporate against the sanctions lists published by the designating authorities themselves — the UK Sanctions List (FCDO), OFSI, the UN Security Council, the EU consolidated list and OFAC's SDN and non-SDN lists. Use when onboarding, before taking a payment, before completing a transaction, or whenever a name must be checked against sanctions. Produces candidates and provenance, never a clearance: the record names every list searched with its publication date and count, states what was NOT searched, and ends at a blank decision block. Fails closed — a cache that is missing, damaged, truncated or stale is reported NOT SEARCHED and the process exits non-zero, so nothing can read an incomplete run as clean. Matches across transliteration, diacritics, homoglyphs and initials, because nobody spells a name the way the publisher does. Standard library only; screening opens no network connection. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the sanctions-screening skill?

Run `npx @skills-hub-ai/cli install legal-skills-sanctions-screening-matei-clej-sanctions-screening` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/legal-skills-sanctions-screening-matei-clej-sanctions-screening/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does sanctions-screening work with?

sanctions-screening runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the sanctions-screening skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use sanctions-screening after installing it?

In Claude Code, type `/legal-skills-sanctions-screening-matei-clej-sanctions-screening` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the sanctions-screening skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.