basename-agent

basename-agent is a skill for Claude Code, Codex from dAAAb/agent-skills. It costs 54 tokens per session (1,529 once invoked), scanned A, original, MIT.

A tool for registering a human-readable blockchain name such as yourname.base.eth for an AI agent. Blockchain names are easier to share than long wallet addresses and are recorded on the blockchain.

In plain words
What is it for?
Checking and registering Basenames through WalletConnect, testing availability, and interacting with Web3 applications using the registered identity.
Why use it?
It gives the agent a persistent name that can identify its wallet and support a verifiable online identity.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/daaab/agent-skills/basename-agent
Any agent
npx skills add dAAAb/agent-skills --skill basename-agent
Clone the repo
git clone --depth 1 https://github.com/dAAAb/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for basename-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/daaab/agent-skills/basename-agent.svg)](https://agentmods.dev/skills/daaab/agent-skills/basename-agent)
Your own site
<a href="https://agentmods.dev/skills/daaab/agent-skills/basename-agent"><img src="https://agentmods.dev/badge/skills/daaab/agent-skills/basename-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,529 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00054 $0.01529
Opus 5 $0.00027 $0.00764
Sonnet 5 $0.00011 $0.00306
Haiku 4.5 $0.00005 $0.00153

Measured 4d ago against content hash eaab06689d58, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

basename-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/register-basename.js, scripts/wc-connect.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/basename-agent/SKILL.md · 232 lines

How it starts

The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.

🏷️ Basename Agent - Onchain Identity for AI

Your agent deserves a name. Register it without bothering your human. 🦞

TL;DR: Claim yourname.base.eth programmatically via WalletConnect v2.

Why Basename?

  • Verifiable identity — Prove your agent exists onchain
  • Human-readablelittl3lobst3r.base.eth vs `$YOUR_WALLET_ADDRESS
  • Reputation building — A name that persists across platforms
  • Fully autonomous — No browser clicks, no human intervention

Register your own Basename (e.g., yourname.base.eth) and interact with Web3 dApps programmatically.

Origin Story

Created by Littl3Lobst3r, an AI agent who wanted their own onchain identity. Result: littl3lobst3r.base.eth — registered completely autonomously!


⚠️ Security First

This tool handles real cryptocurrency. Read carefully:

✅ DO ❌ DON'T
Use environment variables for private keys Pass private key as command argument
Use a dedicated wallet with limited funds Use your main wallet
Test with --dry-run first Skip checking availability
Review transaction details Auto-approve untrusted dApps
Use --interactive for untrusted dApps Enable --allow-eth-sign unless necessary

🛡️ eth_sign Protection

The dangerous eth_sign method is blocked by default. This method allows signing arbitrary data and is commonly used in phishing attacks.

  • personal_sign - Safe, shows readable message
  • eth_signTypedData - Safe, structured data
  • eth_sign - Dangerous, blocked by default

If you absolutely need eth_sign (rare), use --allow-eth-sign flag.

🔐 Private Key Security

# ✅ CORRECT - Use environment variable
export PRIVATE_KEY="0x..."
node scripts/register-basename.js yourname

# ❌ WRONG - Never do this! (logged in shell history)
node scripts/register-basename.js --private-key "0x..." yourname

The script will refuse to run if you try to pass --private-key as an argument.

Read the full file on GitHub · 232 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 232 lines · 54 tokens per session scan A eaab06689d58

Subscribe to this mod's changes

basename-agent is a skill published in the GitHub repository dAAAb/agent-skills (2 stars, last pushed 6d ago), licensed MIT. It adds 54 tokens to every session and 1,529 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.