blockchain-data-indexing

blockchain-data-indexing is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 93 tokens per session (5,123 once invoked), scanned A, original, MIT.

A guide to turning blockchain activity into organized, searchable data using indexers, subgraphs, queries, and data pipelines.

In plain words
What is it for?
Use it to plan data extraction, schemas, event indexing, historical and real-time queries, and managed or self-hosted blockchain data pipelines.
Why use it?
Raw blockchain records are difficult to query directly, especially when tracking events across multiple chains or handling chain reorganizations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is file: ./abis/Factory.json.

Good fit Use it to plan data extraction, schemas, event indexing, historical and real-time queries, and managed or self-hosted blockchain data pipelines.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-skills
agentmods
npx agentmods add skills/j4flmao/agent-skills/blockchain-data-indexing

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for blockchain-data-indexing

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/blockchain-data-indexing/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/blockchain-data-indexing)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/blockchain-data-indexing"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/blockchain-data-indexing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for blockchain-data-indexing

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/blockchain-data-indexing"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/blockchain-data-indexing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,123 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.05123
Opus 5 $0.00046 $0.02561
Sonnet 5 $0.00019 $0.01025
Haiku 4.5 $0.00009 $0.00512

Measured 8d ago against content hash 169311b4f45e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

blockchain-data-indexing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/blockchain/blockchain-data-indexing/SKILL.md · 547 lines

How it starts

The opening of the file, as written. The whole thing — 547 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Blockchain Data Indexing

Purpose

Guide the selection and implementation of blockchain data indexing solutions. Covers The Graph subgraphs, Dune Analytics queries, Goldsky pipelines, and custom indexer architecture for transforming raw on-chain data into queryable formats.

Agent Protocol

Trigger Keywords

"blockchain indexer", "subgraph", "The Graph", "Dune Analytics", "Dune", "Goldsky", "ChainIndex", "indexer architecture", "event indexing", "event handler", "call handler", "block handler", "data source template", "dynamic data source", "spellbook", "decoded table", "pipeline", "mirror", "ETL blockchain", "reorg handling", "chain reorg", "log polling", "event-driven indexing", "fromBlock", "toBlock", "healing"

Input Context

  • Blockchain and chain(s) to index
  • Data to extract (events, calls, state, traces)
  • Query patterns (analytical, real-time, historical)
  • Infrastructure preferences (managed service vs self-hosted)
  • Budget constraints (gas costs, infrastructure costs)
  • Reorg tolerance (confirmation depth)

Output Artifact

Indexing architecture recommendation with configuration, schema design, and production operational plan.

Response Format

  1. Recommendation: tool/protocol fitting the use case (The Graph, Dune, Goldsky, ChainIndex, hybrid)
  2. Architecture: indexing pipeline (source chain → data source → transformation → storage → query layer)
  3. Configuration snippet: YAML/SQL/AssemblyScript excerpt (subgraph.yaml, Dune query, Goldsky pipeline, event handler)
  4. Reorg & safety: how design handles reorgs, missing blocks, data consistency
  5. Alternatives/trade-offs: when another approach is better and why

Completion Criteria

  • Indexing tool selected with justification against alternatives
  • Event schema designed with all indexed fields for efficient filtering
  • Reorg handling modeled with confirmation depth and unwind logic
  • Query patterns optimized (time-range filters, pagination, aggregations)
  • Monitoring metrics defined (indexing lag, reorgs, error rate)

Read the full file on GitHub · 547 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 547 lines · 93 tokens per session scan A 169311b4f45e

Subscribe to this mod's changes

blockchain-data-indexing is a skill published in the GitHub repository j4flmao/agent-skills (23 stars, last pushed 5d ago), licensed MIT. It adds 93 tokens to every session and 5,123 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

dune-analytics

Blockchain analytics via Dune REST API — execute DuneSQL queries against live on-chain data, discover decoded contract tables, and monitor credit usage. Use when the user asks about on-chain data, wallet activity, DEX trades, token transfers, smart contract events, or says "query Dune", "run a Dune query", or "search…

moonpay/skills · 92 tokens

TronScan Data Lookup

Query TRON blockchain data via the TronScan API — accounts, transactions, tokens, blocks, contracts, transfers, and chain statistics.

BofAI/skills · 33 tokens

onchain-data-analysis

On-chain data analysis skill for Etherscan, Dune Analytics, and blockchain explorers.

XSpoonAi/spoon-awesome-skill · 22 tokens

official-sui-skills

Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com/MystenLabs/skills; pinned to the same ref the audit catalog derives from (see…

MystenLabs/sui · 116 tokens

sui-and-move-tools

Use to get bytecode for a deployed Sui package and produce a disassembled working view. One GraphQL call fetches every module's raw bytecode bytes; sui move disassemble (already on the system, running sui prompt) produces .asm files for analysis. Trigger on "fetch this package's bytecode", "get me the .mv for package…

MystenLabs/sui · 105 tokens

web3-audit

Smart contract security audit — 10 DeFi bug classes (accounting desync, access control, incomplete path, off-by-one, oracle, ERC4626, reentrancy, flash loan, signature replay, proxy), pre-dive kill signals (TVL < $500K etc), Foundry PoC template, grep patterns for each class, and real Immunefi paid examples. Use for…

uphiago/recon-skills · 103 tokens