/android-skills:credential-verifierfrom Android Skills
Builds an Android verifier app that requests and verifies digital credentials (ISO mdoc, SD-JWT) from holder wallets via OpenID4VP and DCQL using Jetpack Credential Manager. Supports native Android and WebView JavaScript bridge flows.
Ships in Android Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build an Android verifier (relying party) app that requests and verifies digital
credentials (mso_mdoc and dc+sd-jwt) from a user's holder wallet over
OpenID4VP (openid4vp-v1-unsigned) and Digital Credential Query Language
(dcql_query) using GetDigitalCredentialOption and
credentialManager.getCredential(), either directly in an Android app or
through a WebView JavaScript bridge. When reviewing digital credential
architecture, trust requirements, or verifier implementation snippets, consult
Digital credentials overview, About trust and safety,
Request credentials, and Request a credential through WebView. When
building a wallet app that stores and presents credentials, suggest the
credential-holder skill; when issuing credentials to a wallet, suggest the
credential-issuer skill; when implementing carrier TS.43 phone number
verification, suggest the phone-number-verification skill.
WebView JavaScript bridge targets API level 23 or higher, and androidx.credentials compiles with minSdk 23 or higher).settings.gradle.kts, root build.gradle.kts, or gradle/libs.versions.toml, unless already requested by the user or running non-interactively.androidx.webkit when bridging WebView requests) to the app module build script (app/build.gradle.kts or app/build.gradle; when checking full dependency snippets, consult Request credentials and Request a credential through WebView):| Scenario | Artifact | Key classes, constructor signatures, and package |
|---|---|---|
| All verifier flows | androidx.credentials:credentials:1.7.0-alpha03 (or 1.6.0+) | CredentialManager, GetCredentialRequest, GetCredentialResponse, GetDigitalCredentialOption(requestJson: String), DigitalCredential, and ExperimentalDigitalCredentialApi in androidx.credentials; GetCredentialException, GetCredentialCancellationException, GetCredentialInterruptedException, NoCredentialException, GetCredentialUnknownException, and GetCredentialCustomException in androidx.credentials.exceptions |
| All verifier flows | androidx.credentials:credentials-play-services-auth:1.7.0-alpha03 (or 1.6.0+) | Google Play services provider integration for Credential Manager |
WebView bridge | androidx.webkit:webkit:1.18.0 | WebViewCompat, WebViewCompat.WebMessageListener, WebMessageCompat, WebViewFeature, and JavaScriptReplyProxy in androidx.webkit |
mso_mdoc with doctype_value or dc+sd-jwt with vct_values) and minimum selective-disclosure claims to request, and whether verification runs directly in an Android screen or inside a WebView.app/build.gradle.kts, verifier client or repository classes, WebViewCompat.WebMessageListener bridge classes (when using WebView), ViewModels, and UI screens (such as MainActivity.kt).Before modifying files, inspect the Android project:
./gradlew assembleDebug to confirm the project compiles before making changes, and check app/build.gradle.kts and gradle/libs.versions.toml for minSdk, androidx.credentials, and androidx.webkit dependencies.Activity or Compose screen (such as MainActivity.kt or TasksScreen.kt) where verification is triggered so credentialManager.getCredential() receives an Activity Context.GetDigitalCredentialOption or DigitalCredential with @OptIn(androidx.credentials.ExperimentalDigitalCredentialApi::class) (omitted from the snippet in Request credentials).mso_mdoc or dc+sd-jwt) and multi-credential (dcql_query.credentials) JSON schemas in Request credentials ("protocol": "openid4vp-v1-unsigned", "response_type": "vp_token", "response_mode": "dc_api", "nonce", and "dcql_query"). Never wrap the Android GetDigitalCredentialOption(requestJson) payload in a browser-only {"providers": [...]} object.credentialJson to the app's backend for verification: Extract credential.credentialJson from DigitalCredential and send it with the session nonce to the app's backend to verify the cryptographic signature and issuer trust chain; never trust unverified claims directly on the client.WebView listener and AndroidView setup: When following Request a credential through WebView:
androidx.webkit:webkit:1.18.0 alongside the Credential Manager dependencies and inject the bridge.js script that intercepts navigator.credentials.get({ digital }).WebViewCompat.WebMessageListener.onPostMessage(view: WebView, message: WebMessageCompat, sourceOrigin: Uri, isMainFrame: Boolean, replyProxy: JavaScriptReplyProxy) (described in prose only in Request a credential through WebView): verify isMainFrame is true and sourceOrigin.scheme == "https", parse message.data, call credentialManager.getCredential with GetDigitalCredentialOption, and return credential.credentialJson (or a JSON error object) through replyProxy.postMessage(...).WebView(context).apply { ... } in AndroidView, pass this (not an undeclared webView variable) to WebViewCompat.addWebMessageListener, pass the declared handler variable to DigitalCredentialWebListener, and close the if (WebViewFeature.isFeatureSupported(...)) block before calling loadUrl("https://...").| Symptom | Cause | Fix |
|---|---|---|
| Experimental API compilation error | GetDigitalCredentialOption and DigitalCredential require opt-in | Add @OptIn(androidx.credentials.ExperimentalDigitalCredentialApi::class) to the calling class or function. |
Compilation error on CreateCredentialUnknownException in when (e: GetCredentialException) | CreateCredential*Exception doesn't inherit from GetCredentialException | Match GetCredentialUnknownException and GetCredentialCustomException instead. |
| Credential selector fails or returns invalid request | Using a browser providers wrapper object instead of OpenID4VP | Use "requests" with "protocol": "openid4vp-v1-unsigned", "response_type": "vp_token", "response_mode": "dc_api", and "dcql_query". |
WebView credential request fails silently | WebMessageListener not registered or origin not allowed | Check WebViewFeature.WEB_MESSAGE_LISTENER and register WebViewCompat.addWebMessageListener with explicit HTTPS allowedOriginRules before loadUrl. |
./gradlew assembleDebug to verify the Android project compiles without errors.app/build.gradle.kts includes androidx.credentials:credentials and androidx.credentials:credentials-play-services-auth (plus androidx.webkit:webkit for WebView flows)."protocol": "openid4vp-v1-unsigned", "response_type": "vp_token", "response_mode": "dc_api", and "dcql_query".credentialManager.getCredential() is called with an Activity Context and catches GetCredentialException subtypes.Present these reminders after completing verifier code changes:
nonce values on the app's backend and verify the returned DigitalCredential.credentialJson (vp_token issuer signature, trust chain, device binding, and nonce) on the backend server before trusting any claims.age_over_21 rather than full birth date or address) in dcql_query.CredentialManager and GetDigitalCredentialOption.{"providers": [...]} JSON schema for GetDigitalCredentialOption(requestJson) in an Android verifier app; always use "requests" with "protocol": "openid4vp-v1-unsigned" and "dcql_query".credential.credentialJson and the session nonce on the app's backend.GetDigitalCredentialOption and DigitalCredential with @OptIn(androidx.credentials.ExperimentalDigitalCredentialApi::class).GetCredentialCancellationException, GetCredentialInterruptedException, NoCredentialException, GetCredentialUnknownException, and GetCredentialCustomException when calling credentialManager.getCredential().isMainFrame and https sourceOrigin in WebView WebMessageListener.onPostMessage before forwarding credential requests to CredentialManager.references/android/identity/digital-credentials/credential-verifier/request-credential.md (opens in a new tab)references/android/identity/digital-credentials/credential-verifier/webview-request.md (opens in a new tab)references/android/identity/digital-credentials/index.md (opens in a new tab)references/android/identity/digital-credentials/trust-safety.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
42 skills in this plugin
/adaptiveInstructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto, and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API, and how to preserve UI, navigation, scroll, and media playback state across configuration changes (such as folding/unfolding a foldable, rotating a device, or resizing a window). It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as buttons) with varying target sizes, and adaptive layouts (including navigation areas - nav rails and nav bars) using the Compose Grid and FlexBox APIs. It also covers desktop experiences with keyboard shortcuts, tooltips and custom cursors./agp-9-upgradeUpgrades, or migrates, an Android project to use Android Gradle Plugin (AGP) version 9. Do not use this skill for migrating Kotlin Multiplatform (KMP) projects./android-cliProvides instructions for installing and using the `android` CLI. The `android` command-line tool is a critical tool for Android development and helps you create new Android projects, install APKs onto devices and emulators and launch and run apps on them, manage and interact with Android virtual devices (including screenshots and UI inspection), manage Android SDK components, inspect built artifacts (APK, AAB, JAR, AAR) for build and optimization details, render Compose previews, look up official Android documentation, and discover and install official Android skills./android-for-cars-parked-appsAdapt existing Android video streaming apps, games, and web browsers to run as parked apps on Android Auto and Android Automotive OS. Covers manifest configuration, Google Play hardware feature declarations, compatibility mode, back navigation affordances, orientation and display continuity, controllable system bar insets, irregular display cutouts, driver distraction lifecycle handling, MediaSession playback restrictions with CarUxRestrictionsManager, background audio while driving, and browser sensitive data protection. Use this skill when migrating, building, or auditing parked apps for cars to meet Car App Quality guidelines. Don't use for media audio apps, templated Car App Library navigation, point of interest, internet of things, weather, or communication apps designed for use while driving./android-intent-securityAudits, detects, and remediates Android Intent and component security vulnerabilities. Use this skill when auditing component configurations in AndroidManifest.xml (activities, services, receivers) or source code handling incoming Intents (getIntent, getParcelableExtra) to prevent Intent Redirection and unauthorized access. Don't use for network security, TLS configuration, or general runtime permission request flows./android-jni-securityAudits, detects, and remediates Android JNI and native C/C++ boundary security vulnerabilities. Use this skill when reviewing, auditing, hardening, or securing Android JNI boundaries, Kotlin external or Java native methods, and C/C++ shared libraries (System.loadLibrary) against buffer overflow, memory pinning, Time-of-Check to Time-of-Use (TOCTOU) file path races, hardcoded C++ cryptographic keys, cross-thread JNI reference and session callback lifecycles, or unhandled pending JVM exceptions and local reference leaks. Don't use for pure managed Kotlin or Java code without native JNI bindings or general reverse-engineering of stripped binaries.2 plugins ship this exact skill · first indexed Nov 24, 2026
npx claudepluginhub android/skills --plugin android-skillsOther plugins' skills for the same job