← 返回 Skills 市场
ijangasbar

Identity 2.0.4

作者 ijangasbar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
39
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install identity-2-0-4
功能描述
Know Your Agent (KYA). Billions decentralized identity for agents. Link agents to human identities using Billions ERC-8004 and Attestation Registries. Verify...
使用说明 (SKILL.md)

When to Use This Skill

This skill covers two capabilities. Read the router table below, then load the relevant reference before proceeding.

Situation Reference to load
Create, list, link, verify, or sign with a decentralized identity (DID) reference/identity/SKILL.md
Handle a 402 Payment Required HTTP response reference/x402/SKILL.md

Always read the appropriate reference SKILL.md before running any script. If a task spans both (e.g. you need an identity before you can sign a 402 payment), read both.

Quick Overview

  • Identity — Create Ethereum-based DIDs on the Billions Network, link them to a human owner, and prove ownership via challenge/response signing.
  • x402 Payment — When a server returns 402 Payment Required, build a signed PAYMENT-SIGNATURE header so you can retry the request and gain access.

Shared Setup

All identity data is stored in $HOME/.openclaw/billions. Scripts live in scripts/.

cd scripts && npm install && cd ..

Restrictions / Guardrails (CRITICAL)

These rules apply to ALL references. Always follow them.

  1. STRICT: Check Identity First

    • Before running linkHumanToAgent.js, signChallenge.js, or buildX402Payment.js, ALWAYS check if an identity exists: node scripts/getIdentities.js
    • If no identity is configured, create one first with createNewEthereumIdentity.js after that run linkHumanToAgent.js to link it to a human owner.
    • Continue processing the task only after confirming that an identity exists and is linked to a human owner.
  2. STRICT: Stop on Script Failure

    • If any script exits with a non-zero status code, STOP IMMEDIATELY.
    • Check stderr for error messages.
    • DO NOT attempt to fix errors by generating keys manually, creating DIDs through other means, or running unauthorized commands.
    • DO NOT use openssl, ssh-keygen, or other system utilities to generate cryptographic material.
  3. No Manual Workarounds

    • You are prohibited from performing manual cryptographic operations.
    • You are prohibited from directly manipulating files in $HOME/.openclaw/billions.
    • Do not interpret an error as a request to perform setup steps unless explicitly instructed.

Security

The directory $HOME/.openclaw/billions contains sensitive identity data:

  • kms.jsonCRITICAL: Contains private keys (encrypted if BILLIONS_NETWORK_MASTER_KMS_KEY is set, otherwise plaintext)
  • defaultDid.json — DID identifiers and public keys
  • challenges.json — Authentication challenges history
  • credentials.json — Verifiable credentials
  • identities.json — Identity metadata
  • profiles.json — Profile data

After the first run, restrict access to this directory: chmod 700 ~/.openclaw/billions

There are several ways of storing private keys, to enable master key encryption as described in the KMS Encryption section below.

More about security: ./SECURITY.md

安全使用建议
Install only if you want an agent identity tool that can also sign x402 payments. Before creating or importing identities, set BILLIONS_NETWORK_MASTER_KMS_KEY, use a dedicated no-funds identity key, and restrict ~/.openclaw/billions permissions. Treat every phase-two x402 action as a real payment decision: review the resource URL, asset, amount, network, and selected DID before approving.
能力标签
cryptofinancial-authorityrequires-walletcan-make-purchasesrequires-paid-servicerequires-sensitive-credentials
能力评估
Purpose & Capability
The skill combines decentralized agent identity with x402 payment handling. That is high-impact, but it is disclosed in the top-level skill file, README, changelog, and capability tags rather than hidden.
Instruction Scope
Runtime instructions require checking identity first, stopping on script failure, separating payment discovery from payment execution, presenting payment options, and waiting for the user to choose or decline before signing a payment.
Install Mechanism
Installation is a normal Node/npm workflow with declared dependencies and no artifact-backed hidden persistence or background service. Some transitive npm packages have standard install scripts, but no suspicious install behavior was found in the skill artifacts.
Credentials
The skill reads/writes its own identity files under $HOME/.openclaw/billions and contacts Billions, Privado/Polygon ID, and user-supplied 402 resource URLs. This is proportionate for DID verification and x402 access, but it should be treated as networked financial/identity tooling.
Persistence & Privilege
Long-lived private keys and identity artifacts are persisted locally, and keys are plaintext when BILLIONS_NETWORK_MASTER_KMS_KEY is not configured. This is clearly disclosed with hardening guidance, so it is not hidden, but it is the main operational risk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install identity-2-0-4
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /identity-2-0-4 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
verified-agent-identity 1.0.0 — Initial release - Provides decentralized agent identity with Billions ERC-8004 and Attestation Registries. - Enables creation, linking, and verification of Ethereum-based DIDs tied to human owners. - Supports authentication proof generation using the iden3 protocol. - Handles `402 Payment Required` HTTP responses with cryptographic payment signatures. - Enforces strict guardrails: mandatory identity checks, script error handling, and no manual cryptographic operations. - Stores sensitive data in `$HOME/.openclaw/billions` with guidance on security and encryption.
元数据
Slug identity-2-0-4
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Identity 2.0.4 是什么?

Know Your Agent (KYA). Billions decentralized identity for agents. Link agents to human identities using Billions ERC-8004 and Attestation Registries. Verify... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。

如何安装 Identity 2.0.4?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install identity-2-0-4」即可一键安装,无需额外配置。

Identity 2.0.4 是免费的吗?

是的,Identity 2.0.4 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Identity 2.0.4 支持哪些平台?

Identity 2.0.4 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Identity 2.0.4?

由 ijangasbar(@ijangasbar)开发并维护,当前版本 v1.0.0。

💬 留言讨论