Back to skills
SKILL.md
Derived Identity And Delegation
ASecurityTitle: Derived Identity & Agent Delegation Keywords: identity-derived, eudi, pid, sd-jwt, vc, derived-passkey, national-authority, agent-delegation, rcuk, seedless-recovery, origin-verifier, registry-reconciliation Agents: identity, security, backend, api, commerce-payments When to use: When implementing, modifying, or verifying EUDI PID SD-JWT VC issuance/verification, Derived Passkeys, human-to-agent delegations, Origin Verifiers, RCUK seedless recovery, or registry reconciliation in `@agen...
- 4 stars
- 0 votes
- 0 copies
- 0 views
- Added December 5, 2026
Works with
Security analysis
100/100npx -y skills add ronnikc/agent-os-protocol --skill derived-identity-and-delegation --agent claude-codeAre you the author of Derived Identity And Delegation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ronnikc-derived-identity-and-delegation)Title: Derived Identity & Agent Delegation
Keywords: identity-derived, eudi, pid, sd-jwt, vc, derived-passkey, national-authority, agent-delegation, rcuk, seedless-recovery, origin-verifier, registry-reconciliation
Agents: identity, security, backend, api, commerce-payments
When to use: When implementing, modifying, or verifying EUDI PID SD-JWT VC issuance/verification, Derived Passkeys, human-to-agent delegations, Origin Verifiers, RCUK seedless recovery, or registry reconciliation in `@agent-os/identity-derived`.
Version: 1.0.0
Last updated: 2026-12-05
Implement and audit Phase 3 privacy-preserving derived identity flows in `@agent-os/identity-derived`: EUDI PID SD-JWT VC verification, WebAuthn Derived Passkey enrollment (`national_authority`), scoped human-to-agent delegations, Origin ID recovery fingerprints, and CIS-4/CIS-8004 registry reconciliation without storing raw human PII.
---
## Workflow
### Step 1 — Verify origin credentials via SD-JWT VC (selective disclosure)
- Use `sd-jwt-verifier.ts` and `origin-verifiers.ts` to verify issuer trust anchors, `vct`, audience, nonce freshness, and disclosed claims only.
- Enforce data minimization: accept only the minimum attributes required by policy (e.g. age/residency/humanity predicate) and never persist raw national ID numbers or full PID payloads.
### Step 2 — Enroll & verify Derived Passkeys
- Use `DerivedPasskeyRegistry` (`derived-passkey.ts`) with explicit origin authority (`national_authority`, `concordium_id`, etc.) and `completeEnrollment`.
- Confirm challenge/nonce single-use replay protection and origin binding on every assertion.
### Step 3 — Scope and verify Agent Delegations
- Issue delegations via `agent-delegations.ts` with explicit principal, delegate DID (`did:ccd:...`), allowed scopes, expiry timestamp, and revocation handle.
- Verify delegations fail closed when expired, revoked, out-of-scope, or missing holder consent.
### Step 4 — Verify RCUK seedless recovery & registry reconciliation
- Validate deterministic Origin ID recovery fingerprints and ensure recovery flows preserve unlinkability across origins.
- Reconcile local delegation/passkey state against registry status via `registry-reconciliation.ts`, keeping fixture evidence distinct from live verifier evidence.
### Step 5 — Run identity verification suites
Run `npx tsx agent-os/scripts/verify-identity-derived.ts` and `npm run verify-identity`.
---
## Input Schema
```yaml
input:
flow:
type: string
required: true
enum: [sd_jwt_verify, derived_passkey, agent_delegation, rcuk_recovery, reconciliation]
authority_level:
type: string
required: false
enum: [national_authority, concordium_id, org_verified]
default: national_authority
required_scopes:
type: array
required: false
description: "Allowed delegation scopes (e.g. consent:negotiate, commerce:pay)"
```
## Output Schema
```yaml
output:
origin_verified: { type: boolean }
pii_minimized: { type: boolean }
delegation_valid: { type: boolean }
revocation_checked: { type: boolean }
verify_identity_derived_passed: { type: boolean }
```
## Quality Gate
- Zero raw human PII persisted beyond minimum proof predicates.
- Replay protection (nonce + expiry) enforced on SD-JWT VCs, passkey assertions, and delegations.
- Expired or revoked delegations fail closed immediately.
- Fixture verification results explicitly distinguished from live Concordium/EUDI verifier evidence.
- `npx tsx agent-os/scripts/verify-identity-derived.ts` and `npm run verify-identity` pass.
## Chain Metadata
```yaml
chain_metadata:
skill_slug: "derived-identity-and-delegation"
stage: "S4"
suggested_next:
- slug: "identity-verification"
stage: "S4"
reason: "Verify the agent's anchored did:ccd reference against the Concordium Agent Registry"
- slug: "consent-negotiation-compliance"
stage: "S4"
reason: "Use verified derived identity & delegation as the authority for agent consent negotiation"
```
## Error Handling
- Untrusted issuer or invalid `vct` → reject credential immediately; never downgrade trust level.
- Replayed nonce or expired delegation → return unauthorized and log sanitized rejection without sensitive claim values.
- Indeterminate upstream revocation check → fail closed (`pending`/denied) for privileged actions.
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.