360 Secure SkillHub
360 安全技能中心

unhuman

核心功能:搜索域名可用性、注册域名、查看域名信息、管理DNS/域名服务器、续期域名、恢复管理令牌。典型场景:开发者找可用域名、注册并管理个人/项目域名。通过CLI命令操作,输出支持文本或JSON;支付可手动扫闪电发票,或经用户确认后用agent-wallet自动支付(需钱包 daemon 运行且有余额)。

satbot-mdk
satbot-mdk
热度 63.22
最近更新 2026-05-11 17:26:18
分类:自动化依赖:代码执行应用场景:自动化脚本 / 工作流 / 购物 / 个人理财

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add unhuman
Metadata
name
unhuman
description
Search, register, and manage domain names via unhuman.domains. Pay with bitcoin using agent-wallet. Use when the user wants to find available domains, register a new domain, manage DNS records, update nameservers, or renew a domain.
metadata
{"openclaw":{"requires":{"bins":["npx"]},"install":[{"id":"unhuman-npm","kind":"node","package":"unhuman","bins":["unhuman"],"label":"Install unhuman CLI (npm)"}]}}

unhuman — Domain Management CLI

Register and manage domains at unhuman.domains, paid with bitcoin via Lightning Network.

  • npm package: unhuman (published by moneydevkit)
  • Source: Domain registration API at unhuman.domains

Commands

Search domains

npx unhuman domains search myproject
npx unhuman domains search myproject --tld com,dev,xyz
npx unhuman domains search myproject --json

Register a domain

# Manual payment (prints Lightning invoice, waits for preimage)
npx unhuman domains register mysite.xyz --email recovery@example.com

# Auto-pay with agent-wallet (requires explicit --wallet flag)
npx unhuman domains register mysite.xyz --wallet --email recovery@example.com
  • --email sets recovery email (recommended)
  • On success, stores management token to ~/.unhuman/tokens.json

Domain info

npx unhuman domains info mysite.xyz

DNS records

npx unhuman domains dns mysite.xyz
npx unhuman domains dns set mysite.xyz --records '[{"type":"A","name":"@","value":"1.2.3.4","ttl":3600}]'

Update nameservers

npx unhuman domains nameservers mysite.xyz ns1.example.com ns2.example.com

Renew a domain

npx unhuman domains renew mysite.xyz
npx unhuman domains renew mysite.xyz --wallet --period 2

Recover management token

npx unhuman domains recover mysite.xyz --email recovery@example.com
npx unhuman domains recover mysite.xyz --email recovery@example.com --code 123456

List stored tokens

npx unhuman domains tokens

Payment with --wallet flag

The --wallet flag enables autonomous payment via @moneydevkit/agent-wallet. Only use when the user explicitly requests autonomous payment.

Requires:

  • A running agent-wallet daemon (npx @moneydevkit/agent-wallet start)
  • Sufficient balance in the wallet

Flow: submit request → receive 402 with Lightning invoice → agent-wallet pays → retry with preimage.

⚠️ Always confirm with the user before using --wallet. This flag triggers a real bitcoin payment. Without --wallet, the CLI prints the invoice for the user to pay manually.

Credentials & Storage

  • Management tokens: Stored at ~/.unhuman/tokens.json after successful registration. These tokens are required for DNS/nameserver/renewal operations. Protect this file.
  • No API keys required: Domain search is free. Registration/renewal uses the MDK 402 payment protocol (pay-per-use via Lightning invoice).
  • agent-wallet: If using --wallet, the wallet daemon must be initialized and running. The wallet's mnemonic and keys are managed separately by agent-wallet at ~/.agent-wallet/.

Notes

  • All commands support --json for machine-readable output
  • Prices are in USD, paid in bitcoin at current exchange rate
  • Recovery email is optional but strongly recommended for token recovery