AGENTS

Skills

Install M0 skills to give AI coding agents deep knowledge of the M0 protocol, stablecoin integration, and smart contracts.

Skills are pre-built instruction sets that give AI coding agents specialized knowledge about M0. They provide context about the protocol, smart contracts, integration patterns, and best practices — so you can build on M0 without needing to explain everything from scratch.

What are Skills?

Skills are markdown-based instruction files that AI coding tools load as context. They contain:

  • Protocol architecture and terminology
  • Smart contract interfaces and addresses
  • Integration patterns and code examples
  • Best practices and common pitfalls

When installed, your AI assistant can help you write M0 integration code, debug contract interactions, and follow M0 conventions automatically.

Available Skills

SkillDescriptionDownload
M0 ProtocolCore protocol concepts, M token, minting/burning, TTG governancem0-protocol.md
Stablecoin IntegrationBuilding with Wrapped M, extension patterns, cross-chain bridgingm0-stablecoin-integration.md

Installation

Install skills by downloading them into your project's .claude/skills/ directory:

mkdir -p .claude/skills/m0-protocol
curl -o .claude/skills/m0-protocol/SKILL.md https://docs.m0.org/skills/m0-protocol.md

mkdir -p .claude/skills/m0-stablecoin-integration
curl -o .claude/skills/m0-stablecoin-integration/SKILL.md https://docs.m0.org/skills/m0-stablecoin-integration.md

Claude Code will automatically pick up skills from .claude/skills/ in your project directory.

Usage

Once installed, you can ask your AI assistant to:

  • "Create a contract that wraps M tokens"
  • "How do I integrate M0 minting into my dApp?"
  • "What's the correct way to call proposeMint()?"
  • "Set up cross-chain M token bridging"
  • "What are the steps to get earner approval for my extension?"

The assistant will use its M0 knowledge to provide accurate, context-aware code and guidance.

Copyright © M0 Foundation 2026