Self Protocol Identity Verification for Openclaw

A privacy-preserving identity integration that uses zero-knowledge proofs to verify passports and ID cards without exposing personal data.

0xturboblitz
v1.0.0
Feb 13, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install self-xyz

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install self-xyz using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Self Protocol Identity Verification?

The Self Protocol skill enables developers to integrate advanced, zero-knowledge identity verification into their applications. By leveraging the self.xyz protocol, this Openclaw Skills integration allows users to prove attributes like age, nationality, or humanity via NFC-scanned documents without revealing their actual identity.

This skill is an essential tool for developers building decentralized applications, fintech platforms, or any service requiring high-assurance KYC and Sybil resistance. It bridges the gap between real-world identity documents and digital privacy, making it a cornerstone of modern Openclaw Skills implementations.

Self Protocol Identity Verification Use Cases

  • Adding privacy-preserving KYC or age verification to Next.js applications.
  • Implementing Sybil resistance for airdrops or governance on the Celo blockchain.
  • Verifying user nationality or OFAC compliance without storing sensitive document data.
  • Creating trustless, on-chain identity gates using Self Protocol smart contracts.

How Self Protocol Identity Verification Works

  1. Initialize the SelfAppBuilder on the frontend to define required disclosures like minimum age or nationality.
  2. Generate a secure QR code using the SelfQRcodeWrapper which users scan with the Self mobile app.
  3. The Self app utilizes the document's NFC chip to generate a zero-knowledge proof (ZKP) of the requested attributes.
  4. The proof is sent to a backend endpoint or a Celo smart contract for validation.
  5. The SelfBackendVerifier or on-chain contract confirms the proof's validity without ever seeing the raw document data.

Self Protocol Identity Verification Setup

Install the necessary packages using npm:

npm install @selfxyz/qrcode @selfxyz/core

Configure your frontend with the SelfAppBuilder and provide a publicly accessible endpoint for the Self app to send proofs. When using Openclaw Skills for development, ensure your local environment is exposed via a tunnel for testing.

Self Protocol Identity Verification Data Schema & Taxonomy

Parameter Type Description
appName string The display name shown to the user in the Self app.
scope string A unique identifier for the verification context.
disclosures object Defines required proofs such as minimumAge or nationality.
endpointType string Destination type: https, https-staging, celo, or celo-staging.
userId string A hex-encoded unique identifier for the user.

Self Protocol Identity Verification Advanced Features

  • Deep linking support for seamless mobile-to-mobile identity verification workflows.
  • On-chain verification by inheriting the SelfVerificationRoot contract on Celo for trustless apps.
  • Custom verification hooks to execute specialized logic upon successful identity proofing.
  • Mock passport support for rapid development and testing without requiring real documents.
  • Anti-replay protection using Poseidon-hashed scopes to secure multi-contract environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*