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
npx skills add BankrBot/skills --skill ens-primary-name -a claude-codeWhat 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.ethas my primary name on Base. - Set
myname.ethon Arbitrum, then verify it with./scripts/verify-primary.sh 0x1234... arbitrum. - Assign this avatar to
myname.ethwith./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-code2Manually: put the files in place
~/.claude/skills/ens-primary-name/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ens-primary-name/
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill ens-primary-name -a codex2Manually: put the files in place
.agents/skills/ens-primary-name/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill ens-primary-name -a cursor2Manually: put the files in place
.cursor/skills/ens-primary-name/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install BankrBot/skills ens-primary-name2Manually: put the files in place
.github/skills/ens-primary-name/SKILL.md1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill ens-primary-name -a gemini-cli2Platform CLI
gemini skills install https://github.com/BankrBot/skills --path ens-primary-nameManually: put the files in place
.devin/skills/ens-primary-name/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add BankrBot/skills --skill ens-primary-name -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.