self-xyz
Integrate Self (self.xyz) — a privacy-first identity protocol using zero-knowledge proofs to verify passports and ID cards. Use when the user mentions Self protocol, Self identity, self.xyz, passport verification, zero-knowledge identity verification, SelfAppBuilder, SelfBackendVerifier, SelfVerificationRoot, or wants to add privacy-preserving KYC, age verification, nationality checks, OFAC screening, or Sybil resistance using real-world identity documents. Covers frontend QR code integration, backend proof verification, and on-chain smart contract verification on Celo.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/0xturboblitz/self-xyzWhat This Skill Does
The self-xyz skill enables the integration of the Self (self.xyz) privacy-first identity protocol into your application. It leverages zero-knowledge proofs (ZKPs) to verify physical identification documents like passports and ID cards without ever exposing the user's raw personal data. By utilizing this skill, developers can implement robust identity verification workflows, including age verification, nationality checks, OFAC screening, and Sybil resistance. It provides a comprehensive bridge between the user's mobile NFC document scan and your application's logic, whether that is on a backend server or directly on-chain via Celo smart contracts.
Installation
To begin, ensure you have the OpenClaw environment set up. Install the skill using the following command in your terminal:
clawhub install openclaw/skills/skills/0xturboblitz/self-xyz
Once installed, you will need to add the required dependencies to your project:
npm install @selfxyz/qrcode @selfxyz/core
Use Cases
This skill is ideal for platforms requiring high-assurance user verification while maintaining user privacy. Common use cases include:
- Age-Gated Platforms: Verify that a user is over 18 or 21 without knowing their birth date.
- Regulated DeFi: Perform OFAC screenings and KYC for decentralized finance protocols to ensure compliance.
- Sybil Resistance: Prevent bot attacks by requiring users to prove their humanity via a government-issued NFC-enabled document.
- Token Gating: Limit participation in exclusive token sales or airdrops to citizens of specific countries.
Example Prompts
- "Setup a QR code component in my Next.js app to verify that users are at least 18 years old using the self.xyz protocol."
- "Help me write a backend route for my Celo-based dApp that verifies a zero-knowledge proof of nationality from a passport scan."
- "How do I configure my SelfAppBuilder to perform an OFAC check while maintaining user privacy in my web application?"
Tips & Limitations
- Config Matching: Ensure your frontend
disclosuresobject matches your backend verification configuration exactly. Mismatches will result in silent failures. - Celo Checksums: Always use lowercase strings for your Celo contract addresses when initializing the
endpointin theSelfAppBuilderto avoid verification errors. - Dev Mode: Utilize the boolean flag in
SelfBackendVerifierto enable mock passports during development, but ensure this is disabled in production environments for security.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-0xturboblitz-self-xyz": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api