Monitor blockchain mempools for pending transactions, gas analysis, and MEV opportunities.

MITAuto-check passed

Install Analyzing Mempool

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

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace analyzing-mempool --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-mempool .claude/skills/analyzing-mempool && 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-mempool
GitHub stars
2.8k
Token cost
~938 tokens
SKILL.md length
289 words
Files
13 (incl. scripts, references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Monitor blockchain mempools for pending transactions, gas analysis, and MEV opportunities.

  • Works in 3 steps: Navigate to Scripts Directory → Choose a Command → Interpret Results
  • Analyzing pending transactions
  • SKILL.md covers Contents, Overview, Prerequisites and Instructions, plus 4 more sections
  • Runs Python scripts from its folder; calls python

What it does

Analyzing Mempool is an agent skill from jeremylongshore/tons-of-skills-marketplace. Monitor blockchain mempools for pending transactions, gas analysis, and MEV opportunities. Use when analyzing pending transactions, optimizing gas prices, or researching MEV. Trigger with phrases like "check mempool", "scan pending txs", "find MEV", "gas price analysis", or "pending swaps".

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

It works with Python. 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 pending transactions
  • Optimizing gas prices
  • Researching MEV
  • With phrases like check mempool

Example prompts

  • “check mempool”
  • “scan pending txs”
  • “find MEV”
  • “/analyzing-mempool”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(python:*mempool*)

Workflow steps

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

  1. Navigate to Scripts Directory
  2. Choose a Command
  3. Interpret Results

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
    • Write
    • Edit
    • Grep
    • Glob
    • Bash(python:*mempool*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

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

    Shell commands in SKILL.md call:

    • python

    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):

    • ethereum.org
    • flashbots.net
    • thegraph.com

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    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 Mempool loads about 938 tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 77 tokens; SKILL.md has 289 words of instructions outside code blocks.

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

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). 289 words, ~938 tokens.

Download SKILL.mdSave it as .claude/skills/analyzing-mempool/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
analyzing-mempool
description
Monitor blockchain mempools for pending transactions, gas analysis, and MEV opportunities. Use when analyzing pending transactions, optimizing gas prices, or researching MEV. Trigger with phrases like "check mempool", "scan pending txs", "find MEV", "gas price analysis", or "pending swaps".
allowed-tools
Read, Write, Edit, Grep, Glob, Bash(python:*mempool*)
compatibility
Designed for Claude Code
version
1.32.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
crypto, monitoring, analyzing-mempool

Analyzing Mempool

Contents

Overview | Prerequisites | Instructions | Output | Error Handling | Examples | Resources

Overview

Monitor Ethereum mempool for pending transactions, analyze gas prices, detect DEX swaps, and identify potential MEV opportunities. Useful for traders, MEV researchers, and protocol developers.

Prerequisites

  1. Install Python 3.8+ with requests library
  2. Configure Ethereum RPC URL (default: public endpoint, or set ETH_RPC_URL)
  3. Verify internet access for RPC calls

Instructions

Step 1: Navigate to Scripts Directory
bash
cd ${CLAUDE_SKILL_DIR}/scripts
Step 2: Choose a Command
  1. View pending transactions: python mempool_analyzer.py pending
  2. Analyze gas prices: python mempool_analyzer.py gas
  3. Detect pending DEX swaps: python mempool_analyzer.py swaps
  4. Scan MEV opportunities: python mempool_analyzer.py mev
  5. Get mempool summary: python mempool_analyzer.py summary
  6. Watch specific contract: python mempool_analyzer.py watch 0x7a250d...

Alternatively, customize with flags:

bash
python mempool_analyzer.py pending --limit 100    # Limit results
python mempool_analyzer.py --chain polygon gas     # Use different chain
python mempool_analyzer.py --chain arbitrum pending # Or use Arbitrum
Step 3: Interpret Results

Gas Recommendations:

  • Slow (10th percentile): May take 10+ blocks
  • Standard (50th percentile): 2-5 blocks
  • Fast (75th percentile): 1-2 blocks
  • Instant (90th percentile): Next block likely

MEV Warnings:

  • MEV detection is for educational purposes
  • Real MEV extraction requires specialized infrastructure
  • Use this for research and understanding mempool dynamics

Output

  • Pending transaction lists with gas prices and types
  • Gas price distribution and recommendations
  • Detected DEX swaps with amounts and DEX identification
  • MEV opportunity analysis with estimated profits
  • JSON output for programmatic use (--format json)

Error Handling

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

  • RPC connection issues and timeout recovery
  • Mempool access limitations per chain
  • Transaction decoding errors and fallbacks
  • Gas analysis edge cases

Examples

Example 1: Check gas before sending transaction:

bash
python mempool_analyzer.py gas
# Use "Fast" for quick confirmation

Example 2: Monitor for large pending swaps:

bash
python mempool_analyzer.py swaps --limit 200  # 200: max results to scan

Example 3: Research MEV opportunities:

bash
python mempool_analyzer.py mev -v

See ${CLAUDE_SKILL_DIR}/references/examples.md for more usage patterns.

Resources

  • ${CLAUDE_SKILL_DIR}/references/implementation.md - Gas analysis, MEV detection, multi-chain details
  • Ethereum JSON-RPC - RPC specification
  • Flashbots - MEV research and infrastructure
  • DEX Subgraphs - Pool and swap data
  • Supports: Ethereum, Polygon, Arbitrum, Optimism, Base

© 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 12 other files (scripts, references) in skills/.curated/analyzing-mempool 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/gas_analyzer.py
  • scripts/mempool_analyzer.py
  • scripts/mev_detector.py
  • scripts/rpc_client.py
  • scripts/tx_decoder.py

Open the folder on GitHubat commit cfae287

Compare with similar skills

Analyzing Mempool 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 Mempool compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Analyzing Mempool this skilljeremylongshore/tons-of-skills-marketplace2.8k—~938Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k47 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use29k6 repos~3kAutomated safety check: PassMIT
PPT Masterhugohe3/ppt-master59k1 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 47 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    29k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    59k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed
  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.7k GitHub starsUsed in 16 repos~3.9k tokens
    Data & AnalyticsAuto-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

Works with

Questions about Analyzing Mempool

What does Analyzing Mempool do?

Monitor blockchain mempools for pending transactions, gas analysis, and MEV opportunities. Analyzing Mempool is an agent skill from jeremylongshore/tons-of-skills-marketplace. Monitor blockchain mempools for pending transactions, gas analysis, and MEV opportunities.

When should I use Analyzing Mempool?

Analyzing Mempool fits situations like: analyzing pending transactions; optimizing gas prices; researching MEV; with phrases like check mempool.

How do I install Analyzing Mempool in Claude Code?

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

How do I install Analyzing Mempool in Codex?

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

Can I use Analyzing Mempool 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-mempool -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-mempool, .gemini/skills/analyzing-mempool, .github/skills/analyzing-mempool and .opencode/skills/analyzing-mempool in your project.

What does Analyzing Mempool need to run?

Going by SKILL.md and its folder, Analyzing Mempool needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(python:*mempool*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Analyzing Mempool access the network?

SKILL.md names 3 domains. As links in the text: ethereum.org, flashbots.net and thegraph.com. This is read from the text; nothing was executed.

Is Analyzing Mempool 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 Mempool use?

Analyzing Mempool 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 Mempool use?

About 938 tokens (SKILL.md is roughly 3.8k 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.2k tokens, read only when the agent opens those files.

What are the alternatives to Analyzing Mempool?

Skills that share tags, products or a category with Analyzing Mempool: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Analyzing Mempool?

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.