Skip to main content
skill CX Codex

indexer — Claude Code skill: what it does, how to install

Sets up an Envio HyperIndex indexer that captures Monad smart contract events and exposes them over GraphQL for activity feeds or app triggers.

no license 248 installs ★ 15 updated 2026-10-12

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add therealharpaljadeja/monskills --skill indexer -a claude-code
Open on GitHub

What indexer does

The skill runs envio init contract-import explorer inside an indexer/ folder, passing the contract address, network (monad or monad-testnet) and TypeScript as the target language. The contract has to be deployed and verified on a Monad explorer first, since ABI import pulls from there and fails on unverified contracts. Init produces config.yaml, schema.graphql and handler stubs that the developer fills in to decide what gets stored.

Transaction fields like event.transaction.hash are typed never by default, so handlers need a field_selection block added to config.yaml and a pnpm codegen rerun before those fields become usable.

Deploying and managing the indexer on Envio Cloud requires envio-cloud and the GitHub CLI (gh) already installed and authenticated. The skill won't install or log either in on its own, and a monskills hook blocks the command with a pointer to whatever's missing.

What it helps with

  • build a historical feed of contract events
  • trigger an app action from an onchain event
  • get a GraphQL endpoint for a deployed indexer
  • debug an indexer that fails to deploy or sync
  • restart, promote or delete an existing Envio Cloud deployment

Example prompts for the agent

  • Initialize an indexer for the MyToken contract on Monad testnet
  • Add transaction_fields with hash to config.yaml and regenerate types
  • Help debug an indexer that's failing to sync on Envio Cloud

How to install indexer

1Skills CLI (Vercel)

npx skills add therealharpaljadeja/monskills --skill indexer -a claude-code

2Manually: put the files in place

~/.claude/skills/indexer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/indexer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about indexer

How to install indexer in Claude Code?

Run npx skills add therealharpaljadeja/monskills --skill indexer -a claude-code; the skill lands at ~/.claude/skills/indexer/SKILL.md.

What does indexer do?

It sets up an Envio HyperIndex indexer for Monad contract events and handles its lifecycle on Envio Cloud: deploying, debugging, restarting, promoting and deleting.

What does indexer require to work?

The target contract must be deployed and verified on a Monad explorer, and deploying to Envio Cloud needs envio-cloud and the GitHub CLI (gh) already installed and logged in.

Similar skills

All skills for Backend and APIs →

From the same set9

Project sponsors

Companies that keep this analytics open