openid4vc
Skill1 starsChanged 2 months agoMITView on GitHub
OpenID4VC: issue and verify verifiable credentials over OAuth. Use when building or reviewing a credential issuer, wallet or verifier with OpenID4VCI 1.0, OpenID4VP 1.0 or HAIP 1.0 (the 1.1 drafts tracked; upgrades from Implementer's Drafts such as VCI draft 13 and VP ID2): credential offers, authorization and pre-authorized code flows, issuer metadata at /.well-known/openid-credential-issuer, nonce and credential endpoints, key proofs, key and wallet attestations, DCQL queries, vp_token responses, client identifier prefixes such as x509_hash, direct_post.jwt and the W3C Digital Credentials API (dc_api). Also use it for SD-JWT VC (dc+sd-jwt), ISO mdoc (mso_mdoc) and W3C VCDM credentials at the protocol level, and OpenID conformance testing. Triggers: OID4VCI, OID4VP, HAIP, verifiable credentials, digital wallet, mDL, SD-JWT VC, DCQL, vp_token, credential offer, Presentation Exchange migration.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- find-skillsSkill
- a2aSkill
- ag-uiSkill
- ap2Skill
- asyncapiSkill
- authzenSkill
- cedarSkill
- cloudeventsSkill
- eu-ai-actSkill
- fapiSkill
- gnapSkill
- jwtSkill
- mcp-authorizationSkill
- oauthSkill
- ocsfSkill
- openapi-arazzoSkill
- openapi-overlaySkill
- openapiSkill
- openfeatureSkill
- openid-connectSkill
- openid-federationSkill
- openidSkill
- opentelemetry-genaiSkill
- owasp-agenticSkill
- problem-detailsSkill
- ratelimit-headersSkill
- scaledock-agent-permissionsSkill
- scaledock-enterprise-identitySkill
- scaledock-http-apiSkill
- scaledock-mcp-serverSkill
- scaledock-repo-standardSkill
- scimSkill
- shared-signalsSkill
- spiffeSkill
- standard-schemaSkill
- typespecSkill
- web-bot-authSkill
- webmcpSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
Every party supports ES256 and SHA-256.
- Distinctive: line 46
Pick the versions and pin roles, flows, formats and profile: Use the 1.0 Finals unless a named consumer needs a legacy draft for reading.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenID4VC
OpenID for Verifiable Credentials is the OpenID Foundation's family of protocols for verifiable credentials. OpenID4VCI issues credentials to a wallet over OAuth 2.0. OpenID4VP lets a wallet present credentials to a verifier. HAIP profiles both for high-assurance deployments. With this skill an agent builds or reviews an issuer, a wallet or a verifier, writes DCQL queries, wires up the browser Digital Credentials API, and prepares for the OpenID conformance tests.
Follow the workflow below step by step. Every rule here comes from a source in Sources, with the section it cites. When a rule and the pinned source disagree, the source wins; when the source has a newer revision than the pin, follow the refresh steps.
Inputs (fill in, or ask before starting)
- Role: credential issuer (with its authorization server), wallet, or verifier. A wallet implements both the issuance and presentation sides.
- Flows: issuance with the authorization code flow, the pre-authorized code flow or both; presentation through redirects (same-device or cross-device) or through the Digital Credentials API.
- Formats:
dc+sd-jwt,mso_mdoc,jwt_vc_json,jwt_vc_json-ldorldp_vc(OpenID4VCI Appendix A, OpenID4VP Appendix B). - Profile: plain OpenID4VCI and OpenID4VP, or HAIP. HAIP is required for OpenID certification of both.
- Target version, per specification: OpenID4VCI 1.0, OpenID4VP 1.0 and HAIP 1.0 are current (the defaults). OpenID4VCI ID1 (draft 13), OpenID4VCI ID2 (draft 15), OpenID4VP ID2 (draft 18), OpenID4VP ID3 (draft 23) and HAIP ID1 (draft 03) are legacy: read them and upgrade, never author them; OpenID4VP ID2 is still met in ISO 18013-7 Annex B deployments. OpenID4VCI 1.1, OpenID4VP 1.1 and HAIP 1.1 are previews (posture: track): never emit them. See
references/versions.md. - Revision: the pinned revision in Sources, unless the user names another.
- Sources: when refreshing this skill or when a rule looks out of date, re-read every URL in Sources first, check the DCP WG specifications page and each specification's errata URL for a newer revision, and update the pins.
Invariants
- Issuer identity and metadata (OpenID4VCI §12.2.1, §12.2.2). The credential issuer identifier is an
httpsURL without query or fragment. Metadata is fetched over TLS from/.well-known/openid-credential-issuerinserted between host and path, and itscredential_issuerequals the identifier. - Offers are untrusted (OpenID4VCI §13.5). A wallet validates the issuer in a credential offer exactly as if it had started the flow, and never accepts credentials just because an offer arrived.
- Pre-authorized codes are short-lived and single use (OpenID4VCI §4.1.1, §13.6). A transaction code (
tx_code) sent over a separate channel mitigates replay. To resist transaction-code phishing, wallets should talk only to trusted issuers, and may show the user which issuer will receive the code. - Key proofs are fresh and audience-bound (OpenID4VCI §7, §8.2, Appendix F). A
jwtproof hastypopenid4vci-proof+jwt, an asymmetricalg,audset to the issuer identifier and, when a nonce endpoint exists,nonceset to ac_nonce. - Long-lived access tokens are sender-constrained (OpenID4VCI §13.10, §13.2). Tokens that live longer than about 5 minutes are not issued as bearer tokens; DPoP is recommended for native wallets.
- Presentation requests are fresh and identify the verifier (OpenID4VP §5.2, §5.9). Each request has a new random
nonce, aclient_idwith its client identifier prefix, and, when signed, a request object withtypoauth-authz-req+jwt. - Every presentation is bound to audience and nonce (OpenID4VP §14.1.2, Appendix A.4). The audience is the full client identifier, or
origin:<origin>over the Digital Credentials API. The verifier rejects the response if any presentation has the wrong nonce. - DCQL is all or nothing per credential (OpenID4VP §6.4). A wallet returns no claims from a credential if it cannot satisfy the query, and no credentials if a required credential set cannot be met.
valuesmatching is best effort and never a security check. direct_postis protected against session fixation (OpenID4VP §8.2, §14.2, §14.3). The response URI returns aredirect_uriwith a fresh response code, and the verifier's frontend must present that code to fetch the result.- Encrypted responses use the verifier's request keys (OpenID4VP §8.3). The wallet encrypts to a key from
client_metadata.jwks, uses the JWK'salg, echoes itskid, and picksencfromencrypted_response_enc_values_supported(defaultA128GCM). - HAIP, when chosen, narrows every choice (HAIP §4 to §8).
- Issuance uses the authorization code flow, FAPI 2.0 with DPoP, client authentication at PAR and token endpoints, and key attestations.
- Presentation uses
vp_token, DCQL,x509_hashfor signed requests,direct_post.jwtover redirects ordc_api.jwtover the DC API, and ECDH-ES on P-256. - Every party supports ES256 and SHA-256.
Workflow
- Pick the versions and pin roles, flows, formats and profile. Use the 1.0 Finals unless a named consumer needs a legacy draft for reading. Record the rest from the inputs.
->
references/versions.md✓ Each family has a recorded target that is not a legacy or preview line, every flow and format is named, and HAIP is in or out. - Build issuance. Issuer metadata, credential offer, authorization or pre-authorized code, token, nonce, credential, deferred and notification endpoints, and the wallet side of each.
->
references/issuance.md✓ A wallet obtains a credential from metadata alone, and a replayed proof or offer is rejected. - Build the presentation request and response handling. Client identifier prefixes, request objects, response modes, encryption, errors and VP token validation.
->
references/presentation.md✓ The verifier rejects a presentation with a wrong nonce or audience, anddirect_postuses a response code. - Write the DCQL query. Credential queries, claims, claim sets, credential sets and trusted authorities.
->
references/dcql.md✓ Each query asks for the least information that meets the use case, and the wallet's selection rules give the intended result. - Add the Digital Credentials API if the verifier is a website. Protocol identifiers, signed and unsigned requests,
expected_originsand theorigin:audience. ->references/dc-api.md✓ The request usesopenid4vp-v1-*, and the KB-JWTaudisorigin:<origin>. - Handle credential formats. Format identifiers, format-specific metadata, query parameters and holder-binding proofs.
->
references/formats.md✓ Each format has its issuer metadata, its DCQLmeta, and its presentation check. - Apply HAIP if required. Issuance, presentation, SD-JWT VC, mdoc and crypto requirements.
->
references/haip.md✓ Every HAIP row in the checklist holds for the chosen flows. - Prepare certification. Choose the HAIP test plans for wallet, verifier or issuer.
->
references/certification.md✓ The plan, credential format, response mode and client identifier prefix are configured. - Upgrade (only when asked). Follow the upgrade section for each step from the source draft to the 1.0 Final, per family.
->
references/versions.md✓ No Presentation Exchange,client_id_scheme, JARM,prooforvc+sd-jwtremains, and the conformance tests pass against 1.0.
Verify before done
- Issuer metadata is served at the well-known path with a matching
credential_issuer, and every configuration has aformat. - Credential requests use
credential_identifierorcredential_configuration_id, never both, and carry freshproofswhen proofs are required. - The issuer rejects proofs with the wrong
typ,audornonce, a symmetricalg, or a private key in the header. - Verifier requests carry a fresh
nonce, a prefixedclient_idand eitherdcql_queryor a DCQL scope, not both. - The verifier checks integrity, holder binding, audience, nonce, query criteria and its own policy for every presentation, then the set as a whole.
direct_postresponses use a response code; encrypted responses use the request's key and an allowedenc.- Over the DC API, signed requests carry
expected_origins, and responses are bound toorigin:<origin>. - If HAIP is in scope, the matching conformance test plans finish with no failures.
- Nothing from a 1.1 editor's draft or an Implementer's Draft is emitted.
Reference index
references/versions.md: the version lines of OpenID4VCI, OpenID4VP and HAIP, which to use, what changed since each Implementer's Draft, upgrade steps and the 1.1 previews. Load for steps 1 and 9.references/issuance.md: OpenID4VCI issuer metadata, offers, grants, token, nonce, credential, deferred and notification endpoints, proofs, attestations and errors.references/presentation.md: OpenID4VP requests, client identifier prefixes, response modes, encryption, errors, validation and security checks, with TypeScript.references/dcql.md: the Digital Credentials Query Language, claims path pointers and selection rules, with examples.references/dc-api.md: OpenID4VP over the W3C Digital Credentials API, with a browser example.references/formats.md: SD-JWT VC, ISO mdoc and W3C VCDM parameters in OpenID4VCI and OpenID4VP.references/haip.md: the HAIP 1.0 requirements as a checklist.references/certification.md: OpenID conformance test plans for OpenID4VP and OpenID4VCI.
Related skills
oauthfor the OAuth 2.0 framework, PAR, PKCE, DPoP and token handling:npx skills add ScaleDockHQ/scaledock-skills --skill oauth.jwtfor JWS, JWE, JWK and RFC 8725 checks on proofs, request objects and KB-JWTs:npx skills add ScaleDockHQ/scaledock-skills --skill jwt.fapibecause HAIP builds its issuance profile on the FAPI 2.0 Security Profile:npx skills add ScaleDockHQ/scaledock-skills --skill fapi.openid-federationfor theopenid_federationclient identifier prefix and trust chains:npx skills add ScaleDockHQ/scaledock-skills --skill openid-federation.openid-connectfor SIOPv2-stylevp_token id_tokenresponses and OpenID Connect basics:npx skills add ScaleDockHQ/scaledock-skills --skill openid-connect.openidfor an overview of OpenID Foundation specifications:npx skills add ScaleDockHQ/scaledock-skills --skill openid.
Sources
Status uses the publishing body's own maturity term. Checked is the date the source was last read.
- OpenID for Verifiable Credential Issuance 1.0: Final, published 16 September 2025, checked 2026-10-02.
- OpenID for Verifiable Presentations 1.0: Final, published 9 July 2025, checked 2026-10-02.
- OpenID4VC High Assurance Interoperability Profile 1.0: Final, published 24 December 2025, checked 2026-10-02.
- OpenID for Verifiable Credential Issuance - draft 13 (Implementer's Draft 1): Implementer's Draft, ID1, document draft 13 (8 February 2024), checked 2026-10-05. Legacy line.
- OpenID for Verifiable Credential Issuance - draft 15 (Implementer's Draft 2): Implementer's Draft, ID2, document draft 15 (19 December 2024), checked 2026-10-05. Legacy line.
- OpenID for Verifiable Credential Issuance 1.0 - draft 17: Draft, draft 17 (17 August 2025), checked 2026-10-05. Read for its Document History; superseded by the Final.
- OpenID for Verifiable Credential Issuance 1.1 - Editor's draft: Editor's draft, 1.1 -01 (1 October 2026), checked 2026-10-05. Draft posture: track.
- OpenID for Verifiable Presentations - draft 18 (Implementer's Draft 2): Implementer's Draft, ID2, document draft 18 (21 April 2023), checked 2026-10-05. Legacy line, used by ISO 18013-7 Annex B.
- OpenID for Verifiable Presentations - draft 23 (Implementer's Draft 3): Implementer's Draft, ID3, document draft 23 (2 December 2024), checked 2026-10-05. Legacy line.
- OpenID for Verifiable Presentations - draft 29: Draft, draft 29 (10 June 2025), checked 2026-10-05. Read for its Document History; superseded by the Final.
- OpenID for Verifiable Presentations 1.1 - Editor's draft: Editor's draft, 1.1 -01 (1 October 2026), checked 2026-10-05. Draft posture: track.
- OpenID4VC High Assurance Interoperability Profile - draft 03 (Implementer's Draft 1): Implementer's Draft, ID1, document draft 03 (7 February 2025), checked 2026-10-05. Legacy line.
- OpenID4VC High Assurance Interoperability Profile 1.0 - draft 06: Draft, draft 06 (20 November 2025), checked 2026-10-05. Read for its Document History; superseded by the Final.
- OpenID4VC High Assurance Interoperability Profile 1.1 - Editor's draft: Editor's draft, 1.1 -01 (24 September 2026), checked 2026-10-05. Draft posture: track.
- Security and Trust in OpenID for Verifiable Credentials Ecosystems: WG draft, draft-oid4vc-security-and-trust-latest (14 March 2024), checked 2026-10-02. Draft posture: track, because it is an unfinished, non-normative analysis.
- Digital Credentials: W3C Working Draft, 4 September 2026, checked 2026-10-02. Draft posture: build, because OpenID4VP Appendix A and HAIP §5.2 depend on it.
- DCP WG specifications: Index, page as read 2026-10-02, checked 2026-10-02.
- Conformance testing for OpenID for Verifiable Presentations: Published, page as read 2026-10-02, checked 2026-10-02.
- Conformance testing for OpenID for Verifiable Credential Issuance: Published, page as read 2026-10-02, checked 2026-10-02.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

