← 返回
数据分析 中文

Birth System Manager

Manage birth encoding, migration packing/unpacking, identity whoami, secure wallet decryption, and full family tree lineage tracking for OpenClaw agents with...
管理OpenClaw智能体的出生编码、迁移打包/解包、身份识别、安全钱包解密及完整家族谱系追踪等功能
vg555558
数据分析 clawhub v1.2.0 1 版本 99859.7 Key: 无需
★ 0
Stars
📥 712
下载
💾 8
安装
1
版本
#birth#clones#cloning#did#ethereum#family-tree#fix#generations#identity#init#initialization#latest#lineage#migration#wallet

概述

Skill Instructions

  • When user says "birth init", "generate birth id", "出生认证", "初始化出生系统" or similar:

Run: node {baseDir}/generate-birth-id.js

This will generate a unique Birth ID for new instances, create an Ethereum wallet, and generate a cryptographic signature.

If IS_CLONE=true is set, it will automatically generate a clone Birth ID.

Return the generated Birth ID, wallet address, and signature verification status.

  • When user says "pack", "migrate pack", "birth pack", "打包迁移" or similar:

Ask for password if not provided (use env BIRTH_PRIVATE_KEY_PASSWORD if set).

Run: node {baseDir}/pack.js [password]

Return the generated tar.gz path.

  • When user says "unpack", "install clone", "解包克隆", "unpack birth-pack" + path:

Ask for package path and target dir (default ~/openclaw-new-lobster).

Run: node {baseDir}/unpack.js

IMPORTANT: After unpacking, remind user to mark as clone:

```bash

export IS_CLONE=true

node ~/.openclaw/birth-system/clone-init.js

```

Or run directly: node {baseDir}/clone-init.js (requires IS_CLONE=true env var)

This will generate new birth_id, set parent_id, and build family tree.

  • When user says "whoami", "birth whoami", "我的身份", "出生信息":

Run: node {baseDir}/whoami.js

Return full output including:

  • Birth ID, Type (Original/Clone), Parent ID
  • Full family tree with ancestor chain
  • Creation time, Age
  • Wallet address, Signature verification
  • Clone suffix and ancestor count
  • When user says "mark as clone", "init clone", "initialize clone", "标记克隆":

Check if IS_CLONE=true is set. If not, instruct user to run:

```bash

export IS_CLONE=true

node {baseDir}/clone-init.js

```

This will:

  • Generate new birth_id (parent_id + '-clone-' + random suffix)
  • Set parent_id to original birth_id
  • Update type to 'clone'
  • Build ancestors array with full lineage
  • Re-sign with new signature

Return new birth_id and family tree.

  • When user says "family tree", "lineage tree", "家族树", "克隆谱系":

Run: node {baseDir}/whoami.js --verbose

Return detailed family tree showing complete ancestor chain with creation dates.

  • When user says "fix clone", "修复克隆", "补救克隆身份":

If user missed clone initialization after unpacking, guide them to:

  1. Find parent_birth_id from the original package:

```bash

tar -xzf birth-pack-xxx.tar.gz ./.openclaw/birth-info.json

cat .openclaw/birth-info.json | grep birth_id

```

  1. Run fix-clone with parent ID:

```bash

node {baseDir}/fix-clone.js --auto

```

This will:

  • Generate new birth_id for this instance
  • Set parent_id to the specified parent
  • Update type to 'clone'
  • Build ancestors array
  • Mark the fix timestamp (clone_fixed_at)

Return updated birth_id and family tree.

  • When user says "decrypt wallet", "解密钱包", "show private key":

Require password (env or ask).

Run: node {baseDir}/decrypt-wallet.js ~/.openclaw/birth-info.json [password]

Return ONLY wallet address and success message, NEVER show full private key.

  • General: If user asks about "龙虾出生系统", "clone lineage", "birth system":

Explain it's for unique agent identity and cloning tracking with full family tree lineage tracking.

Security: All operations local, no network calls. Passwords via env only.

Migration Notes:

  • When cloning, ALWAYS set export IS_CLONE=true before running clone-init.js
  • Skipping clone initialization will result in identity being treated as "Original"
  • Family tree tracking requires proper clone marking at each generation

版本历史

共 1 个版本

  • v1.2.0 当前
    2026-03-30 14:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 56,995
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,086
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,582