Skip to content

sumsub/agent-skills / skills/sumsub-create-kyt-rules

sumsub-create-kyt-rules

Verified

Configure KYT transaction monitoring rules with tags, applicant risk scoring and risk levels. TRIGGER when the user says "create / add / set up KYT rules / TM rules", "configure transaction monitoring", describes scoring logic (flag/block/hold transactions by amount, country, direction, peer, or other conditions), wants to "update / change / edit an existing rule" (by name or title), asks to "configure applicant scoring / risk scoring / assessment", "set up tags", "define risk levels / thresholds", or "configure applicant risk". SKIP for applicant levels, questionnaires, PoA presets, workflows, or non-TM tasks.

FileKindSize
SKILL.mdskill md33.5 KB
examples/eval-finance-hold.jsonconfig340 B
examples/minimal.jsonconfig49 B
references/kyt-rule-schema.mdmarkdown21.2 KB
scripts/create_kyt_client_list.shexecutablescript410 B
scripts/get_kyt_applicant_assessment.shexecutablescript346 B
scripts/get_kyt_bundle.shscript550 B
scripts/get_kyt_client_list.shexecutablescript364 B
scripts/get_kyt_risk_level_settings.shexecutablescript314 B
scripts/get_kyt_rule.shexecutablescript346 B
scripts/get_kyt_rules.shexecutablescript565 B
scripts/get_kyt_tags.shexecutablescript331 B
scripts/patch_kyt_applicant_assessment.shexecutablescript1.8 KB
scripts/patch_kyt_risk_level_settings.shexecutablescript1.1 KB
scripts/post_kyt_rule.shexecutablescript1.1 KB
scripts/post_kyt_tag.shexecutablescript1015 B
scripts/sumsub_curl.shexecutablescript2.1 KB

scripts/patch_kyt_applicant_assessment.sh

View on GitHub
#!/usr/bin/env bash
# Replace applicant assessment scoring configuration.
# Usage: patch_kyt_applicant_assessment.sh [PAYLOAD_FILE|-]
#   Reads JSON payload from a file or stdin ("-" or omit for stdin).
#
#   Payload shape:
#   {
#     "scores": [
#       {
#         "id": "unique-id",          -- required
#         "tag": "TagName",           -- required; must match an existing KYT tag
#         "includeInTotalScore": true,
#         "scoreWeight": 1.0,
#         "styleClass": "red",        -- colour name (same values as riskLevel styleClass)
#         "color": "#FF000080",       -- hex #RRGGBBAA
#         "items": [...],             -- nested sub-scores (same structure, recursive)
#         "rules": [{"id": "...", "name": "...", "title": "..."}]
#       }
#     ],
#     "companyBeneficiarySettings": [
#       {
#         "beneficiaryType": "ubo",   -- one of: shareholder, representative, director, ubo,
#                                     --   companyOfficer, secretary, founder, investor,
#                                     --   legalAdvisor, authorizedSignatory, trustee,
#                                     --   trustBeneficiary, trustSettlor, trustProtector, payer
#         "weight": 1.0
#       }
#     ]
#   }
#   Requires manageKytSettings permission.
#
# Exit codes:
#   0 — HTTP 200; response body is the updated ApplicantAssessmentSettingsDto.
#   1 — HTTP 4xx/5xx; response body contains the error message, HTTP status on stderr.
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
: "${SUMSUB_APP_TOKEN:?}" "${SUMSUB_SECRET_KEY:?}"

BODY_ARG="${1:--}"
BODY_TMP="$(mktemp)"
trap 'rm -f "${BODY_TMP}"' EXIT

if [[ "${BODY_ARG}" == "-" ]]; then
  cat >"${BODY_TMP}"
else
  cp "${BODY_ARG}" "${BODY_TMP}"
fi

exec bash "$SCRIPT_DIR/sumsub_curl.sh" PATCH "/resources/api/agent/tm/settings/applicantAssessment" "${BODY_TMP}"
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall