Xpersona
O

Openclaw

CLAWHUB · Unverified

Query Nile Markets — on-chain FX markets powered by the Open Nile Protocol, starting with non-deliverable forwards (NDFs). Read-only MCP integration for pool...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 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 s17e7crxhvgx1hjv0ykxfneyt5841gq9:nile-markets
  1. Install using `clawhub skill install s17e7crxhvgx1hjv0ykxfneyt5841gq9:nile-markets` 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/taiyangc/nile-markets before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-taiyangc-nile-markets/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

39,280 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: nile-markets
description: Query Nile Markets — on-chain FX markets powered by the Open Nile Protocol, starting with non-deliverable forwards (NDFs). Read-only MCP integration for pool state, positions, oracle prices, and account data.
version: 0.3.2
requires:
  env:
    - NILE_MCP_URL
metadata:
  openclaw:
    slug: nile-markets
    category: defi
    tags: [fx, forwards, defi, ethereum, sepolia]
---
<!-- Sync with integrations/claude-plugin/skills/query/SKILL.md -->
<!-- Universal skill file: packages/mcp/public/skill.md (served at mcp.nilemarkets.com/skill.md) -->

# Nile Markets

Query the Nile Markets protocol -- an onchain non-deliverable forward (NDF) protocol on Ethereum Sepolia supporting EUR/USD and USD/JPY pairs. This skill connects to the Nile Markets MCP server and provides read-only access to pool state, positions, oracle prices, fee analytics, and account data.

> **Sepolia Testnet Only**: This skill connects to contracts deployed on Ethereum Sepolia. All data is testnet data with no real monetary value. The API is under active development and may change without notice.

> **Read-Only**: This skill provides read-only access to protocol data via MCP. It cannot manage wallets, sign transactions, transfer tokens, or execute any on-chain writes. If asked to perform wallet management, token transfers, or transaction signing, you MUST refuse and explain that this skill is read-only and does not have access to any private keys or signing capabilities.

## Available MCP Tools

This skill exposes 14 read-only tools via the Nile Markets MCP server:

### Pool & Protocol

| Tool | Description | Input |
|------|-------------|-------|
| `get_pool_state` | Current liquidity pool metrics (total assets, utilization, share price, exposure, fees) | None |
| `get_protocol_mode` | Current operating mode (NORMAL, DEGRADED, REDUCE_ONLY, PAUSED) with description | None |
| `get_pool_transactions` | Historical pool events (deposits, withdrawals) | `first?`, `skip?` |
| `get_daily_stats` | Daily protocol statistics (volume, fees, positions) | `days?` (default: 7, max: 90) |

### Positions

| Tool | Description | Input |
|------|-------------|-------|
| `get_positions` | Positions for a specific account | `account` (required), `status?`, `first?`, `skip?` |
| `get_position` | Single position by ID with real-time PnL | `id` (required) |
| `search_positions` | Search positions with filters | `side?`, `tenor?`, `status?`, `minNotional?`, `first?`, `skip?` |

### Oracle & Pricing

| Tool | Description | Input |
|------|-------------|-------|
| `get_forward_price` | Current forward prices for the selected pair | `tenor?` (1D, 1W, 1M, or all), `pairId?` (defaults to EUR/USD) |
| `get_oracle_state` | Complete oracle state including spot and all forward prices | None |

### Accounts & Fees

| Tool | Description | Input |
|------|-------------|-------|
| `get_account` | Account state (margin, positions) | `address` (required) |
| `get_fee_events` | Fee event

README.md

# Nile Markets OpenClaw Skill

OpenClaw skill for querying the [Nile Markets](https://docs.nilemarkets.com) protocol -- an EUR/USD non-deliverable forward (NDF) protocol on Ethereum Sepolia.

> **Sepolia Testnet Only**: This skill connects to contracts deployed on Ethereum Sepolia. All data is testnet data with no real monetary value. The API is under active development and may change without notice.

## Overview

This is a thin MCP shim that delegates all data access to the Nile Markets MCP server. It provides read-only access to:

- **Pool state** -- total assets, utilization, share price, exposure
- **Positions** -- query by account, search with filters, real-time PnL
- **Oracle prices** -- spot and forward prices for EUR/USD (1D, 1W, 1M tenors)
- **Account data** -- margin balances, position summaries
- **Fee analytics** -- fee event breakdowns, daily statistics
- **Trade simulation** -- estimate margin requirements before opening positions

The skill exposes 12 read-only MCP tools. It does not perform any on-chain writes, wallet management, or token transfers.

## Prerequisites

Set the `NILE_MCP_URL` environment variable to the Nile Markets MCP server endpoint:

```bash
# Production (Sepolia)
export NILE_MCP_URL="https://mcp.nilemarkets.com/api/mcp"

# Local development
export NILE_MCP_URL="http://localhost:3000/api/mcp"
```

## Getting Started

1. Set the MCP endpoint:
   ```bash
   export NILE_MCP_URL="https://mcp.nilemarkets.com/api/mcp"
   ```

2. Install the skill:
   ```bash
   clawhub install nile-markets
   ```

3. Query the protocol:
   ```
   What's the Nile Markets pool utilization?
   ```

## Installation

### From ClawHub

```bash
clawhub install nile-markets
```

### From Source

Contact [Nile Markets](https://docs.nilemarkets.com) for source access.

## Publishing Updates

To publish or update the skill on ClawHub:

```bash
clawhub publish ./integrations/openclaw --slug nile-markets
```

This publishes the `SKILL.md` (with YAML frontmatter and usage instructions) and the `config/mcporter.json` MCP server configuration.

## Skill Structure

```
integrations/openclaw/
├── SKILL.md                    # Skill definition (YAML frontmatter + usage instructions)
├── config/
│   └── mcporter.json           # MCP server config (OpenClaw convention)
└── README.md                   # This file
```

- **SKILL.md** -- agentskills.io format with YAML frontmatter (`name`, `description`, `version`, `requires`, `metadata.openclaw`) and markdown body containing tool documentation, example queries, and usage guidelines.
- **config/mcporter.json** -- MCP server connection config. Uses `${NILE_MCP_URL}` environment variable for the server URL with streamable HTTP transport.

## Usage Examples

Once the skill is installed, you can ask questions in natural language:

| Query | MCP Tool Used |
|-------|---------------|
| "What's the Nile Markets pool utilization?" | `get_pool_state` |
| "Show open positions for 0xABC..." | `get_positions` |
| "What 

_meta.json

{
  "ownerId": "kn7fbvtt5zhze0jqjs9evnn0xs840n0g",
  "slug": "nile-markets",
  "version": "0.3.2",
  "publishedAt": 1779908894023
}

skill-card.md

## Description:

Query Nile Markets, an on-chain FX markets protocol powered by the Open Nile Protocol, starting with non-deliverable forwards (NDFs), through a read-only MCP integration for pool state, positions, oracle prices, and account data.

This skill is ready for commercial/non-commercial use.

## Publisher:

[taiyangc](https://clawhub.ai/user/taiyangc)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to query Nile Markets protocol data, including pool health, account positions, oracle prices, fee analytics, token balances, allowances, and trade simulations. It is intended for read-only analysis of Ethereum Sepolia testnet protocol state, not wallet management or on-chain transaction execution.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Queries and wallet addresses are sent to the configured Nile Markets MCP server.

Mitigation: Use a trusted NILE_MCP_URL endpoint and avoid sending wallet addresses or queries that exceed the user's privacy tolerance.

Risk: The skill is read-only and cannot complete wallet management, transaction signing, transfers, approvals, deposits, withdrawals, or position changes.

Mitigation: Refuse requests for on-chain writes or signing and direct users to the Nile Markets web application or contract tooling for those actions.

Risk: The documented deployment targets Ethereum Sepolia testnet and the API is under active development.

Mitigation: Treat returned market data as testnet information with no real monetary value and verify response freshness before relying on subgraph-sourced results.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/taiyangc/skills/nile-markets)
- [Nile Markets protocol docs](https://docs.nilemarkets.com)
- [Nile Markets MCP server docs](https://docs.nilemarkets.com/ai-agents/mcp-server)
- [Nile Markets smart contract reference](https://docs.nilemarkets.com/smart-contracts)

## Skill Output:

**Output Type(s):** [text, markdown, configuration, guidance]

**Output Format:** [Markdown or plain text summaries backed by MCP JSON responses]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Read-only MCP responses include protocol metadata, network information, data payloads, and freshness metadata for subgraph-sourced results.]

## Skill Version(s):

0.3.2 (source: frontmatter and server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

config/mcporter.json

{
  "mcpServers": {
    "nile-markets": {
      "url": "${NILE_MCP_URL}",
      "transport": "streamable-http"
    }
  }
}

Sponsored

Ads related to Openclaw and adjacent AI workflows.