Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Optimizing Gas Fees

skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a

★ 2,823pushed todayversion 1.27.0
✓SAFEGrade B · 89/100 · 8 Oct 2026 · 4f83675
2,823repo stars · whole jeremylongshore/claude-code-plugins-plus-skills

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and observed network access and no hard-coded secrets. What it does: Optimize blockchain gas costs by analyzing prices, patterns, and timing.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Optimizing Gas Fees (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/optimizing-gas-fees

Trust audit

Audit 0.4.1 · source read 8 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low1 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkDeclared3 observations
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codePASS0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS1
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (1)

INFOPrompt injectionprompt.credential_read · references/implementation.md:7
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
1. Use Read tool to load API credentials from ${CLAUDE_SKILL_DIR}/config/crypto-apis.env
Why
asks the agent to read credentials
Fix
—

Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Optimize blockchain gas costs by analyzing prices, patterns, and timing.

---
name: optimizing-gas-fees
description: 'Optimize blockchain gas costs by analyzing prices, patterns, and timing.

  Use when checking gas prices, estimating costs, or finding optimal windows.

  Trigger with phrases like "gas prices", "optimize gas", "transaction cost", "when
  to transact".

  '
allowed-tools: Read, Bash(python3:*)
version: 1.27.0
author: Jeremy Longshore <[email protected]>
license: MIT
tags:
- crypto
- cost-optimization
- optimizing-gas
compatibility: Designed for Claude Code
---
# Optimizing Gas Fees

## Overview

Gas fee optimization skill that:

- Fetches real-time gas prices from multiple sources
- Estimates transaction costs in ETH and USD
- Analyzes historical patterns to find optimal timing
- Predicts future gas prices
- Compares gas across multiple chains

## Prerequisites

- Python 3.8+ with requests library
- Network access to RPC endpoints
- Optional: `ETHERSCAN_API_KEY` for higher rate limits
- Optional: Custom RPC URLs via environment variables

## Instructions

1. Check current gas prices (optionally for a specific chain):

   ```bash
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py current
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py current --chain polygon
   ```

2. Estimate transaction cost for known operations or custom gas limits (available operations: `eth_transfer`, `erc20_transfer`, `erc20_approve`, `uniswap_v2_swap`, `uniswap_v3_swap`, `sushiswap_swap`, `curve_swap`, `nft_mint`, `nft_transfer`, `opensea_listing`, `aave_deposit`, `aave_withdraw`, `compound_supply`, `compound_borrow`, `bridge_deposit`):

   ```bash
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py estimate --operation uniswap_v2_swap --all-tiers
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py estimate --gas-limit 150000 --tier fast  # 150000 = configured value
   ```

3. Find the optimal transaction window with lowest expected gas:

   ```bash
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py optimal
   ```

4. View gas patterns (hourly or daily):

   ```bash
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py patterns
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py patterns --daily
   ```

5. Predict future gas prices for a given hour:

   ```bash
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py predict --time 14
   ```

6. Compare gas prices across multiple chains:

   ```bash
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py compare
   ```

7. View base fee history for recent blocks:

   ```bash
   cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py history --blocks 50
   ```

## Output

- **Current**: Base fee, priority fee, and tier prices (slow/standard/fast/instant)
- **Estimate**: Gas cost in native token and USD for each tier
- **Patterns**: Historical hourly/daily patterns with low-gas markers
- **Optimal**: Recommended transaction window with expected savings
- **Predict**: Gas forecast for specific time with confidence
- **Compare**: Side-by-side gas prices across chains

## Supported Chains

| Chain | Native Token | Block Time |
|-------|--------------|------------|
| Ethereum | ETH | ~12 sec |
| Polygon | MATIC | ~2 sec |
| Arbitrum | ETH | ~0.25 sec |
| Optimism | ETH | ~2 sec |
| Base | ETH | ~2 sec |

## Price Tiers

| Tier | Percentile | Confirmation Time |
|------|------------|-------------------|
| Slow | 10th | 10+ blocks (~2+ min) |
| Standard | 50th | 3-5 blocks (~1 min) |
| Fast | 75th | 1-2 blocks (~30 sec) |
| Instant | 90th | Next block (~12 sec) |

## Error Handling

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

- RPC connection issues
- API rate limiting
- Price feed errors
- Pattern analysis errors

## Examples

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

- Quick start commands
- Cost estimation scenarios
- Multi-chain comparison
- Practical workflows

## Resources

- [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559) - Fee market specification
- [Etherscan Gas Tracker](https://etherscan.io/gastracker) - Reference oracle
- [L2Fees](https://l2fees.info/) - L2 cost comparison

Excerpt, first 4,139 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 4f83675

Download folder ↗
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills
git -C claude-code-plugins-plus-skills checkout 4f83675ca38a

The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 4f83675ca38a

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/jeremylongshore/optimizing-gas-fees/badge.svg)](https://modelsatlas.com/skills/jeremylongshore/optimizing-gas-fees/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Similar skills

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/jeremylongshore/optimizing-gas-fees/badge.svg)](https://modelsatlas.com/skills/jeremylongshore/optimizing-gas-fees/)

Questions about Optimizing Gas Fees

What does the Optimizing Gas Fees skill do?
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Is Optimizing Gas Fees safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Optimizing Gas Fees access on my machine?
The audit observed that it reaches the network. Each of those is consistent with what it says it does. Secrets in the source: none found.
Which assistants does Optimizing Gas Fees work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (4f83675ca38a), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.