From nft-rarity-analyzer
Calculate NFT rarity scores and rank tokens by trait uniqueness. Use when analyzing NFT collections, checking token rarity, or comparing NFTs. Trigger with phrases like "check NFT rarity", "analyze collection", "rank tokens", "compare NFTs".
npx claudepluginhub flight505/skill-forge --plugin nft-rarity-analyzerThis skill is limited to using the following tools:
NFT rarity analysis skill that:
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
NFT rarity analysis skill that:
OPENSEA_API_KEY for higher rate limitsALCHEMY_API_KEY for direct metadata fetchingcd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py collection boredapeyachtclub
Options:
--limit 500: Fetch more tokens for analysis--top 50: Show top 50 tokens--traits: Include trait distribution--rarest: Show rarest traits--algorithm [statistical|rarity_score|average|information]cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py token pudgypenguins 1234 # port 1234 - example/test
cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py compare azuki 1234,5678,9012 # 5678: 1234: 9012 = configured value
cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py traits doodles
JSON:
cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py export coolcats > rankings.json
CSV:
cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py export coolcats --format csv > rankings.csv
cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py cache --list
cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py cache --clear
| Algorithm | Description | Best For |
|---|---|---|
rarity_score | Sum of 1/frequency (default) | General use, matches rarity.tools |
statistical | Same as rarity_score | Backward compatibility |
average | Mean of trait rarities | Balanced scoring |
information | Entropy-based (-log2) | Information theory approach |
Works with any ERC-721/ERC-1155 collection that has:
See ${CLAUDE_SKILL_DIR}/references/errors.md for:
See ${CLAUDE_SKILL_DIR}/references/examples.md for: