# Send xpr-xmd to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "xmd",
    "name": "xpr-xmd",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/paulgnz/xmd",
    "canonicalUrl": "https://clawhub.ai/paulgnz/xmd",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/xmd",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=xmd",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "skill.json",
      "src/index.ts",
      "test-read.mjs"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "xmd",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T17:12:40.708Z",
      "expiresAt": "2026-05-07T17:12:40.708Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=xmd",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=xmd",
        "contentDisposition": "attachment; filename=\"xmd-0.2.11.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "xmd"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/xmd"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/xmd",
    "downloadUrl": "https://openagent3.xyz/downloads/xmd",
    "agentUrl": "https://openagent3.xyz/skills/xmd/agent",
    "manifestUrl": "https://openagent3.xyz/skills/xmd/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/xmd/agent.md"
  }
}
```
## Documentation

### Metal Dollar (XMD)

You have tools to interact with XMD, XPR Network's native stablecoin. XMD is a multi-collateral stablecoin pegged to $1 USD, minted and redeemed through the xmd.treasury contract.

### How XMD Works

Mint: Send a supported stablecoin (e.g. XUSDC) to xmd.treasury with memo mint → receive equivalent XMD at oracle price
Redeem: Send XMD to xmd.treasury with memo redeem,SYMBOL (e.g. redeem,XUSDC) → receive equivalent stablecoin back
1:1 peg: Oracle-priced at $1, backed by stablecoin reserves in the treasury
Zero fees: Currently 0% mint and redemption fees on all collateral types

### Supported Collateral

TokenContractOracle FeedMax Treasury %StatusXUSDCxtokensUSDC/USD60%Mint + RedeemXPAXxtokensPAX/USD15%Mint + RedeemXPYUSDxtokensPYUSD/USD15%Mint + RedeemMPDmpd.tokenMPD/USD2%Mint + Redeem

### Contracts

xmd.token — XMD token contract (precision 6, issuer = xmd.treasury)
xmd.treasury — Mint/redeem logic, collateral management, oracle integration
oracles — On-chain price feeds from multiple providers

### Read-Only Tools (safe, no signing)

xmd_get_config — treasury config: paused state, fee account, minimum oracle price threshold
xmd_list_collateral — all supported collateral tokens with fees, limits, oracle prices, mint/redeem volumes
xmd_get_supply — XMD total circulating supply
xmd_get_balance — check any account's XMD balance
xmd_get_treasury_reserves — current stablecoin reserves backing XMD, with USD valuations and collateralization ratio
xmd_get_oracle_price — current oracle price for any collateral token (with individual provider data)

### Write Tools (require confirmed: true)

xmd_mint — mint XMD by depositing a supported stablecoin
xmd_redeem — redeem XMD for a supported stablecoin

### Safety Rules

Oracle price must be >= 0.995 (minOraclePrice) for mint/redeem to proceed
Each collateral has a maxTreasuryPercent cap — if the treasury already holds too much of one stablecoin, minting with it is blocked
Check isMintEnabled / isRedeemEnabled before attempting operations
The treasury can be paused by admins (isPaused) — check config first
XMD has precision 6 — all amounts use 6 decimal places (e.g. 1.000000 XMD)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: paulgnz
- Version: 0.2.11
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T17:12:40.708Z
- Expires at: 2026-05-07T17:12:40.708Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/xmd)
- [Send to Agent page](https://openagent3.xyz/skills/xmd/agent)
- [JSON manifest](https://openagent3.xyz/skills/xmd/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/xmd/agent.md)
- [Download page](https://openagent3.xyz/downloads/xmd)