credential-issuer
Issue digital credentials to user holder wallets from an Android issuer
Install / Use
npx skills add android/skills --skill credential-issuerInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
MarketingSupported Platforms
Our assessment of credential-issuer
credential-issuer scores 85/100 on our quality scale, 423rd of 647 Marketing skills we index.
Its SKILL.md is 10 KB long, well organised into 9 sections and no code examples: a thorough specification that gives an agent plenty to work with.
With 7,514 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so credential-issuer is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-25. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
credential-issuer compared with similar skills
All 4 of these similar skills score higher than credential-issuer; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| credential-issuer (this skill)by android | 85 | 7.5k | 2mo ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 114.7k | 1d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 2mo ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 2mo ago | SKILL.md |
| prospectingby coreyhaines31 | 100 | 62.2k | 5d ago | SKILL.md |
Frequently asked questions
- How do I install credential-issuer?
- Run
npx skills add android/skills --skill credential-issuer. The install tabs above show the steps for each supported agent. - Which AI agents does credential-issuer work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is credential-issuer safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is credential-issuer still maintained?
- The repository was last updated about 2 months ago, so credential-issuer is actively maintained.
Skill content
View source on GitHubname: credential-issuer description: Issue digital credentials to user holder wallets from an Android issuer app over OpenID4VCI using Jetpack Credential Manager and hardware-backed Android Keystore attestation. Use this skill when building an Android credential issuer app, provisioning credentials to wallets with CreateDigitalCredentialRequest and CredentialManager.createCredential, constructing OpenID4VCI (openid4vci-v1) credential offer JSON payloads, or configuring and validating android_keystore_attestation certificate chains and c_nonce challenges. Don't use for holder wallet registration (RegistryManager), requesting credentials as a verifier (GetDigitalCredentialOption), passkeys, or carrier TS.43 phone number verification. license: Complete terms in LICENSE.txt metadata: author: Google LLC last-updated: '2026-11-20' keywords:
- Android
- identity
- digital credentials
- Credential Manager
- credential issuer
- CreateDigitalCredentialRequest
- CreateDigitalCredentialResponse
- OpenID4VCI
- openid4vci-v1
- Keystore attestation
- android_keystore_attestation
- c_nonce
- attestationChallenge
Build an Android credential issuer app that provisions digital credentials into
a user's holder wallet over OpenID4VCI (openid4vci-v1) using
CreateDigitalCredentialRequest and credentialManager.createCredential(),
alongside backend hardware-backed Android Keystore attestation
(android_keystore_attestation). When reviewing digital credential
architecture, client issuance flows, or Keystore attestation requirements,
consult Digital credentials overview, Issue credentials, and
Hardware-backed attestation. When building a holder wallet app that
receives and stores issued credentials, suggest the credential-holder skill;
when requesting credentials as a verifier, suggest the credential-verifier
skill.
Prerequisites and setup
- Android version compatibility: Supported with
androidx.credentials:credentials1.6.0and higher (minSdk23 or higher). - Build config permission: Ask for user confirmation before modifying
settings.gradle.kts, rootbuild.gradle.kts, orgradle/libs.versions.toml, unless already requested by the user or running non-interactively. - Dependencies and package mapping: Add the Credential Manager artifacts to the app module build script (
app/build.gradle.ktsorapp/build.gradle; when checking full dependency declarations, consult Issue credentials):
| Artifact | Key classes, constructor signatures, and package |
|---|---|
| androidx.credentials:credentials:1.7.0-alpha03 (or 1.6.0+) | CredentialManager, CreateDigitalCredentialRequest(requestJson: String, origin: String?), CreateDigitalCredentialResponse(responseJson: String), and ExperimentalDigitalCredentialApi in androidx.credentials; CreateCredentialException, CreateCredentialCancellationException, CreateCredentialInterruptedException, CreateCredentialNoCreateOptionException, CreateCredentialUnsupportedException, CreateCredentialProviderConfigurationException, CreateCredentialCustomException, and CreateCredentialUnknownException in androidx.credentials.exceptions |
| androidx.credentials:credentials-play-services-auth:1.7.0-alpha03 (or 1.6.0+) | Google Play services provider integration for Credential Manager |
Expected inputs and file scope
- Required inputs: The
credential_issuerURL,credential_configuration_ids, and grant type (pre-authorized_codewith optionaltx_codeorauthorization_codewithissuer_state). - Files to modify:
app/build.gradle.kts, issuer client or repository classes, ViewModels, and UI screens (such asMainActivity.kt).
Codebase exploration
Before modifying files, inspect the Android project:
- Validate baseline build and inspect configuration: Run
./gradlew assembleDebugto confirm the project compiles before making changes, and checkapp/build.gradle.ktsandgradle/libs.versions.tomlforminSdkandandroidx.credentialsdependencies. - Locate target UI entry points: Identify the
Activityor Compose screen (such asMainActivity.ktorTasksScreen.kt) where credential issuance is triggered socredentialManager.createCredential()receives anActivityContext.
Critical implementation mandates
Follow the step-by-step client implementation in Issue credentials and apply these non-obvious rules:
- Opt in to experimental APIs: Annotate classes or functions referencing
CreateDigitalCredentialRequestorCreateDigitalCredentialResponsewith@OptIn(androidx.credentials.ExperimentalDigitalCredentialApi::class). - Enclose the OpenID4VCI request JSON in root
{ ... }braces: The example JSON snippet in Issue credentials starts directly with"requests": [...]without outer braces. Always wrap the root payload in{ "requests": [...] }with"protocol": "openid4vci-v1"(not"openid4vci1.0") and a"data"object specifying"credential_issuer","credential_configuration_ids"(a JSON array of one or more credential configuration IDs), and"grants"(such asurn:ietf:params:oauth:grant-type:pre-authorized_codeorauthorization_code). - Pass
origin = nullin standard Android issuer apps: When instantiatingCreateDigitalCredentialRequest(requestJson = issuanceRequestJson, origin = null), always passorigin = nullfor standard Android issuer apps. Only privileged browsers holdingandroid.permission.CREDENTIAL_MANAGER_SET_ORIGINpass a non-nullorigin; passing a non-nulloriginfrom a standard app throws aSecurityException. - Handle asynchronous issuance completion and exceptions: Cast the returned
CreateCredentialResponsefromcredentialManager.createCredential()toCreateDigitalCredentialResponseand inspectresponse.responseJson(noting that actual credential provisioning can complete asynchronously after the holder accepts the offer), and catch allCreateCredentialExceptionsubtypes shown in Issue credentials.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Experimental API compilation error | CreateDigitalCredentialRequest and CreateDigitalCredentialResponse require opt-in | Add @OptIn(androidx.credentials.ExperimentalDigitalCredentialApi::class) to the calling class or function. |
| SecurityException on createCredential | Non-null origin passed by a non-privileged Android app | Pass origin = null to CreateDigitalCredentialRequest. |
| CreateCredentialNoCreateOptionException thrown | No installed wallet app has registered matching openid4vci-v1 creation options | Verify the JSON is wrapped in { "requests": [...] } with "protocol": "openid4vci-v1" and prompt the user to install or set up a compatible digital wallet app. |
| Keystore attestation generation fails on holder device | c_nonce exceeds 128 UTF-8 bytes | Restrict c_nonce generation on the issuer's nonce endpoint to at most 128 UTF-8 bytes. |
Verification and reporting guidelines
- [ ] Run
./gradlew assembleDebugto verify the Android project compiles without errors. - [ ] Verify
app/build.gradle.ktsincludesandroidx.credentials:credentialsandandroidx.credentials:credentials-play-services-auth. - [ ] Verify
CreateDigitalCredentialRequestpassesorigin = nulland uses a valid{ "requests": [...] }JSON object with"protocol": "openid4vci-v1". - [ ] Verify
credentialManager.createCredential()is called with anActivityContextand catchesCreateCredentialExceptionsubtypes.
Post-implementation warnings for the human developer
Present these backend reminders from Hardware-backed attestation after completing client-side issuer code changes:
- Issuer
.well-knownattestation metadata: In the issuer backend'scredential_configurations_supportedmetadata, declareproof_types_supported.android_keystore_attestationwithproof_signing_alg_values_supported(such as["ES256"]) andkey_attestations_required(key_mint_security_levelin["Software", "TrustedEnvironment", "StrongBox"]anduser_auth_typesin["LSKF", "BIOMETRIC"]). - Nonce size limit (128 bytes max): Verify
c_noncevalues generated by the issuer's nonce endpoint are at most 128 UTF-8 bytes so they fit in the Android KeystoreattestationChallengeOCTET_STRING. - Backend X.509 attestation chain validation: Validate each Base64-encoded X.509 certificate chain in
proofs.android_keystore_attestationon the issuer's backend server (for example, using the server-side Android Key Attestation library): verify the chain back to the Google hardware Root of Trust, check the certificate revocation status list, verify theattestationChallengein the leaf certificate matchesc_nonce, and checkkeyMintSecurityLevelanduserAuthTypeagainst the issuer's metadata requirements before signing credentials.
Antipatterns
- NEVER implement digital credential issuance using only generic Android share intents (
Intent.ACTION_SEND) or local storage without integratingCredentialManagerandCreateDigitalCredentialRequest. - NEVER pass a non-null
origintoCreateDigitalCredentialRequestfrom a standard Android issuer app; always passorigin = null. - NEVER generate a
c_noncelonger than 128 UTF-8 bytes for Android Keystore attestation.
Best practices
- MUST annotate classes or functions using
CreateDigitalCredentialRequestandCreateDigitalCredentialResponsewith@OptIn(androidx.credentials.ExperimentalDigitalCredentialApi::class). - MUST handle
CreateCredentialExceptionsubtypes (includingCreateCredentialCancellationException,CreateCredentialNoCreateOptionException, andCreateCredentialUnsupportedException) when callingcredentialManager.createCredential(). - MUST verify the
attestationChallengein the leaf certificate extension matchesc_nonceand check Android Keystore certificate revocation during backend key attestation validation.
Related Skills
Agent-Reach
114.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
prospecting
62.2kWhen the user wants to find and qualify prospects for outbound, or asks who to target first, which signal to prioritize, or where to spot buyers with the problem: buying signals, enrichment, verification, account research.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
