Agent skill

Analyzing Nft Rarity

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Calculate NFT rarity scores and rank tokens by trait uniqueness.

MITAuto-check passedBusiness, Finance & HR

Install Analyzing Nft Rarity

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill analyzing-nft-rarity -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace analyzing-nft-rarity --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/analyzing-nft-rarity .claude/skills/analyzing-nft-rarity && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
analyzing-nft-rarity
GitHub stars
2.8k
Token cost
~882 tokens
SKILL.md length
231 words
Files
12 (incl. scripts, references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Calculate NFT rarity scores and rank tokens by trait uniqueness.

  • Works in 6 steps: Analyze a Collection → Check Specific Token → Compare Multiple Tokens → …
  • Analyzing NFT collections
  • SKILL.md covers Overview, Prerequisites, Instructions and Rarity Algorithms, plus 5 more sections
  • Runs Python scripts from its folder; calls python3; needs OPENSEA_API_KEY and ALCHEMY_API_KEY

What it does

Analyzing Nft Rarity is an agent skill from jeremylongshore/tons-of-skills-marketplace. 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".

Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts and reference files (for example `ARD.md`, `PRD.md` and `config/settings.yaml`). Compatibility notes: Designed for Claude Code

It sits in Business, Finance & HR, covering Crypto and DeFi analysis. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Analyzing NFT collections
  • Checking token rarity
  • With phrases like check NFT rarity
  • Analyze collection

Example prompts

  • “check NFT rarity”
  • “analyze collection”
  • “rank tokens”
  • “/analyzing-nft-rarity”

Requirements

  • Python 3
  • A credential in OPENSEA_API_KEY
  • A credential in ALCHEMY_API_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Bash(python3:*)

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Analyze a Collection
  2. Check Specific Token
  3. Compare Multiple Tokens
  4. View Trait Distribution
  5. Export Rankings
  6. Manage Cache

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash(python3:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.opensea.io
    • rarity.tools
    • ipfs.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENSEA_API_KEY
    • ALCHEMY_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Analyzing Nft Rarity loads about 882 tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 231 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~882
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 231 words, ~882 tokens.

Download SKILL.mdSave it as .claude/skills/analyzing-nft-rarity/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
analyzing-nft-rarity
description
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".
allowed-tools
Read, Bash(python3:*)
compatibility
Designed for Claude Code
version
1.25.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
crypto, analyzing-nft

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 coolcats --format csv > rankings.csv
6. Manage Cache
bash
cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py cache --list
cd ${CLAUDE_SKILL_DIR}/scripts && python3 rarity_analyzer.py cache --clear

Rarity Algorithms

AlgorithmDescriptionBest For
rarity_scoreSum of 1/frequency (default)General use, matches rarity.tools
statisticalSame as rarity_scoreBackward compatibility
averageMean of trait raritiesBalanced scoring
informationEntropy-based (-log2)Information theory approach

Output

  • Collection Summary: Name, supply, trait types
  • Rankings: Tokens sorted by rarity score with percentile
  • Token Detail: Full trait breakdown with contribution
  • Comparison: Side-by-side trait comparison

Supported Collections

Works with any ERC-721/ERC-1155 collection that has:

  • OpenSea listing
  • Standard attributes array format
  • Accessible metadata

Error Handling

See ${CLAUDE_SKILL_DIR}/references/errors.md for:

  • API rate limiting
  • IPFS gateway issues
  • Collection not found
  • Token ID not found

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for:

  • Collection analysis workflows
  • Token comparison
  • Export and caching
  • Algorithm comparison

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files (scripts, references) in skills/.curated/analyzing-nft-rarity of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • ARD.md
  • PRD.md
  • config/settings.yaml
  • references/errors.md
  • references/examples.md
  • references/implementation.md
  • scripts/formatters.py
  • scripts/metadata_fetcher.py
  • scripts/rarity_analyzer.py
  • scripts/rarity_calculator.py
  • scripts/trait_parser.py

Open the folder on GitHubat commit cfae287

Compare with similar skills

Analyzing Nft Rarity next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Analyzing Nft Rarity compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Analyzing Nft Rarity this skilljeremylongshore/tons-of-skills-marketplace2.8k—~882Automated safety check: PassMIT
Technical Analysttradermonty/claude-trading-skills3k4 repos~4.6kAutomated safety check: PassMIT
Polyclawchainstacklabs/polyclaw3591 repos~2kAutomated safety check: PassApache-2.0
Longbridge Researchhelsome/folio2713 repos~2.1kAutomated safety check: PassMIT
Stock Analysis24mlight/StockClaw1012 repos~2kAutomated safety check: NotesMIT
Swapper Depositswapperfinance/swapper-toolkit852—~1.8kAutomated safety check: PassMIT

Similar skills

  • Technical Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.

    3k GitHub starsUsed in 4 repos~4.6k tokens
    Business, Finance & HRAuto-check passed
  • Polyclaw

    chainstacklabs/polyclaw

    Trade on Polymarket via split + CLOB execution. An agent skill from chainstacklabs/polyclaw.

    359 GitHub starsUsed in 1 repo~2k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    271 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Stock Analysis

    24mlight/StockClaw

    Analyze stocks and cryptocurrencies using Yahoo Finance data.

    101 GitHub starsUsed in 2 repos~2k tokens
    Business, Finance & HRAuto-check: notes
  • Swapper Deposit

    swapperfinance/swapper-toolkit

    Deposit and bridge funds into a wallet or protocol using Swapper Finance.

    852 GitHub stars~1.8k tokensUpdated 6 mo ago
    Business, Finance & HRAuto-check passed
  • Okx Cex Earn

    okx/agent-skills

    Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI.

    187 GitHub starsUsed in 2 repos~3.3k tokens
    Business, Finance & HRAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Analyzing Nft Rarity

What does Analyzing Nft Rarity do?

Calculate NFT rarity scores and rank tokens by trait uniqueness. Analyzing Nft Rarity is an agent skill from jeremylongshore/tons-of-skills-marketplace. Calculate NFT rarity scores and rank tokens by trait uniqueness.

When should I use Analyzing Nft Rarity?

Analyzing Nft Rarity fits situations like: analyzing NFT collections; checking token rarity; with phrases like check NFT rarity; analyze collection.

How do I install Analyzing Nft Rarity in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill analyzing-nft-rarity -a claude-code`. Or copy the skill folder (skills/.curated/analyzing-nft-rarity in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/analyzing-nft-rarity in your project. Claude Code loads it when a task matches its description.

How do I install Analyzing Nft Rarity in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill analyzing-nft-rarity -a codex`. Or copy the skill folder (skills/.curated/analyzing-nft-rarity in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/analyzing-nft-rarity in your project. Codex loads it when a task matches its description.

Can I use Analyzing Nft Rarity in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill analyzing-nft-rarity -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/analyzing-nft-rarity, .gemini/skills/analyzing-nft-rarity, .github/skills/analyzing-nft-rarity and .opencode/skills/analyzing-nft-rarity in your project.

What does Analyzing Nft Rarity need to run?

Going by SKILL.md and its folder, Analyzing Nft Rarity needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named OPENSEA_API_KEY and ALCHEMY_API_KEY. Our summary lists: Python 3; A credential in OPENSEA_API_KEY; A credential in ALCHEMY_API_KEY. Its frontmatter pre-approves these tools: Read, Bash(python3:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Analyzing Nft Rarity access the network?

SKILL.md names 3 domains. As links in the text: docs.opensea.io, rarity.tools and ipfs.io. This is read from the text; nothing was executed.

Is Analyzing Nft Rarity safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Analyzing Nft Rarity use?

Analyzing Nft Rarity is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Analyzing Nft Rarity use?

About 882 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to Analyzing Nft Rarity?

Skills that share tags, products or a category with Analyzing Nft Rarity: Technical Analyst (tradermonty/claude-trading-skills, 3k stars), Polyclaw (chainstacklabs/polyclaw, 359 stars), Longbridge Research (helsome/folio, 271 stars) and Stock Analysis (24mlight/StockClaw, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Analyzing Nft Rarity?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.