analyzing-nft-rarity

Featured

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

AI & Automation 2,359 stars 334 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Analyzing NFT Rarity ## Overview NFT rarity analysis skill that: - Fetches collection metadata from OpenSea API - Parses and normalizes trait attributes - Calculates rarity using multiple algorithms - Ranks tokens by composite rarity score - Exports data in JSON and CSV formats ## Prerequisites - Python 3.8+ with requests library - Optional: `OPENSEA_API_KEY` for higher rate limits - Optional: `ALCHEMY_API_KEY` for direct metadata fetching ## Instructions ### 1. Analyze a Collection ```bash cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py collection boredapeyachtclub ``` Options: 1. `--limit 500`: Fetch more tokens for analysis 2. `--top 50`: Show top 50 tokens 3. `--traits`: Include trait distribution 4. `--rarest`: Show rarest traits 5. `--algorithm [statistical|rarity_score|average|information]` ### 2. Check Specific Token ```bash cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py token pudgypenguins 1234 # port 1234 - example/test ``` ### 3. Compare Multiple Tokens ```bash cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py compare azuki 1234,5678,9012 # 5678: 1234: 9012 = configured value ``` ### 4. View Trait Distribution ```bash cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py traits doodles ``` ### 5. Export Rankings JSON: ```bash cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py export coolcats > rankings.json ``` CSV: ```bash cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py export...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category