Logo Mantle Openclaw Competition

Mantle Openclaw Competition

Tổ chức
Starchild-ai-agent
mantle-openclaw-competition

Use when OpenClaw needs to execute DeFi operations for the asset accumulation competition on Mantle. Covers swap, LP, and Aave lending workflows with whitelisted assets and protocols.

Tổng quan

Nhà phát hànhStarchild-ai-agent
Kho mãofficial-skills
Tên kỹ năngmantle-openclaw-competition
Sao
32
Bản fork
13
Tệp đi kèm
1
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Starchild-ai-agent công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Mantle Openclaw Competition trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Starchild-ai-agent/official-skills/tree/main/mantle/skills/mantle-openclaw-competition
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Starchild-ai-agent/official-skills.git /tmp/official-skills
mkdir -p .claude/skills
cp -r /tmp/official-skills/mantle/skills/mantle-openclaw-competition .claude/skills/mantle-openclaw-competition
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Mantle Openclaw Competition trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Mantle Openclaw Competition ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Mantle Openclaw Competition với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

OpenClaw Competition — DeFi Operations Guide

Overview

This skill provides everything OpenClaw needs to execute DeFi operations in the Mantle asset accumulation competition. Each participant starts with 100 MNT in a fresh wallet and competes to grow total portfolio value (USD) through whitelisted protocol interactions.

Tooling — CLI Only (Mandatory)

DO NOT enable or connect the mantle-mcp MCP server. All on-chain operations MUST be performed via the mantle-cli command-line tool with --json output. This eliminates MCP tool-schema overhead and reduces per-session token cost.

Setup

bash
npm install github:mantle-xyz/mantle-agent-scaffold   # installs mantle-cli
npx mantle-cli --help                                  # verify the CLI is available

Key rules

  • Always append --json to every command so the output is machine-parseable JSON.
  • Never start or connect to the MCP server. Do not configure mantle-mcp in any MCP client settings.
  • Never fabricate calldata — always use mantle-cli build commands.
  • Never add a from field to unsigned transactions — the signer determines from.

Discover available commands

Before using the CLI for the first time, run:

bash
mantle-cli catalog list --json          # list all 37 capabilities with category, auth, and CLI command template
mantle-cli catalog search "swap" --json # find swap-related capabilities
mantle-cli catalog show <tool-id> --json # full details for a specific capability

Each catalog entry includes:

  • category: query (read-only) | analyze (computed insights) | execute (builds unsigned tx)
  • auth: none | optional | required (whether a wallet address is needed)
  • cli_command: the exact CLI command template with placeholders
  • workflow_before: which tools to call before this one

When to Use

  • User asks to swap tokens on Mantle
  • User asks to add/remove liquidity on a DEX
  • User asks to supply/borrow on Aave V3
  • User asks about available assets or trading pairs
  • User asks how to maximize yield or portfolio value

Whitelisted Assets

Only these assets count toward the competition score:

Core Tokens

SymbolAddressDecimals
MNTNative gas token18
WMNT0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb818
WETH0xdEAddEaDdeadDEadDEADDEAddEADDEAddead111118
USDC0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF96
USDT00x779Ded0c9e1022225f8E0630b35a9b54bE7137366
MOE0x4515A45337F461A11Ff0FE8aBF3c606AE5dC00c918

xStocks RWA Tokens (Fluxion V3 pools, all paired with USDC, fee_tier 3000)

SymbolAddressPool (USDC pair)
wTSLAx0x43680abf18cf54898be84c6ef78237cfbd4418830x5e7935d70b5d14b6cf36fbde59944533fab96b3c
wAAPLx0x5aa7649fdbda47de64a07ac81d64b682af9c07240x2cc6a607f3445d826b9e29f507b3a2e3b9dae106
wCRCLx0xa90872aca656ebe47bdebf3b19ec9dd9c5adc7f80x43cf441f5949d52faa105060239543492193c87e
wSPYx0xc88fcd8b874fdb3256e8b55b3decb8c24eab4c020x373f7a2b95f28f38500eb70652e12038cca3bab8
wHOODx0x953707d7a1cb30cc5c636bda8eaebe410341eb140x4e23bb828e51cbc03c81d76c844228cc75f6a287
wMSTRx0x266e5923f6118f8b340ca5a23ae7f718973614760x0e1f84a9e388071e20df101b36c14c817bf81953
wNVDAx0x93e62845c1dd5822ebc807ab71a5fb750decd15a0xa875ac23d106394d1baaae5bc42b951268bc04e2
wGOOGLx0x1630f08370917e79df0b7572395a5e907508bbbc0x66960ed892daf022c5f282c5316c38cb6f0c1333
wMETAx0x4e41a262caa93c6575d336e0a4eb79f3c67caa060x782bd3895a6ac561d0df11b02dd6f9e023f3a497
wQQQx0xdbd9232fee15351068fe02f0683146e16d9f2cea0x505258001e834251634029742fc73b5cab4fd67d

Whitelisted Protocols & Contracts

DEX: Merchant Moe (Liquidity Book AMM)

ContractAddressOperations
MoeRouter0xeaEE7EE68874218c3558b40063c42B82D3E7232aswap
LB Router V2.20x013e138EF6008ae5FDFDE29700e3f2Bc61d21E3aswap, add/remove LP

Key pairs:

  • USDC/USDT0: bin_step=1 (stablecoin)
  • WMNT/USDC: bin_step=20
  • WMNT/USDT0: bin_step=20
  • WMNT/USDe: bin_step=20
  • USDe/USDT0: bin_step=1

DEX: Agni Finance (Uniswap V3 fork)

ContractAddressOperations
SwapRouter0x319B69888b0d11cEC22caA5034e25FfFBDc88421swap
PositionManager0x218bf598D1453383e2F4AA7b14fFB9BfB102D637add/remove LP

Key pairs:

  • WETH/WMNT: fee_tier=500 (0.05%)
  • USDC/WMNT: fee_tier=10000 (1%)
  • USDT0/WMNT: fee_tier=500 (0.05%)
  • mETH/WETH: fee_tier=500 (0.05%)

DEX: Fluxion (Uniswap V3 fork, native to Mantle)

ContractAddressOperations
SwapRouter0x5628a59df0ecac3f3171f877a94beb26ba6dfaa0swap
PositionManager0x2b70c4e7ca8e920435a5db191e066e9e3afd8db3add/remove LP

All xStocks pools: USDC paired, fee_tier=3000 (0.3%). See xStocks table above for pool addresses.

Lending: Aave V3

ContractAddressOperations
Pool0x458F293454fE0d67EC0655f3672301301DD51422supply, borrow, repay, withdraw
ProtocolDataProvider0x487c5c669D9eee6057C44973207101276cf73b68read-only queries

Supported reserve assets: WETH, WMNT, USDT0, USDC, USDe, sUSDe, FBTC, syrupUSDT, wrsETH, GHO

DeFi Operations — Step-by-Step

How to Swap Tokens

Pre-condition: You have the input token in your wallet.

1. mantle-cli swap pairs --json
   → Find the pair and its params (bin_step or fee_tier)

2. mantle-cli defi swap-quote --in X --out Y --amount 10 --provider best --json
   → Get the expected output and minimum_out

3. mantle-cli account allowances <wallet> --pairs X:<router> --json
   → Check if already approved

4. IF allowance < amount:
   mantle-cli swap approve --token X --spender <router> --amount <amount> --json
   → Sign and broadcast

5. mantle-cli swap build-swap --provider <dex> --in X --out Y --amount 10 --recipient <wallet> --amount-out-min <from_quote> --json
   → Sign and broadcast

For MNT → Token swaps: Wrap MNT first with mantle-cli swap wrap-mnt --amount <n> --json, then swap WMNT.

How to Add Liquidity

Agni / Fluxion (V3 concentrated liquidity):

1. Approve both tokens for the PositionManager
   mantle-cli swap approve --token <tokenA> --spender <position_manager> --amount <n> --json
   mantle-cli swap approve --token <tokenB> --spender <position_manager> --amount <n> --json

2. mantle-cli lp add \
     --provider agni \
     --token-a WMNT --token-b USDC \
     --amount-a 5 --amount-b 4 \
     --recipient <wallet> \
     --fee-tier 10000 \
     --tick-lower <lower> --tick-upper <upper> \
     --json

3. Sign and broadcast → Receive NFT position

Merchant Moe (Liquidity Book):

1. Approve both tokens for LB Router (0x013e138EF6008ae5FDFDE29700e3f2Bc61d21E3a)
   mantle-cli swap approve --token <tokenA> --spender 0x013e138EF6008ae5FDFDE29700e3f2Bc61d21E3a --amount <n> --json
   mantle-cli swap approve --token <tokenB> --spender 0x013e138EF6008ae5FDFDE29700e3f2Bc61d21E3a --amount <n> --json

2. mantle-cli lp add \
     --provider merchant_moe \
     --token-a WMNT --token-b USDe \
     --amount-a 5 --amount-b 4 \
     --recipient <wallet> \
     --bin-step 20 \
     --active-id <from_pool> \
     --delta-ids '[-5,-4,-3,-2,-1,0,1,2,3,4,5]' \
     --distribution-x '[0,0,0,0,0,0,1e17,1e17,2e17,2e17,3e17]' \
     --distribution-y '[3e17,2e17,2e17,1e17,1e17,0,0,0,0,0,0]' \
     --json

3. Sign and broadcast → Receive LB tokens

How to Use Aave V3

Supply (earn interest):

1. mantle-cli swap approve --token USDC --spender 0x458F293454fE0d67EC0655f3672301301DD51422 --amount 100 --json
   → Sign and broadcast

2. mantle-cli aave supply --asset USDC --amount 100 --on-behalf-of <wallet> --json
   → Sign and broadcast → Receive aUSDC (grows with interest)

Borrow (leverage):

1. Supply collateral first (see above)
2. mantle-cli aave borrow --asset USDC --amount 50 --on-behalf-of <wallet> --json
   → Sign and broadcast → Receive USDC, incur variableDebtUSDC

Repay:

1. mantle-cli swap approve --token USDC --spender 0x458F293454fE0d67EC0655f3672301301DD51422 --amount 50 --json
2. mantle-cli aave repay --asset USDC --amount 50 --on-behalf-of <wallet> --json
   OR --amount max to repay full debt

Withdraw:

1. mantle-cli aave withdraw --asset USDC --amount 50 --to <wallet> --json
   OR --amount max for full balance

How to Analyze Pools Before LP

Before adding liquidity, analyze the pool to choose the best range and estimate returns:

1. mantle-cli lp find-pools --token-a WMNT --token-b USDC --json
   → Discover all available pools across Agni, Fluxion, Merchant Moe

2. mantle-cli defi analyze-pool --token-a WMNT --token-b USDC --fee-tier 3000 --provider agni --investment 1000 --json
   → Get fee APR, multi-range comparison, risk assessment, investment projections

3. mantle-cli lp suggest-ticks --token-a WMNT --token-b USDC --fee-tier 3000 --provider agni --json
   → Get tick range suggestions (wide/moderate/tight strategies)

Safety Rules

  1. CLI only — never use MCP — All operations via mantle-cli ... --json. Do not enable or connect to the MCP server.
  2. Never fabricate calldata — Always use mantle-cli build commands. Never construct tx data manually.
  3. Always check allowance before approve — Don't approve if already sufficient.
  4. Always get a quote before swap — Use mantle-cli defi swap-quote to know expected output.
  5. Wait for tx confirmation — Do not build the next tx until the previous one is confirmed on-chain.
  6. Show human_summary — Present every build command's summary to the user before signing.
  7. Value field is hex — The unsigned_tx.value is hex-encoded (e.g., "0x0"). Pass it directly to the signer.
  8. MNT is gas — All gas costs are in MNT, not ETH.

Competition Scoring

Net Value (USD) = Sum(token holdings * price) + Sum(aToken balances * price) - Sum(debtToken balances * price)
  • aToken balances grow over time (interest earned)
  • debtToken balances grow over time (interest owed)
  • LP positions valued by underlying token amounts
  • Only interactions with whitelisted contracts count

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Mantle Openclaw Competition làm được gì?

Use when OpenClaw needs to execute DeFi operations for the asset accumulation competition on Mantle. Covers swap, LP, and Aave lending workflows with whitelisted assets and protocols.

Vì sao nên dùng Mantle Openclaw Competition trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Mantle Openclaw Competition là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Mantle Openclaw Competition trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Starchild-ai-agent/official-skills/tree/main/mantle/skills/mantle-openclaw-competition. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Mantle Openclaw Competition?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Mantle Openclaw Competition với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Mantle Openclaw Competition với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Mantle Openclaw Competition có miễn phí không?

Kỹ năng này được Starchild-ai-agent phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇