skill-10-identity-did
Skill2 starsChanged 6 months agoMITView on GitHub
Manages decentralized identity including DIDs, verifiable credentials, ENS names, ZK-KYC, and on-chain attestations. Use for identity verification, name resolution, or credential workflows.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/00-web3-agent-core.mdcCursor rule
- .cursor/rules/10-guardrails-first.mdcCursor rule
- .cursor/rules/20-chain-preset-selector.mdcCursor rule
- .cursor/rules/30-simulate-before-send.mdcCursor rule
- skill-01-wallet-managementSkill
- skill-02-smart-contract-interactionSkill
- skill-03-defi-operationsSkill
- skill-04-nft-managementSkill
- skill-05-dao-governanceSkill
- skill-06-cross-chain-bridgeSkill
- skill-07-token-analyticsSkill
- skill-08-security-auditSkill
- skill-09-compliance-amlSkill
- skill-11-oracle-data-feedsSkill
- skill-12-gas-optimizationSkill
- skill-13-rwa-tokenizationSkill
- skill-14-social-reputationSkill
- skill-15-mev-protectionSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
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 35
Create DID document with verification methods (public keys) and service endpoints.
- Distinctive: line 43
Use W3C VC Data Model v2
- Distinctive: line 45
Verify: check signature, revocation status, schema compliance
- Distinctive: line 74
Use for reputation, KYC status, guild membership, and compliance proofs.
- Distinctive: line 78
Never store PII on-chain
≈ “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
Identity (DID)
When to Use
- Creating or resolving Decentralized Identifiers (DIDs)
- Issuing/verifying Verifiable Credentials (VCs)
- Registering or resolving ENS names
- Implementing ZK-KYC (prove eligibility without revealing PII)
- Working with on-chain attestations (EAS, Verax)
Prerequisites
- MCP:
blockchain-rpc-server,compliance-screening-server - Skill-09 for KYC/regulatory context
Workflow
1. DID Methods
| Method | Format | Chain |
did:ethr | did:ethr:0x... | Ethereum |
did:pkh | did:pkh:eip155:1:0x... | Multi-chain |
did:ion | Sidetree on Bitcoin | Bitcoin L2 |
did:web | HTTPS-hosted | Off-chain |
Create DID document with verification methods (public keys) and service endpoints.
2. Verifiable Credentials
Issuer → signs VC → Holder stores → Verifier requests proof- Use W3C VC Data Model v2
- Sign with
EthereumEip712Signature2021orEd25519Signature2020 - Verify: check signature, revocation status, schema compliance
3. ENS
- Resolve:
eth_resolver.resolve(name, data) - Register via ETH Registrar Controller
- Set records: address, text (email, url, avatar), contenthash (IPFS)
- Reverse resolution: set
addr.reverserecord
4. ZK-KYC
Prove attributes without revealing identity:
- User completes KYC with issuer off-chain
- Issuer provides signed credential or Semaphore identity
- User generates ZK proof of membership/eligibility
- Verifier checks proof on-chain (no PII exposed)
Protocols: Polygon ID, World ID, Semaphore, Sismo
5. On-Chain Attestations
Ethereum Attestation Service (EAS):
eas.attest(AttestationRequest({
schema: schemaUID,
data: AttestationRequestData({ recipient, expirationTime, revocable, refUID, data, value })
}));Use for reputation, KYC status, guild membership, and compliance proofs.
Privacy Rules
- Never store PII on-chain
- Minimize credential disclosure (selective disclosure proofs)
- Honor GDPR right-to-erasure for off-chain identity data
References
references/did-methods.mdreferences/eas-schemas.md
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.

