sentioxyz/sentio-ai-kit/sentio-processor
Claude Code and agent skill by sentioxyz/sentio-ai-kit
- community
Checking that the SKILL.md file is still in the repository.
Use when initializing Sentio projects, writing blockchain processor code, adding contracts/ABIs, testing processors, or deploying to the Sentio platform. Triggers on sentio CLI usage, processor development, multi-chain indexing, blockchain data analytics with Sentio SDK, DeFi protocols, points systems, or store entities.
Install
npx vskill@latest install sentioxyz/sentio-ai-kit/sentio-processorSKILL.md
Managing Sentio Processors
Overview
Sentio SDK is a TypeScript blockchain data indexing platform. Processors handle on-chain events, transactions, and state changes across Ethereum, Aptos, Sui, Solana, Starknet, Bitcoin, Cosmos, Fuel, and IOTA.
Reference examples: See sentioxyz/sentio-processors for 120+ production processors.
When to Use
- Creating/initializing a Sentio indexing project
- Adding contracts or ABIs to a project
- Writing processor code for any supported chain
- Testing processors with
TestProcessorServer - Deploying processors with
sentio upload - Configuring
sentio.yaml - Multi-chain or multi-contract setups
- DeFi protocols (DEX, lending, staking, points systems)
Progressive Disclosure
This skill follows a layered approach:
- This file — CLI commands, core patterns, all handler types, metrics/events/store overview, best practices
- [references/advanced-patterns.md](references/advanced-patterns.md) — Multi-contract binding, GlobalProcessor, lazy caching, view calls, partition keys, baseLabels
- [references/defi-patterns.md](references/defi-patterns.md) — Price feeds, DEX/AMM, lending protocols, TVL tracking, Aptos/Sui DEX helpers
- [references/store-and-points.md](references/store-and-points.md) — Store schema advanced features (relationships, timeseries, indexes, iterators, filter operators)
- [references/position-tracking-templates.md](references/position-tracking-templates.md) — 10 protocol-specific points/position tracking templates (Simple Holding, Aave, Morpho, Vault/LP, Uni V3, Pendle, Compound, NFT, Uni V2, Uni V4)
- [references/production-examples.md](references/production-examples.md) — 7 complete production processor examples (Uniswap, AAVE, Cetus, LiquidSwap, Lombard points, Scallop)
- [references/sui-sdk4-migration.md](references/sui-sdk4-migration.md) — Upgrading to SDK 4: cross-chain breaking changes (dep bumps, Solana
@anchor-lang/core, proto/RPC stack, dropped v3 back-compat) plus the Sui gRPC deep dive — raw data shapes (transaction/object/event, protobuf oneof, Move type-string comma spacing + address form), with Sui source citations
Project Lifecycle
1. Initialize Project
| Flag | Description | Default | |
|---|---|---|---|
--chain-type | eth, aptos, sui, solana, iota, fuel, starknet, raw | eth | |
--chain-id | EVM chain ID (only for eth) | 1 | |
--subproject | Monorepo mode (no root dependencies) | false |
2. Add Contracts & Generate Types
| Flag | Description | |
|---|---|---|
-c, --chain | Chain ID (1, 56) or name (aptos_mainnet, sui_mainnet) | |
-n, --name | Contract/module display name | |
--api-key | Explorer API key (Etherscan) |
3. Login & Deploy
4. Verify Processor is Running
After upload, use sentio processor status --project <owner>/<slug> to check the processor status. If the processor is in ERROR state, use sentio processor logs --project <owner>/<slug> --level ERROR to get error details, diagnose the issue, fix the code, and re-upload.
package.json
ethers: SDK 4 uses upstream `ethers` 6.x — the old @sentio/ethers fork has been dropped. Do not pin or override ethers to @sentio/ethers. When migrating an older project, remove any leftover override such as:
sentio.yaml Quick Reference
Processor Patterns by Chain
Proxy contracts: Use the implementation contract's ABI while binding to the proxy address.
Ethereum / EVM
Handlers: onEvent*, onBlockInterval, onTimeInterval, onTransaction, onTrace, onCallXxx
Event Filtering
Filter events to only process matching ones (e.g., only mints):
Generic Event Handler
Catches any event from the contract:
Function Call Handler (onCallXxx)
Triggers on internal function calls (trace-based). Access args and return values:
GlobalProcessor: GlobalProcessor.bind({ network }).onBlockInterval(handler)
Aptos
Handlers: onEvent*, onEntry*, onTransaction, onTimeInterval, onVersionInterval Resources: AptosResourcesProcessor.bind({ address }).onResourceChange(handler, typeString)
Sui
Handlers: onEvent*, onEntryFunctionCall, onObjectChange, onTimeInterval Note: Use startCheckpoint: 8500000n (BigInt) instead of startBlock for Sui.
Solana
On SDK 4, Solana uses @anchor-lang/core + @solana/kit. Import BorshInstructionCoder (and Idl/Instruction) from @sentio/sdk/solana, not from @coral-xyz/anchor:
Starknet
Factory Pattern (ProcessorTemplate)
For dynamically-created contracts (e.g., DEX pair factory):
Metrics & Events
CRITICAL — Metric Naming: Names MUST NOT end with reserved suffixes: _count, _sum, _avg, _min, _max, _last. These are appended automatically by Sentio. Error: COUNTER name "X" is invalid, cannot use [_count _sum _avg _min _max _last] as the suffix: invalid meta
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sentio-processor/SKILL.md
Popularity
- Repository stars
- 100
- Repository forks
- 1
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sentioxyz/sentio-ai-kit/sentio-processor)