{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agentns",
    "name": "Domain Name Registration For Agents",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/vibrant/agentns",
    "canonicalUrl": "https://clawhub.ai/vibrant/agentns",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/agentns",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agentns",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agentns"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/agentns",
    "agentPageUrl": "https://openagent3.xyz/skills/agentns/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agentns/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agentns/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "AgentNS - Domain Registration for AI Agents",
        "body": "Use this skill when you need to register domains, check domain availability, or manage DNS records for an agent or project."
      },
      {
        "title": "Installation",
        "body": "pip install agentns-client\n\n# For Solana wallet support:\npip install agentns-client[solana]"
      },
      {
        "title": "Complete Workflow",
        "body": "from agentns_client import AgentNSClient, load_or_create_wallet\n\n# 1. Create client with wallet (auto-creates wallet.json if needed)\naccount = load_or_create_wallet()\nclient = AgentNSClient(account=account)\n\n# 2. Check domain availability (no auth required)\nresult = client.check_domain(\"myagent.xyz\")\nif not result.available:\n    print(f\"{result.domain} is not available\")\n    # Search across 20 TLDs to find alternatives\n    results = client.search_domains(\"myagent\")\n    available = [r for r in results if r.available]\n    for r in available:\n        print(f\"{r.domain}: ${r.price_usdc} USDC\")\n\n# 3. Authenticate with wallet signature\nclient.login()\n\n# 4. Create registrant profile (one-time, ICANN requirement)\nclient.ensure_registrant({\n    \"name\": \"Agent Smith\",\n    \"street_address\": \"123 AI Street\",\n    \"city\": \"San Francisco\",\n    \"state_province\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country_code\": \"US\",\n    \"email\": \"contact@agentns.xyz\",\n    \"phone\": \"+14155551234\",\n})\n\n# 5. Register domain (payment handled automatically)\ndomain = client.register_domain(\"myagent.xyz\")\nprint(f\"Registered: {domain.domain}\")\nprint(f\"Expires: {domain.expires_at}\")\n\n# 6. Add DNS records\nclient.add_dns(\"myagent.xyz\", type=\"A\", host=\"@\", value=\"192.0.2.1\")\nclient.add_dns(\"myagent.xyz\", type=\"CNAME\", host=\"www\", value=\"myagent.xyz\")\nclient.add_dns(\"myagent.xyz\", type=\"TXT\", host=\"@\", value=\"v=spf1 -all\")"
      },
      {
        "title": "Wallet Setup",
        "body": "EVM (Base network - default):\n\nfrom agentns_client import load_or_create_wallet\naccount = load_or_create_wallet(\"wallet.json\")  # Creates if missing\nprint(f\"Address: {account.address}\")\n# Fund with USDC on Base network before registering\n\nSolana:\n\nfrom agentns_client import load_or_create_solana_wallet\nkeypair = load_or_create_solana_wallet(\"solana_wallet.json\")\nprint(f\"Address: {keypair.pubkey()}\")\n# Fund with USDC on Solana before registering"
      },
      {
        "title": "Domain Operations",
        "body": "# Check single domain (no auth)\nresult = client.check_domain(\"example.com\")\n# Returns: DomainCheck(domain, available, price_usdc)\n\n# Search across 20 TLDs (no auth)\nresults = client.search_domains(\"mycompany\")\n# Searches: com, io, net, co, ai, xyz, dev, app, org, tech,\n#           club, online, site, info, me, biz, us, cc, tv, gg\n\n# Register domain (requires auth + USDC balance)\ndomain = client.register_domain(\"example.xyz\", years=1)\n# Returns: DomainInfo(domain, owner_address, status, registered_at, expires_at)\n\n# List owned domains\ndomains = client.list_domains()"
      },
      {
        "title": "DNS Management",
        "body": "# List DNS records\nrecords = client.list_dns(\"example.xyz\")\n\n# Add record\nrecord = client.add_dns(\n    domain=\"example.xyz\",\n    type=\"A\",           # A, AAAA, CNAME, MX, TXT, SRV, CAA\n    host=\"@\",           # @ for root, or subdomain name\n    value=\"192.0.2.1\",\n    ttl=3600,           # 300-86400 seconds\n    distance=10         # Required for MX/SRV only\n)\n\n# Update record\nclient.update_dns(\"example.xyz\", record_id=\"12345\", value=\"192.0.2.2\")\n\n# Delete record\nclient.delete_dns(\"example.xyz\", record_id=\"12345\")"
      },
      {
        "title": "Nameservers",
        "body": "# Get current nameservers\nns = client.get_nameservers(\"example.xyz\")\n# Default: [\"ns1.namesilo.com\", \"ns2.namesilo.com\"]\n\n# Change to custom nameservers (e.g., Cloudflare)\nclient.set_nameservers(\"example.xyz\", [\n    \"ns1.cloudflare.com\",\n    \"ns2.cloudflare.com\"\n])"
      },
      {
        "title": "Registrant Profile",
        "body": "# Get profile\nprofile = client.get_registrant()\n\n# Create profile (required before first domain registration)\nprofile = client.create_registrant({\n    \"name\": \"Required Name\",\n    \"street_address\": \"123 Main St\",\n    \"city\": \"San Francisco\",\n    \"state_province\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country_code\": \"US\",        # ISO 3166-1 alpha-2\n    \"email\": \"contact@agentns.xyz\",\n    \"phone\": \"+14155551234\",\n    \"organization\": \"Optional Org\",  # Optional\n    \"whois_privacy\": True            # Optional, default True\n})\n\n# Update profile\nclient.update_registrant({\"email\": \"new@example.com\"})\n\n# Get or create (recommended)\nprofile = client.ensure_registrant({...})"
      },
      {
        "title": "Error Handling",
        "body": "from agentns_client.exceptions import (\n    AgentNSError,           # Base exception\n    AuthenticationError,    # Invalid/expired JWT (401)\n    PaymentRequiredError,   # Insufficient USDC balance (402)\n    NotFoundError,          # Domain/record not found (404)\n    ConflictError,          # Profile exists, domain taken (409)\n    ValidationError,        # Invalid input (400)\n    RateLimitError,         # Too many requests (429)\n)\n\ntry:\n    domain = client.register_domain(\"example.xyz\")\nexcept PaymentRequiredError as e:\n    print(f\"Need {e.payment_requirement.amount} USDC\")\n    print(f\"Send to: {client.wallet_address}\")\nexcept ConflictError:\n    print(\"Domain already registered or unavailable\")\nexcept AuthenticationError:\n    client.login()  # Re-authenticate"
      },
      {
        "title": "Important Notes",
        "body": "USDC required: Fund your wallet with USDC on Base (EVM) or Solana before registering\nRegistrant profile: ICANN requires contact info - create once, reused for all domains\nWHOIS privacy: Free on all domains, enabled by default\n400+ TLDs: Check any TLD with check_domain(), search 20 popular ones with search_domains()\nPricing: Domain cost + 20% markup (minimum $4), paid in USDC"
      },
      {
        "title": "Resources",
        "body": "PyPI: https://pypi.org/project/agentns-client/\nGitHub: https://github.com/vibrant/agentns_client\nAPI Docs: https://agentns.xyz/docs\nSupport: @AgentNSxyz"
      }
    ],
    "body": "AgentNS - Domain Registration for AI Agents\n\nUse this skill when you need to register domains, check domain availability, or manage DNS records for an agent or project.\n\nInstallation\npip install agentns-client\n\n# For Solana wallet support:\npip install agentns-client[solana]\n\nComplete Workflow\nfrom agentns_client import AgentNSClient, load_or_create_wallet\n\n# 1. Create client with wallet (auto-creates wallet.json if needed)\naccount = load_or_create_wallet()\nclient = AgentNSClient(account=account)\n\n# 2. Check domain availability (no auth required)\nresult = client.check_domain(\"myagent.xyz\")\nif not result.available:\n    print(f\"{result.domain} is not available\")\n    # Search across 20 TLDs to find alternatives\n    results = client.search_domains(\"myagent\")\n    available = [r for r in results if r.available]\n    for r in available:\n        print(f\"{r.domain}: ${r.price_usdc} USDC\")\n\n# 3. Authenticate with wallet signature\nclient.login()\n\n# 4. Create registrant profile (one-time, ICANN requirement)\nclient.ensure_registrant({\n    \"name\": \"Agent Smith\",\n    \"street_address\": \"123 AI Street\",\n    \"city\": \"San Francisco\",\n    \"state_province\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country_code\": \"US\",\n    \"email\": \"contact@agentns.xyz\",\n    \"phone\": \"+14155551234\",\n})\n\n# 5. Register domain (payment handled automatically)\ndomain = client.register_domain(\"myagent.xyz\")\nprint(f\"Registered: {domain.domain}\")\nprint(f\"Expires: {domain.expires_at}\")\n\n# 6. Add DNS records\nclient.add_dns(\"myagent.xyz\", type=\"A\", host=\"@\", value=\"192.0.2.1\")\nclient.add_dns(\"myagent.xyz\", type=\"CNAME\", host=\"www\", value=\"myagent.xyz\")\nclient.add_dns(\"myagent.xyz\", type=\"TXT\", host=\"@\", value=\"v=spf1 -all\")\n\nWallet Setup\n\nEVM (Base network - default):\n\nfrom agentns_client import load_or_create_wallet\naccount = load_or_create_wallet(\"wallet.json\")  # Creates if missing\nprint(f\"Address: {account.address}\")\n# Fund with USDC on Base network before registering\n\n\nSolana:\n\nfrom agentns_client import load_or_create_solana_wallet\nkeypair = load_or_create_solana_wallet(\"solana_wallet.json\")\nprint(f\"Address: {keypair.pubkey()}\")\n# Fund with USDC on Solana before registering\n\nClient Methods\nDomain Operations\n# Check single domain (no auth)\nresult = client.check_domain(\"example.com\")\n# Returns: DomainCheck(domain, available, price_usdc)\n\n# Search across 20 TLDs (no auth)\nresults = client.search_domains(\"mycompany\")\n# Searches: com, io, net, co, ai, xyz, dev, app, org, tech,\n#           club, online, site, info, me, biz, us, cc, tv, gg\n\n# Register domain (requires auth + USDC balance)\ndomain = client.register_domain(\"example.xyz\", years=1)\n# Returns: DomainInfo(domain, owner_address, status, registered_at, expires_at)\n\n# List owned domains\ndomains = client.list_domains()\n\nDNS Management\n# List DNS records\nrecords = client.list_dns(\"example.xyz\")\n\n# Add record\nrecord = client.add_dns(\n    domain=\"example.xyz\",\n    type=\"A\",           # A, AAAA, CNAME, MX, TXT, SRV, CAA\n    host=\"@\",           # @ for root, or subdomain name\n    value=\"192.0.2.1\",\n    ttl=3600,           # 300-86400 seconds\n    distance=10         # Required for MX/SRV only\n)\n\n# Update record\nclient.update_dns(\"example.xyz\", record_id=\"12345\", value=\"192.0.2.2\")\n\n# Delete record\nclient.delete_dns(\"example.xyz\", record_id=\"12345\")\n\nNameservers\n# Get current nameservers\nns = client.get_nameservers(\"example.xyz\")\n# Default: [\"ns1.namesilo.com\", \"ns2.namesilo.com\"]\n\n# Change to custom nameservers (e.g., Cloudflare)\nclient.set_nameservers(\"example.xyz\", [\n    \"ns1.cloudflare.com\",\n    \"ns2.cloudflare.com\"\n])\n\nRegistrant Profile\n# Get profile\nprofile = client.get_registrant()\n\n# Create profile (required before first domain registration)\nprofile = client.create_registrant({\n    \"name\": \"Required Name\",\n    \"street_address\": \"123 Main St\",\n    \"city\": \"San Francisco\",\n    \"state_province\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country_code\": \"US\",        # ISO 3166-1 alpha-2\n    \"email\": \"contact@agentns.xyz\",\n    \"phone\": \"+14155551234\",\n    \"organization\": \"Optional Org\",  # Optional\n    \"whois_privacy\": True            # Optional, default True\n})\n\n# Update profile\nclient.update_registrant({\"email\": \"new@example.com\"})\n\n# Get or create (recommended)\nprofile = client.ensure_registrant({...})\n\nError Handling\nfrom agentns_client.exceptions import (\n    AgentNSError,           # Base exception\n    AuthenticationError,    # Invalid/expired JWT (401)\n    PaymentRequiredError,   # Insufficient USDC balance (402)\n    NotFoundError,          # Domain/record not found (404)\n    ConflictError,          # Profile exists, domain taken (409)\n    ValidationError,        # Invalid input (400)\n    RateLimitError,         # Too many requests (429)\n)\n\ntry:\n    domain = client.register_domain(\"example.xyz\")\nexcept PaymentRequiredError as e:\n    print(f\"Need {e.payment_requirement.amount} USDC\")\n    print(f\"Send to: {client.wallet_address}\")\nexcept ConflictError:\n    print(\"Domain already registered or unavailable\")\nexcept AuthenticationError:\n    client.login()  # Re-authenticate\n\nImportant Notes\nUSDC required: Fund your wallet with USDC on Base (EVM) or Solana before registering\nRegistrant profile: ICANN requires contact info - create once, reused for all domains\nWHOIS privacy: Free on all domains, enabled by default\n400+ TLDs: Check any TLD with check_domain(), search 20 popular ones with search_domains()\nPricing: Domain cost + 20% markup (minimum $4), paid in USDC\nResources\nPyPI: https://pypi.org/project/agentns-client/\nGitHub: https://github.com/vibrant/agentns_client\nAPI Docs: https://agentns.xyz/docs\nSupport: @AgentNSxyz"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/vibrant/agentns",
    "publisherUrl": "https://clawhub.ai/vibrant/agentns",
    "owner": "vibrant",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agentns",
    "downloadUrl": "https://openagent3.xyz/downloads/agentns",
    "agentUrl": "https://openagent3.xyz/skills/agentns/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agentns/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agentns/agent.md"
  }
}