AI SummaryGuides developers through setting up and configuring Torii, the Dojo indexer, to enable GraphQL queries, gRPC subscriptions, and SQL access for deployed worlds. Essential for developers building client applications that need efficient querying and real-time updates on Dojo world state.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "dojo-indexer" skill in my project. Please run this command in my terminal: # Install skill into your project mkdir -p .claude/skills/dojo-indexer && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/dojo-indexer/SKILL.md "https://raw.githubusercontent.com/dojoengine/book/main/skills/dojo-indexer/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Set up and configure Torii indexer for GraphQL queries, gRPC subscriptions, and SQL access. Use when indexing your deployed world for client queries or real-time updates.
Dojo Indexer (Torii)
Set up and use Torii, the Dojo indexer, for efficient querying and real-time subscriptions to your world state.
When to Use This Skill
• "Set up Torii indexer" • "Configure GraphQL for my world" • "Create subscriptions for entity updates" • "Query world state efficiently"
What This Skill Does
Manages Torii indexer: • Start and configure Torii • Create GraphQL queries • Set up real-time subscriptions • Access SQL database directly
Quick Start
Start Torii: `bash torii --world <WORLD_ADDRESS> ` This starts Torii with default settings: • GraphQL API at http://localhost:8080/graphql • gRPC API at http://localhost:8080 • In-memory database (for development) With Controller indexing (recommended): `bash torii --world <WORLD_ADDRESS> --indexing.controllers ` Production configuration: `bash torii --world <WORLD_ADDRESS> --db-dir ./torii-db --indexing.controllers `
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster