nfd

nfd is a skill for Claude Code, Codex from TxnLab/skills. It costs 117 tokens per session (1,005 once invoked), scanned A, original, MIT.

A TypeScript toolkit for NFDomains, a system that gives Algorand blockchain accounts readable .algo names such as alice.algo. It works with names, wallet addresses, avatars, metadata, searches, and related on-chain operations.

In plain words
What is it for?
Use it to resolve .algo names, find the name for an address, show NFD avatars or metadata, search NFDs, and mint or purchase names.
Why use it?
It removes the need to display or handle long blockchain addresses everywhere. It gives applications a way to resolve names to addresses and retrieve information connected to those names.

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/txnlab/skills/nfd
Any agent
npx skills add TxnLab/skills --skill nfd
Clone the repo
git clone --depth 1 https://github.com/TxnLab/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 nfd

README.md
[![agentmods](https://agentmods.dev/badge/skills/txnlab/skills/nfd.svg)](https://agentmods.dev/skills/txnlab/skills/nfd)
Your own site
<a href="https://agentmods.dev/skills/txnlab/skills/nfd"><img src="https://agentmods.dev/badge/skills/txnlab/skills/nfd.svg" alt="Measured on agentmods" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 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.00117 $0.01005
Opus 5 $0.00059 $0.00502
Sonnet 5 $0.00023 $0.00201
Haiku 4.5 $0.00012 $0.00101

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

Security

Grade A, and why

nfd 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.

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/nfd/SKILL.md · 93 lines

How it starts

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

NFDomains (NFD)

NFDomains are human-readable names (e.g., alice.algo) on the Algorand blockchain. Each NFD is a smart contract that maps a .algo name to wallet addresses, metadata, and a vault account.

Package

@txnlab/nfd-sdk — TypeScript SDK for on-chain NFD operations. Requires algosdk as a peer dependency.

npm install @txnlab/nfd-sdk algosdk

The SDK uses AlgoKit typed clients to interact with NFD contracts directly on-chain. It also exposes nfd.api for search operations that require off-chain indexing.

A REST API exists at https://api.nf.domains (TestNet: https://api.testnet.nf.domains), but the SDK is preferred for all operations it supports.

NfdClient Initialization

import { NfdClient } from '@txnlab/nfd-sdk'

const nfd = new NfdClient() // MainNet (default)
const nfd = NfdClient.mainNet() // MainNet (explicit)
const nfd = NfdClient.testNet() // TestNet

Custom configuration:

import { NfdClient, NfdRegistryId } from '@txnlab/nfd-sdk'
import { AlgorandClient } from '@algorandfoundation/algokit-utils'

const nfd = new NfdClient({
  algorand: AlgorandClient.mainNet(),
  registryId: NfdRegistryId.MAINNET, // 760937186
})

For write operations (mint, buy, manage), set a signer:

const signedClient = nfd.setSigner(activeAddress, transactionSigner)

Key Concepts

  • Forward resolution: Name → address (nfd.resolve('alice.algo'))
  • Reverse lookup: Address → name (nfd.resolveAddress(address))
  • Views: tiny (minimal), brief (default), full (all properties)
  • depositAccount: The safe address to send assets to (resolves verified → unverified → owner)
  • caAlgo: Array of verified linked Algorand addresses
  • unverifiedCaAlgo: Array of unverified linked addresses
  • nfdAccount: The NFD's vault (contract-controlled Algorand account)
  • Segments: Subdomains like sub.root.algo, minted from a root NFD

Reference Files

Read the appropriate file based on the task:

Read the full file on GitHub · 93 lines

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 · 93 lines · 117 tokens per session scan A bda20e1a5efb

Subscribe to this mod's changes

nfd is a skill published in the GitHub repository TxnLab/skills (6 stars, last pushed 6mo ago), licensed MIT. It adds 117 tokens to every session and 1,005 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

use-vibekit

Operate VibeKit inside projects created or configured by vibekit new and vibekit init. Use for VibeKit CLI and MCP tools, project setup, LocalNet, accounts, signing, network selection, deployment, transactions, and troubleshooting. Load before any on-chain action in a VibeKit-configured project. Excludes authoring…

initlabsai/vibekit · 88 tokens

algorand-interaction

Interact with Algorand blockchain via the Algorand MCP server — wallet operations, ALGO/ASA transactions, smart contracts, account info, NFD lookups, atomic groups, Tinyman swaps, Haystack Router best-price swaps, Alpha Arcade prediction markets, Pera asset verification, TEAL compilation, knowledge base. Use when user…

GoPlausible/algorand-mcp · 127 tokens

alpha-arcade-interaction

Trade on Alpha Arcade prediction markets on Algorand — browse markets, read orderbooks, place limit/market orders, manage positions, cancel/amend orders, split/merge shares, and claim winnings. Use when user asks about prediction markets, event betting, YES/NO shares, orderbooks, or Alpha Arcade.

GoPlausible/algorand-mcp · 71 tokens

algorand-x402-payment

Execute x402 payments at runtime using Algorand MCP tools. Use whenever an HTTP request returns 402 Payment Required (or a PAYMENT-REQUIRED header), the user needs to access a paid API or x402-protected resource, or the user mentions x402, micropayments, paying for an endpoint, or "payment required" — even if they…

GoPlausible/algorand-mcp · 84 tokens

haystack-router-interaction

Route and execute optimal token swaps on Algorand using Haystack Router via Algorand MCP tools. Use when getting best-price quotes across multiple Algorand DEXes and LST protocols, executing atomic swaps, and checking asset opt-in — all through the Algorand MCP server.

GoPlausible/algorand-mcp · 65 tokens

audit-algorand

Perform structured security audits and adversarial reviews of TypeScript Algorand applications and LogicSigs compiled with PuyaTs. Use for vulnerability assessments, threat models, exploit analysis, mainnet-readiness reviews, security findings, and remediation guidance involving AVM contracts, generated TEAL or ARC-56…

initlabsai/vibekit · 97 tokens