mezo

Mezo integration workflows for apps, autonomous agents, and Mezo Earn operations.

390 stars

Best use case

mezo is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Mezo integration workflows for apps, autonomous agents, and Mezo Earn operations.

Teams using mezo should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/mezo/SKILL.md --create-dirs "https://raw.githubusercontent.com/OpenAgentsInc/openagents/main/skills/mezo/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/mezo/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How mezo Compares

Feature / AgentmezoStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Mezo integration workflows for apps, autonomous agents, and Mezo Earn operations.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Mezo

## Overview

Integrate applications and agent workflows with the Mezo protocol. Use this skill when a task requires Mezo network setup (testnet/mainnet), Hardhat or Foundry configuration, Mezo Passport wallet connection, mezod/validator-kit operations, Mezo Earn automation (lock/vote/claim/poke/incentives), contract deployment verification, or Mezo-specific dApp requirements such as BTC gas and MUSD integration expectations.

## Environment

- Requires `bash` and `curl`.
- Node.js is needed for Hardhat/Passport workflows.
- Go is needed for `mezod` workflows.

Execute this workflow when the user needs practical Mezo integration work, not generic blockchain advice.

## Workflow

1. Pick the integration target first:
- App-level EVM integration (Hardhat/Foundry + RPC + deploy flow).
- Wallet UX integration (standard EVM wallet vs Mezo Passport).
- Node/operator path (`mezod` and validator-kit).
- Mezo Earn operations (veBTC lifecycle, gauge voting, rewards claims, and incentive posting).

2. Configure network and toolchain from [network-and-env](references/network-and-env.md):
- Set correct chain (`31611` testnet or `31612` mainnet).
- Apply Hardhat/Foundry configuration.
- Verify RPC health and chain id with `scripts/check-rpc.sh` or full preflight with `scripts/preflight.sh`.

3. Implement wallet connection path from [passport-and-wallet](references/passport-and-wallet.md):
- If app needs BTC-native + EVM wallet options, use Mezo Passport.
- If Passport is not required, use standard EVM wallet flow and manual network config.

4. If task is Mezo Earn-related, follow [mezo-earn-automation](references/mezo-earn-automation.md):
- Use canonical mainnet/testnet contracts from Mezo docs + tigris deployments.
- Build an epoch-aware automation loop around `vote`, `poke`, and claims.
- Apply safety limits for lock updates, votes, and incentive posting.

5. Complete deployment sanity checks:
- Confirm RPC responds with expected chain id.
- Deploy contract using configured signer/provider.
- Confirm tx on correct explorer (`explorer.test.mezo.org` or `explorer.mezo.org`).

6. Apply Mezo-specific constraints before shipping:
- BTC is the gas asset.
- If user asks about Mezo Market feature readiness, enforce requirements in references (MUSD integration, audit report, mainnet functionality).

7. If task is node/validator-related, follow [mezod-and-validator-kit](references/mezod-and-validator-kit.md):
- Choose deployment mode (docker/native/helm/manual).
- Follow sync and operational requirements.
- Include PoA submission command only when validator onboarding is requested.

## Quick Commands

```bash
# Testnet RPC health + chain id check
scripts/check-rpc.sh https://rpc.test.mezo.org 31611

# Mainnet provider check
scripts/check-rpc.sh https://rpc-http.mezo.boar.network 31612

# Preflight with signer + RPC failover
scripts/preflight.sh testnet ~/.config/openagents/mezo-agent.env
scripts/preflight.sh mainnet ~/.config/openagents/mezo-agent.env
```

## Reference Files

- [network-and-env](references/network-and-env.md): chain params, RPC endpoints, Hardhat/Foundry config, deployment verification.
- [passport-and-wallet](references/passport-and-wallet.md): Mezo Passport setup and wallet path decisioning.
- [mezo-earn-automation](references/mezo-earn-automation.md): contract map, ABI methods, and agent automation loop for Mezo Earn.
- [mezod-and-validator-kit](references/mezod-and-validator-kit.md): mezod prerequisites, validator-kit modes, sync/PoA operations.

Related Skills

neutronpay

390
from OpenAgentsInc/openagents

Neutronpay MCP and SDK workflows for Lightning, stablecoin, and fiat payments.

moneydevkit

390
from OpenAgentsInc/openagents

Money Dev Kit workflows for Lightning checkout and agent wallets.

maestro

390
from OpenAgentsInc/openagents

Maestro Symphony blockchain query operations for OpenAgents agents, including tip freshness checks, address/UTXO/runes queries, and production-safe troubleshooting against deployed Symphony API endpoints.

l402

390
from OpenAgentsInc/openagents

L402 agent commerce workflows with lnd, lnget, scoped macaroons, aperture, and MCP.

charms

390
from OpenAgentsInc/openagents

Charms workflows for Bitcoin app contracts, spell proving, and UTXO asset operations.

cast

390
from OpenAgentsInc/openagents

Charms CAST DEX workflows for order creation, cancellation/replacement, partial fulfillment, signing, and Bitcoin transaction verification.

blink

390
from OpenAgentsInc/openagents

Bitcoin Lightning wallet for agents — balances, invoices, payments, BTC/USD swaps, QR codes, price conversion, and transaction history via the Blink API. All output is JSON.

autopilot-pane-control

390
from OpenAgentsInc/openagents

OpenAgents desktop pane and CAD control for Codex via openagents.* tool calls.

autopilot-data-seller

390
from OpenAgentsInc/openagents

Conversational seller-authoring policy for DS-first Data Market listings in OpenAgents.

autopilot-data-seller-cli

390
from OpenAgentsInc/openagents

Shell-first OpenAgents DS-first Data Market packaging and publication workflow using the deterministic packaging helper, autopilotctl, and the no-window headless runtime.

autopilot-data-market-control

390
from OpenAgentsInc/openagents

Typed OpenAgents DS-first Data Market tool contract for seller publication and market read-back.

autopilot-cad-builder

390
from OpenAgentsInc/openagents

Deterministic CAD build orchestration for Autopilot Chat using openagents CAD and pane tools, including week-1 gripper flow.