简介
unhuman
原始描述
Search, register, and manage domain names via unhuman.domains. Pay with bitcoin using agent-wallet. Use when the user wants to find available domains, regist...
通过你的 Agent 添加
安装目录:unhuman/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
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
# 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)~/.unhuman/tokens.jsonnpx 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
npx unhuman domains dns mysite.xyz
npx unhuman domains dns set mysite.xyz --records '[{"type":"A","name":"@","value":"1.2.3.4","ttl":3600}]'
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
npx unhuman domains renew mysite.xyz
npx unhuman domains renew mysite.xyz --wallet --period 2
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
npx unhuman domains tokens
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
~/.unhuman/tokens.json after successful registration. These tokens are required for DNS/nameserver/renewal operations. Protect this file.~/.agent-wallet/.- All commands support
--jsonfor machine-readable output - Prices are in USD, paid in bitcoin at current exchange rate
- Recovery email is optional but strongly recommended for token recovery
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。