2 minutes
Agent Skills for Substreams
AI coding assistants can be enhanced with specialized Substreams expertise through agent skills. These open-source knowledge packages give AI assistants deep understanding of Substreams development patterns, best practices, and debugging techniques.
Available Skills
Substreams Development (substreams-dev)
Expert knowledge for developing, building, and debugging Substreams projects on any blockchain:
- Creating and configuring
substreams.yamlmanifests - Writing efficient Rust modules (map, store, index types)
- Protobuf schema design and code generation
- Performance optimization and avoiding excessive cloning
- Debugging and troubleshooting common issues
Substreams SQL (substreams-sql)
Expert knowledge for building SQL database sinks from Substreams data:
- Database Changes (CDC) - Stream individual row changes for real-time consistency
- Relational Mappings - Transform data into normalized tables with proper relationships
- PostgreSQL - Advanced patterns, indexing strategies, and performance optimization
- ClickHouse - Analytics-optimized schemas, materialized views, and time-series patterns
- Schema Design - Best practices for blockchain data modeling
Substreams Testing (substreams-testing)
Expert knowledge for testing Substreams applications at all levels:
- Unit Testing - Testing individual functions with real blockchain data
- Integration Testing - End-to-end workflows with real block processing
- Performance Testing - Benchmarking, memory profiling, and production mode validation
- FireCore Tools - Using Firehose, StreamingFast API, and testing utilities
- CI/CD Integration - Automated testing pipelines and regression detection
Installation
Claude Code
Install the plugin from the marketplace:
1claude plugin marketplace add https://github.com/streamingfast/substreams-skillsThen enable the skills:
- Run
/pluginto open the plugin manager - Go to the Discover tab
- Find and install the
substreams-devplugin (which pulls all defined skills automatically) - Restart Claude instance(s) for skills to be discovered
After installation, Claude automatically uses Substreams expertise when working on relevant projects.
Alternative: Local Development
Clone and load directly without installing from the marketplace:
1git clone https://github.com/streamingfast/substreams-skills.git2claude --plugin-dir ./substreams-skillsCursor
Clone the repository and add the skill directory path in Cursor settings:
1~/substreams-skills/skills/substreams-devVS Code
VS Code 1.107+ supports Claude Skills as an experimental feature:
- Enable the experimental feature in settings
- Add skill paths to your configuration
- Skills will be available to Claude in VS Code
See the VS Code 1.107 release notes for details.