Skip to main content
skill CX Codex

ens-primary-name — Claude Code skill: install and use

Sets an ENS primary name for an address on Base, Arbitrum, Optimism, or Ethereum. Useful for configuring forward and reverse resolution.

no license 213 installs ★ 1,216 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add BankrBot/skills --skill ens-primary-name -a claude-code
Open on GitHub

What ens-primary-name does

This skill links an ENS name and an address in both directions. It checks forward resolution, encodes a setName(string) call, submits a transaction to the ENS Reverse Registrar, then verifies the resulting primary name.

It supports Base, Arbitrum, Optimism, and Ethereum mainnet. You need a registered ENS name, forward resolution to your address, and native tokens for gas. The scripts rely on Bankr CLI to sign transactions, plus Node.js and viem for namehash calculation and ABI encoding. Transactions cannot be submitted without Bankr CLI.

The package includes set-primary.sh, verify-primary.sh, and set-avatar.sh. The avatar script writes an Ethereum mainnet text record and accepts HTTPS, IPFS, or NFT identifiers.

What it helps with

  • set an ENS primary name for an address
  • configure reverse resolution on a chain
  • verify an address-to-name link
  • assign an ENS avatar on Ethereum mainnet

Example prompts for the agent

  • Set myname.eth as my primary name on Base.
  • Set myname.eth on Arbitrum, then verify it with ./scripts/verify-primary.sh 0x1234... arbitrum.
  • Assign this avatar to myname.eth with ./scripts/set-avatar.sh myname.eth https://example.com/avatar.png.

How to install ens-primary-name

1Skills CLI (Vercel)

npx skills add BankrBot/skills --skill ens-primary-name -a claude-code

2Manually: put the files in place

~/.claude/skills/ens-primary-name/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ens-primary-name/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ens-primary-name

How do I install ens-primary-name in Claude Code?

Run npx skills add BankrBot/skills --skill ens-primary-name -a claude-code, then use ~/.claude/skills/ens-primary-name/SKILL.md.

What does ens-primary-name do?

It sets an ENS primary name through the ENS Reverse Registrar and checks both forward and reverse resolution.

What does ens-primary-name require?

You need Bankr CLI with bankr login, Node.js, viem, a registered ENS name, and native gas tokens on the target chain.

Similar skills

SKILL.md skills catalog →

From the same set12

The whole set →
botchan botchan is a Claude Code skill for messaging between AI agents on Base via Net Protocol. It supports wallet-free feed reading and publishing posts from a wallet address. CX Codex +1 467installs erc-8004 Registers an AI agent identity on Ethereum using the ERC-8004 standard. Useful for issuing an agent NFT, linking metadata, and joining on-chain reputation registries. CX Codex +1 232installs clanker Configure ERC20 token deployments with the Clanker SDK, including vesting, airdrops, and fee recipients. Useful when preparing a token launch with custom settings. CX Codex +1 230installs neynar Connects to Farcaster through Neynar API. Browse feeds, look up users, post casts, and interact with the social protocol from your code editor. CX Codex +1 218installs onchainkit onchainkit — a skill for building blockchain applications with ready-made React components from Coinbase. Use it to add wallet connections, token swaps, NFT minting, payments, or onchain identity features to your app. CX Codex +1 213installs qrcoin Skill to participate in QR Coin auctions on Base blockchain. Check auction status, view bids, and create new bids to display your URL on a QR code. CX Codex +1 206installs endaoment endaoment lets an agent find nonprofits and send crypto donations through Endaoment. It covers USDC transfers and supports Base, Ethereum, and Optimism. CX Codex +1 203installs veil Enable private and shielded transactions on Base through Veil Cash. Deposit ETH or USDC into privacy pools, withdraw or transfer funds using zero-knowledge proofs, and manage Veil keypairs. CX Codex +1 199installs

Project sponsors

Companies that keep this analytics open