Xpersona
G

Gate Exchange Staking Skill

CLAWHUB · Unverified

Gate on-chain staking skill. Use when the user asks to stake POS coins, mint, or redeem staked assets. Triggers on 'staking', 'stake ETH', 'redeem staking',...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172g4d1dcv6ccs6desbb2xw1583qza9:gate-exchange-staking
  1. Install using `clawhub skill install s172g4d1dcv6ccs6desbb2xw1583qza9:gate-exchange-staking` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/gate-exchange/gate-exchange-staking before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-gate-exchange-gate-exchange-staking/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

143,919 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: gate-exchange-staking
version: "2026.3.23-1"
updated: "2026-03-26"
description: "Gate on-chain staking skill. Use when the user asks to stake POS coins, mint, or redeem staked assets. Triggers on 'staking', 'stake ETH', 'redeem staking', 'staking rewards'."
---

# Gate Staking Query Suite

## General Rules

⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding.
Do NOT select or call any tool until all rules are read. These rules have the highest priority.
→ Read [gate-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/gate-runtime-rules.md)
- **Only call MCP tools explicitly listed in this skill.** Tools not documented here must NOT be called, even if they
  exist in the MCP server.

---

## MCP Dependencies

### Required MCP Servers
| MCP Server | Status |
|------------|--------|
| Gate (main) | ✅ Required |

### MCP Tools Used

**Query Operations (Read-only)**

- cex_earn_asset_list
- cex_earn_award_list
- cex_earn_find_coin
- cex_earn_order_list

**Execution Operations (Write)**

- cex_earn_swap_staking_coin

### Authentication
- API Key Required: Yes (see skill doc/runtime MCP deployment)
- Permissions: Earn:Write
- Get API Key: https://www.gate.io/myaccount/profile/api-key/manage

### Installation Check
- Required: Gate (main)
- Install: Run installer skill for your IDE
  - Cursor: `gate-mcp-cursor-installer`
  - Codex: `gate-mcp-codex-installer`
  - Claude: `gate-mcp-claude-installer`
  - OpenClaw: `gate-mcp-openclaw-installer`

## MCP Mode

**Read and strictly follow** [`references/mcp.md`](./references/mcp.md), then execute this skill's staking workflow.

- `SKILL.md` keeps staking intent routing and scenario boundaries.
- `references/mcp.md` is the authoritative MCP execution layer for query/action separation, confirmation gates, and result verification.

## Module overview

| Module | Description | Trigger keywords |
|--------|-------------|------------------|
| **Positions** | Query staking positions, balances, available vs locked | `position`, `balance`, `staked`, `staking assets`, `holdings`, `redeemable` |
| **Rewards** | Query reward history, yesterday/monthly earnings | `reward`, `earning`, `profit`, `income`, `yesterday earnings`, `monthly earnings` |
| **Products** | Discover available staking products, APY, min amount | `products`, `available`, `APY`, `stakeable coins`, `high yield`, `flexible` |
| **Order history** | Query stake/redeem order list and pagination | `history`, `orders`, `transactions`, `staking records`, `redemption records` |
| **Stake / Redeem** | Execute stake or redeem via swap (pid required) | `stake`, `redeem`, `unstake`, `stake 100 USDT`, `redeem my ETH`, `swap staking` |

**Mint**: Treated as **immediate stake**. Route to the same Stake workflow: read `references/staking-swap.md`, resolve product (pid) and amount, then call `cex_earn_swap_staking_coin` with **side=0**. For GUSD products, require the user to choose USDT or USDC and pass `coin

README.md

# Gate Exchange Staking Skill

## Overview

A comprehensive skill for querying and executing staking operations on Gate's on-chain earn platform. It supports five modules: positions, rewards, products, order history, and stake/redeem (swap).

### Core Capabilities

| Capability | Description | MCP Tools |
|------------|-------------|-----------|
| Query staking positions | View positions, available vs locked amounts, redeemable amounts | `cex_earn_asset_list`, `cex_earn_find_coin` |
| Check staking rewards | Daily/cumulative rewards, earnings history | `cex_earn_award_list` |
| Browse staking products | Discover products, compare APY, filter by coin | `cex_earn_find_coin` |
| View transaction history | Staking/redemption history, filters, order status | `cex_earn_order_list` |
| Stake / Redeem / Mint | Execute stake or redeem via swap (pid required); mint treated as immediate stake | `cex_earn_swap_staking_coin` |

## Architecture

```
gate-exchange-staking/
├── SKILL.md                        # AI Agent runtime instructions
├── README.md                       # Human-readable documentation
├── CHANGELOG.md                    # Version changelog
└── references/
    ├── staking-assets.md           # Positions query workflow
    ├── staking-coins.md            # Products query workflow
    ├── staking-list.md             # Order history and reward list workflows
    ├── staking-swap.md             # Stake/redeem swap workflow
    └── scenarios.md                # Usage scenarios and prompt examples
```

## Usage Examples

### Query Operations
```
"Show my staking positions"
"What are my staking rewards?"
"Find BTC staking products"
"Show staking history"
"What coins can I stake?"
```

### Execution Operations
```
"Stake 100 USDT"
"Redeem my ETH"
"Mint GT"
"Stake 1 BTC"
```

## Product Types Supported

| productType | Label | Description |
|-------------|-------|-------------|
| 0 | Certificate | Flexible staking with instant redemption (redeemPeriod = 0) |
| 1 | Lock-up | Fixed-term staking with a defined lock period (redeemPeriod > 0) |
| 2 | US Treasury Bond | Products backed by US Treasury bonds (e.g. GUSD) |

## MCP Tools

| Tool | Purpose | Auth Required |
|------|---------|---------------|
| `cex_earn_asset_list` | Query current staking positions | Yes |
| `cex_earn_award_list` | Retrieve reward history | Yes |
| `cex_earn_find_coin` | Discover available products and exchange rates | No |
| `cex_earn_order_list` | View transaction history | Yes |
| `cex_earn_swap_staking_coin` | Execute stake or redeem (requires pid, side) | Yes |

## Safety & Compliance

- **User confirmation required**: All stake/redeem/mint operations require explicit user confirmation before execution. An Action Draft is shown first summarizing the operation details.
- **Query operations**: No confirmation needed for read-only queries.
- **Cancel redeem**: Not supported — users are directed to the Gate website or app.
- No investment advice; APY and rates are for referenc

_meta.json

{
  "ownerId": "kn74x9hm07phcw70v30nff2x2h82t09z",
  "slug": "gate-exchange-staking",
  "version": "1.0.2",
  "publishedAt": 1775115342340
}

references/mcp.md

---
name: gate-exchange-staking-mcp
version: "2026.3.30-1"
updated: "2026-03-30"
description: "MCP execution specification for staking/earn staking flows: staking assets, rewards, orders, and stake/redeem actions."
---

# Gate Staking MCP Specification

## 1. Scope and Trigger Boundaries

In scope:
- Staking asset/reward/order queries
- Staking coin discovery
- Stake/redeem execution

Out of scope:
- Non-staking trading actions

## 2. MCP Detection and Fallback

Detection:
1. Verify staking-related `cex_earn_*` tools.
2. Probe with `cex_earn_asset_list`.

Fallback:
- If write endpoint unavailable, provide read-only staking status.

## 3. Authentication

- API key required.

## 4. MCP Resources

No mandatory MCP resources.

## 5. Tool Calling Specification

- `cex_earn_asset_list`
- `cex_earn_award_list`
- `cex_earn_find_coin`
- `cex_earn_order_list`
- `cex_earn_swap_staking_coin`

## 6. Execution SOP (Non-Skippable)

1. Resolve user intent: query vs stake/redeem.
2. For stake/redeem, pre-check coin and amount validity.
3. Show stake/redeem draft with operation side and amount.
4. Require explicit confirmation.
5. Execute and verify through order/asset query.

## 7. Output Templates

```markdown
## Staking Action Draft
- Action: {stake_or_redeem}
- Coin: {coin}
- Amount: {amount}
- Notes: {protocol_or_limit}
Reply "Confirm action" to proceed.
```

```markdown
## Staking Result
- Status: {success_or_failed}
- Coin/Amount: {coin} {amount}
- Updated Position: {position_summary}
```

## 8. Safety and Degradation Rules

1. Never execute stake/redeem without explicit immediate confirmation.
2. Preserve operation side (`stake` vs `redeem`) exactly.
3. If amount/coin invalid, block and explain constraints.
4. Keep read-only fallback when write path is unavailable.
5. Do not fabricate reward projections.

references/scenarios.md

# Gate Exchange Staking — Scenario Index

This document is a cross-reference index of all scenarios defined in the sub-module documents. Each sub-module owns its scenarios with full detail (Context, Prompt Examples, Expected Behavior, Response Template). Do **not** duplicate scenario content here.

## Scenario distribution

| Sub-module | Scenarios | Coverage |
|------------|-----------|----------|
| `staking-assets.md` | 6 | Positions: all positions, specific coin, redeemable check, empty, multi-product, portfolio value |
| `staking-coins.md` | 8 | Products: browse all, specific coin, high APY, flexible only, sold out, lock period comparison, min requirements, DeFi vs traditional |
| `staking-list.md` (Part 1) | 5 | Order history: all orders, specific coin, filter by type, recent activity, failed/pending |
| `staking-list.md` (Part 2) | 9 | Rewards: all rewards, specific coin, yesterday, sources, monthly, verify APY, empty, reward types, pagination |
| `staking-swap.md` | 5 | Stake single product, stake multiple products (confirm pid), redeem with pid, redeem by coin (resolve pid), redeem multiple positions (confirm pid) |
| **Total** | **33** | |

## Quick lookup by user intent

### Positions

| Scenario | Sub-module | ID |
|----------|------------|----|
| Query all staking positions | staking-assets.md | Scenario 1 |
| Query specific coin position | staking-assets.md | Scenario 2 |
| Check available for redemption | staking-assets.md | Scenario 3 |
| Empty positions | staking-assets.md | Scenario 4 |
| Position with multiple products | staking-assets.md | Scenario 5 |
| Calculate total portfolio value | staking-assets.md | Scenario 6 |

### Products

| Scenario | Sub-module | ID |
|----------|------------|----|
| Browse all staking products | staking-coins.md | Scenario 1 |
| Find products for specific coin | staking-coins.md | Scenario 2 |
| Search high APY products | staking-coins.md | Scenario 3 |
| Find flexible products only | staking-coins.md | Scenario 4 |
| Product sold out | staking-coins.md | Scenario 5 |
| Compare products by lock period | staking-coins.md | Scenario 6 |
| Check minimum requirements | staking-coins.md | Scenario 7 |
| DeFi vs Traditional comparison | staking-coins.md | Scenario 8 |

### Order history

| Scenario | Sub-module | ID |
|----------|------------|----|
| Query all order history | staking-list.md (Part 1) | Scenario 1 |
| Query specific coin history | staking-list.md (Part 1) | Scenario 2 |
| Filter by order type | staking-list.md (Part 1) | Scenario 3 |
| Recent activity | staking-list.md (Part 1) | Scenario 4 |
| Failed or pending orders | staking-list.md (Part 1) | Scenario 5 |

### Rewards

| Scenario | Sub-module | ID |
|----------|------------|----|
| Query all rewards | staking-list.md (Part 2) | Scenario 6 |
| Specific coin rewards | staking-list.md (Part 2) | Scenario 7 |
| Yesterday's rewards | staking-list.md (Part 2) | Scenario 8 |
| Reward sources | staking-list.md (Part 2) | Scenario 9 |
| Mon

Sponsored

Ads related to Gate Exchange Staking Skill and adjacent AI workflows.