
sumsub-integrate-msdk
Integrate the Sumsub Mobile SDK (IdensicMobileSDK / SNSMobileSDK) into a native iOS or Android app — even when the user doesn't name the SDK (e.g. "add Sumsub/KYC to my iPhone app", "add KYC to my Android app", "show the verification screen", "launch Sumsub from a view controller / activity"). Detects the platform from the project (iOS Xcode/Swift vs Android Gradle/Kotlin) and follows the matching track. Covers install, permissions, init, token refresh, and presenting / launching the flow. SKIP for web (sumsub-integrate-websdk), backend / API-only token signing (sumsub-api-generic), theming (sumsub-theme-msdk), and React Native / Flutter (not supported — native iOS & Android only).
- Installs
- 979
- Last 24h
- +16
- Trending rank
- #6883
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/sumsub/agent-skills --skill sumsub-integrate-msdk- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads sumsub-integrate-msdk automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Sumsub — Mobile SDK integration (iOS & Android)
Embed Sumsub KYC into an existing native app via the IdensicMobileSDK framework
(main class SNSMobileSDK), from dependency install to presenting / launching the
verification flow — on iOS (Swift) or Android (Kotlin).
This is the trunk: read the always-on sections below (intake, asking-vs-doing), detect the platform, then use the decision table to open only the branch files that match the platform, the project, and the user's answers.
Intake — ask these three questions first, in one message
Before touching any project file, ask all three together:
-
Launch point. "From which screen should the Sumsub flow open? Please share the class name or describe the screen." — iOS: a ViewController or SwiftUI view; Android: an Activity, Fragment, or Composable.
-
Access token source. "Does your app already have a way to fetch a Sumsub access token from your backend? (If yes, share the function name, endpoint URL, or service class. If not, I'll add a placeholder you can fill in when your backend is ready.)"
-
Optional modules. "The base SDK covers standard verification flows and is always installed. On top of it, do you need any of these add-ons?
- NFC (passport / eMRTD chip reading) — iOS:
MRTDReader; Android: thenfcmodule – read the chip on biometric passports - VideoIdent — live video call with a moderator
- EID — German eID card reading
- Fisherman / Device Intelligence — fraud signals (iOS: optional module; Android: bundled in the base SDK since 1.43.0 — nothing to add) Skip them if you're not sure — they can be added later."
Modules are purely additive. In a multi-select, list only the modules — an empty selection already means "base only"; don't add "base only" as a co-selectable peer.
- NFC (passport / eMRTD chip reading) — iOS:
Do not ask about: the App Token or the secret key — those are server concerns that never touch the app.
Asking vs doing — keep approvals meaningful
- Read-only is free — scan / grep / read
Info.plist,AndroidManifest.xml& build files without asking. - Batch mutations into one approval, not one per line ("I'll add these 3 Info.plist keys [list] + this call site [diff] — apply?").
- Ask explicitly only for: editing existing app code, project-mutating commands
(
pod install, a Gradle sync), anything irreversible, and decisions you couldn't settle in intake.
Detect the platform (do this before opening any branch file)
Decide whether this is an iOS or Android project — the install steps, the permission model, and the generated language all differ. Read-only.
# iOS markers
find . -maxdepth 3 \( -name '*.xcodeproj' -o -name '*.xcworkspace' -o -name 'Podfile' -o -name 'Package.swift' \) 2>/dev/null
# Android markers
find . -maxdepth 3 \( -name 'build.gradle' -o -name 'build.gradle.kts' -o -name 'settings.gradle*' -o -name 'AndroidManifest.xml' \) 2>/dev/null
- iOS only (
.xcodeproj/Package.swift/Podfile, no Gradle) → iOS track. - Android only (
build.gradle[.kts]/AndroidManifest.xml, no Xcode) → Android track. - Both present (a monorepo, or a React-Native / Flutter shell with native folders) → report both and ask which platform to integrate. One platform per run. (React Native / Flutter wrappers themselves are out of scope — this skill targets the native SDKs; the Step-1 scan bails on a detected wrapper.)
- Neither → ask the user to point at the app's source root.
Confirm the detected platform if there was any ambiguity, then follow the matching track.
How to navigate this skill
After intake, open ONLY the rows that match the detected platform, the project (from Step 1), and the user's intake answers. Each branch file is self-contained and ends with a Next pointer. A letter (2A/2B, 6A/6B) marks a branch — pick one; plain numbers run in sequence.
iOS track
| Step | Condition | Read |
|---|---|---|
| 1. Scan | always (first, after intake) | ios/stages/1-scan.md |
| 2A. Install — CocoaPods | CocoaPods chosen (per Step 1) | ios/stages/2a-install-cocoapods.md |
| 2B. Install — SPM | SPM chosen (per Step 1; the default) | ios/stages/2b-install-spm.md |
| 3. Permissions & capabilities | always | ios/stages/3-permissions.md |
| 4. Integration file | always | ios/stages/4-integration-code.md |
| 5. Wire into target | always (right after creating the file) | ios/stages/5-wire-target.md |
| 6A. Launch — UIKit | host is a UIKit ViewController | ios/stages/6a-launch-uikit.md |
| 6B. Launch — SwiftUI | host is a SwiftUI view | ios/stages/6b-launch-swiftui.md |
Android track
| Step | Condition | Read |
|---|---|---|
| 1. Scan | always (first, after intake) | android/stages/1-scan.md |
| 2. Install — Dependencies | always | android/stages/2-install-dependencies.md |
| 3. Integration file | always (Gradle auto-compiles — no wire-into-target step) | android/stages/3-integration-code.md |
| 4. Launch | always | android/stages/4-launch.md |
Fallback (last resort only). This skill and its branch files are the primary source — don't reach for external docs by default. Only if you hit a genuine blocker they don't resolve, consult the Sumsub docs: iOS · Android.
When the tree is walked, return here for Guardrails and Handoff.
Guardrails — what this skill must never do
- Detect the platform first — never emit Swift into an Android project or Kotlin into an iOS one; if both are present, ask which to integrate.
- Never edit existing app code beyond the single targeted call site the user approved in intake.
- (iOS) Let the SDK present itself — in SwiftUI too. Always launch via
SumsubVerification.start()(sdk.present()/sdk.present(from:)). Never strong-hold the SDK or itsmainVCacross the flow, and never bridgesdk.mainVCinto a SwiftUI.fullScreenCover/.sheet.mainVCstrong-retains the SDK and the SDK firesonDidDismissfrom that controller'sdealloc; holding it yourself delays teardown and causes "opens every other time" + a crash on re-open. The SDK owns presentation and dismissal — one owner, clean re-open. - (Android) Never add camera/mic permissions or runtime prompts — the SDK declares and requests them itself; adding your own can double-prompt or conflict.
- (Android) The token-refresh handler is synchronous —
onTokenExpired()must return the token on a background thread; bridge the suspend token call withrunBlocking, not the iOS async/callback pattern. - Never run a project-mutating command (
pod install, a Gradle sync/build) without explicit user permission in the current message. - Never ask for or reference the App Token or secret key — tokens are minted server-side.
- Never store or reference the App Token or secret key in any app file.
- Never silently overwrite an existing Info.plist / AndroidManifest value — always show the current value and ask first.
- Never apply theme changes in this skill — styling belongs in
sumsub-theme-msdk. - Never gate access on in-app callbacks — the authoritative verdict comes from the backend (webhook + applicant GET), not the SDK callbacks.
Handoff
After all changes are complete, summarise clearly:
- Files created / modified — list each with a one-line description.
- Stub that needs filling in — if the token fetch is a placeholder, say so explicitly and describe what the user
must implement. (On Android it's the single
SumsubTokenProvider.fetchAccessTokensuspend function — the launcher reuses it for mid-session refresh.) - Build step — iOS: "Run
pod install, then open the.xcworkspaceand build" or "Build and run — SPM packages resolve automatically"; Android: "Sync Gradle, then build & run". - How to test — explain: get a sandbox access token from your backend (or temporarily hardcode one), trigger
verification from the launch point (iOS:
SumsubVerification.start(…); Android: the ViewModel action whose effect makes the screen callSumsubLauncher.present(…)), and verify the Sumsub flow appears. (NFC modules need a physical device — not the iOS simulator / Android emulator.) - Source of truth — remind the user: the final verification result comes from the backend webhook + applicant read, not from the SDK callbacks.
- Next steps — point to
sumsub-theme-msdkfor styling (iOS & Android).
FAQ
What does the sumsub-integrate-msdk skill do?
Integrate the Sumsub Mobile SDK (IdensicMobileSDK / SNSMobileSDK) into a native iOS or Android app — even when the user doesn't name the SDK (e.g. "add Sumsub/KYC to my iPhone app", "add KYC to my Android app", "show the verification screen", "launch Sumsub from a view controller / activity"). Detects the platform from the project (iOS Xcode/Swift vs Android Gradle/Kotlin) and follows the matching track. Covers install, permissions, init, token refresh, and presenting / launching the flow. SKIP for web (sumsub-integrate-websdk), backend / API-only token signing (sumsub-api-generic), theming (sumsub-theme-msdk), and React Native / Flutter (not supported — native iOS & Android only).
How do I install sumsub-integrate-msdk?
Run npx skills add https://github.com/sumsub/agent-skills --skill sumsub-integrate-msdk in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/sumsub-integrate-msdk/ (personal) or .claude/skills/sumsub-integrate-msdk/ (project).
Which AI agents can use sumsub-integrate-msdk?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is sumsub-integrate-msdk safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains sumsub-integrate-msdk?
It is published by sumsub in sumsub/agent-skills. It has 979 recorded installs.
More from sumsub/agent-skills
sumsub-api-auth
sumsub/agent-skills
Authenticate to the Sumsub API with an App Token + secret key (HMAC-SHA256 request signing). TRIGGER when the user asks to "call / sign / authenticate Sumsub API requests", debugs 401 Unauthorized / signature errors against api.sumsub.com, or needs a working request example with X-App-Token / X-App-Access-Sig / X-App-Access-Ts headers. SKIP only when a more specific skill in this repo (questionnaire/level/workflow/POA-preset/generic) already covers the user's actual task — those skills sign requests the same way and only need this one for auth deep dives.
sumsub-api-generic
sumsub/agent-skills
Catch-all fallback for any Sumsub API task that does NOT match a more specific skill (e.g. create-sumsub-level, sumsub-create-questionnaire, sumsub-api-auth). TRIGGER when the user wants to call, inspect, or debug a Sumsub API endpoint not otherwise covered — fetching applicants, listing levels, reviewing AML hits, exporting data, generating SDK tokens, anything against api.sumsub.com. The procedure — locate the right endpoint in the OpenAPI schema, read its request/response shape, build the payload, sign with App Token, and validate. SKIP whenever a narrower Sumsub skill already covers the request.
sumsub-check-skills-version
sumsub/agent-skills
Verify that the locally installed Sumsub agent-skills package is compatible with the published version before doing any Sumsub work. TRIGGER at the start of any task that touches Sumsub — Sumsub Dev MCP tools (mcpSumsubDev), KYC/AML workflows, applicants, checks, transactions, verification levels, verification links, questionnaires, fraud network, VASP lists, or anything Sumsub-related — so the user is warned before a stale skills package produces wrong results. Also use this skill when the user explicitly asks "are my Sumsub skills up to date / current", "is there a newer version of the Sumsub skills", or similar. Skip the actual update (the user runs npx skills add sumsub/agent-skills --all themselves) and skip any other Sumsub API or entity task — those have their own skills.
sumsub-create-poa-preset
sumsub/agent-skills
Create or update a Sumsub Proof-of-Address (POA) preset. POST /resources/api/agent/poaStepSettings to create new, PATCH same path to update (id in body), GET /resources/api/agent/poaStepSettings/{id} to read one back. TRIGGER when the user asks to "create / add / build / configure / update / edit a POA preset" or "PoA step settings", configure which proof-of-address document types are accepted (utility bills, bank statements, tax bills, etc.), set validity periods per provider type, enable POI-as-POA (accept identity doc as proof of address), tune the cross-validator (name/address fuzzy match between POI and POA), or add per-country POA overrides. SKIP for attaching a preset to a level (set poaStepSettingsId on the level instead, via sumsub-create-level), or for non-POA presets (cross-check presets, permission presets, etc.).
sumsub-manage-webhooks
sumsub/agent-skills
Manage Sumsub clientWebhooks (event subscriptions for applicantReviewed / applicantPending / kytTxn / etc.) — reads via /resources/api/clientWebhooks, writes via /resources/api/agent/clientWebhooks. Sandbox only — production webhooks must be created by a human directly in the Sumsub dashboard. TRIGGER when the user asks to "list / retrieve / show webhooks", "create / add / register a webhook", or "update / edit / change a webhook target / event list / secret / signature algorithm" against their sandbox tenant. SKIP for production webhook setup (refer the user to the dashboard), for unrelated webhook surfaces (Stripe / videoIdent / Fireblocks / NFC / partner-specific receive paths under /resources/webhooks/...), for testing one-off delivery (use the inspectionCallbacks/testWebhook endpoint directly), and for KYT-only webhook routing (that's managed in the Sumsub dashboard's KYT section). The public API does not expose delete or per-webhook delivery stats — for those, refer
sumsub-integrate-websdk
sumsub/agent-skills
End-to-end recipe for adding Sumsub KYC to a website or web app via the Sumsub WebSDK. TRIGGER when the user asks to "integrate / embed / add Sumsub", "show the KYC widget", "add WebSDK", "verify users with Sumsub on the frontend", supplies an existing levelName they want to plug into a page, or asks how to wire up access tokens / lifecycle events / webhooks for Sumsub verification in an arbitrary project. Covers the whole loop — level setup, server-side access-token signing, snsWebSdk init (vanilla canonical, React recipe), client lifecycle events, token refresh, source-of-truth via webhooks + applicant GET, sandbox testing, go-live checklist. SKIP for building the level/questionnaire/POA-preset payload itself (use the sibling skills), or for backend-only API calls with no frontend (use sumsub-api-generic).
Popular mobile skills
design-mobile-apps
designed-by-ai/skills
Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.
ios-design
uizze.sh
Design and review iOS UI/UX for iPhone apps in SwiftUI, UIKit, or React Native. Use for mobile app design, screen redesigns, navigation flows, typography, forms, keyboard and safe-area layout, and accessibility checks. Apply Apple Human Interface Guidelines and consult real product references through the optional Uizze connection.
vercel-react-native-skills
vercel-labs/agent-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
animate-expo
emilkowalski/skills
Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use animate.
xcode-project-setup
firebase/agent-skills
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
firebase-remote-config-basics
firebase/agent-skills
Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.