cosmos

Document Cosmos SDK module development, including keepers, Msg/Query services, and genesis.

4|1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/hairyf/blockchain-skills --skill cosmos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cosmos
Source: https://github.com/hairyf/blockchain-skills/tree/main/skills/cosmos
Command: npx skills add https://github.com/hairyf/blockchain-skills --skill cosmos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and references for developing and integrating modules within the Cosmos SDK framework, simplifying the creation of application-specific blockchains.

Core Features & Use Cases

  • Module Development: Understand module structure, keepers, Msg/Query services, and genesis.
  • App Integration: Learn how to wire modules, handle upgrades, and leverage depinject.
  • Use Case: A developer needs to create a new module for a decentralized exchange on Cosmos. They can use this Skill to understand how to define Msg services for token swaps, implement keepers for managing order books, and integrate the module into the application's genesis configuration.

Quick Start

Use the cosmos skill to learn about Cosmos SDK module structure.

Frequently Asked Questions about cosmos

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a custom module for a Cosmos SDK appchain?

To build a Cosmos SDK module, you define Msg and Query services, implement keepers for state management, and integrate the module into the application's genesis configuration and app wiring.

What is the anatomy of a Cosmos SDK application?

A Cosmos SDK application consists of modules wired together, utilizing keepers for store management, handling genesis state, and applying depinject for dependency injection and upgrades.

How do keepers and gRPC services work in Cosmos SDK module development?

Keepers manage the module's store state, while gRPC services handle Msg and Query requests, allowing your custom appchain modules to process transactions and serve queries efficiently.

What's the best way to handle app wiring and upgrades in Cosmos SDK?

Cosmos SDK app wiring and upgrades are handled by leveraging depinject for module dependency injection and following best practices for module structure and error handling during upgrades.

Can I use this to create a decentralized exchange module on Cosmos?

Yes, you can develop a decentralized exchange module by defining Msg services for token swaps, implementing keepers for managing order books, and wiring the module into the app's genesis.

When do I need depinject for Cosmos SDK module structure?

Depinject is needed for app wiring when you want to automate dependency injection for your Cosmos SDK modules, simplifying the integration of keepers and services across the appchain.