sumsub-create-aml-resolution-rules — Claude Code skill: AML rules
Builds and publishes Sumsub rules that auto-review AML screening hits: clearing false positives, confirming true ones.
npx skills add sumsub/agent-skills --skill sumsub-create-aml-resolution-rules -a claude-codeWhat sumsub-create-aml-resolution-rules does
The skill manages the AML Resolution Rule Chain inside a Sumsub tenant. Rules run top to bottom against every hit that has not been reviewed yet; on a match they set the review outcome (match status, risk level, whitelist flag, note) and can tag the case. You describe rules in a compact spec, the skill upserts them into the draft chain through the agent API, and publishing is optional.
Network calls go through one signed client, ${CLAUDE_SKILL_DIR}/scripts/aml_rules_api.py, with the subcommands draft, published, archive, library, upsert, reorder, delete, publish; rule bodies are assembled by ${CLAUDE_SKILL_DIR}/scripts/build_aml_rule.py. You need an AI-purpose App Token holding manageAmlCases and manageClientSettings, plus SUMSUB_APP_TOKEN and SUMSUB_SECRET_KEY. The token must start with sbx: — a production token is rejected, since these rules decide real AML hits.
Live and sandbox share the same chain; only cases and applicants are separated. Publishing rewrites the rules that handle production screening hits, so do it only when the user asks outright. Everything before that step is safe: reading, upserting, reordering and deleting touch the draft, which reviews nothing until it goes live. A refused publish is normal once the integration is active — report it and send the user to the Sumsub web UI.
What it helps with
- clear a false positive AML hit automatically
- confirm a true match without manual review
- carry a previous review result onto a new hit
- tag a case when a rule matches
- reorder the rule chain and publish the draft
Example prompts for the agent
- Build a rule that clears false positives on AML screening and show me the draft chain
- Add a rule tagged
match_tinand place it above the broad cleanup rules - Publish the AML Resolution Rules draft chain
How to install sumsub-create-aml-resolution-rules
1Skills CLI (Vercel)
npx skills add sumsub/agent-skills --skill sumsub-create-aml-resolution-rules -a claude-code2Manually: put the files in place
~/.claude/skills/sumsub-create-aml-resolution-rules/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sumsub-create-aml-resolution-rules/
1Skills CLI (Vercel)
npx skills add sumsub/agent-skills --skill sumsub-create-aml-resolution-rules -a codex2Manually: put the files in place
.agents/skills/sumsub-create-aml-resolution-rules/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add sumsub/agent-skills --skill sumsub-create-aml-resolution-rules -a cursor2Manually: put the files in place
.cursor/skills/sumsub-create-aml-resolution-rules/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install sumsub/agent-skills sumsub-create-aml-resolution-rules2Manually: put the files in place
.github/skills/sumsub-create-aml-resolution-rules/SKILL.md1Skills CLI (Vercel)
npx skills add sumsub/agent-skills --skill sumsub-create-aml-resolution-rules -a gemini-cli2Platform CLI
gemini skills install https://github.com/sumsub/agent-skills --path skills/sumsub-create-aml-resolution-rulesManually: put the files in place
.devin/skills/sumsub-create-aml-resolution-rules/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add sumsub/agent-skills --skill sumsub-create-aml-resolution-rules -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about sumsub-create-aml-resolution-rules
How do I install sumsub-create-aml-resolution-rules in Claude Code?
Run npx skills add sumsub/agent-skills --skill sumsub-create-aml-resolution-rules -a claude-code. The skill lands at ~/.claude/skills/sumsub-create-aml-resolution-rules/SKILL.md.
What does sumsub-create-aml-resolution-rules do?
It creates, edits, reorders, deletes and publishes Sumsub rules that auto-review incoming AML screening hits. Work happens on the draft chain; publishing makes it live.
Which token does the skill need?
An AI-purpose App Token with manageAmlCases and manageClientSettings, and it must be a sandbox one with the sbx: prefix. A regular App Token returns 403; if the AML Resolution Rules API is off for the tenant, every call returns 404.