Openclaw

v0.3.0

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...

0· 99·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for taiyangc/nile-markets.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Openclaw" (taiyangc/nile-markets) from ClawHub.
Skill page: https://clawhub.ai/taiyangc/nile-markets
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install nile-markets

ClawHub CLI

Package manager switcher

npx clawhub@latest install nile-markets
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the files and instructions: this is a read-only MCP integration for Nile Markets on Sepolia. The only mismatch is metadata at the top of the report claiming "Required env vars: none" while SKILL.md and config/mcporter.json require NILE_MCP_URL. Aside from that reporting inconsistency, the requested access (an MCP endpoint URL) is appropriate for the stated purpose.
Instruction Scope
SKILL.md explicitly documents only read-only queries to the MCP server and instructs agents to refuse any wallet/transaction actions. It references only the MCP endpoint and no unrelated files, system paths, or secrets.
Install Mechanism
No install spec or code is included (instruction-only). This minimizes filesystem/write risk; the skill relies on a pre-existing MCP client/transport provided by the platform.
Credentials
The skill requires a single environment value (NILE_MCP_URL) to point to the MCP server — proportionate to its function. Note the registry summary incorrectly listed no required env vars; verify the platform will surface and validate NILE_MCP_URL at install/runtime. There are no credential-like env vars (no keys/tokens/passwords) requested.
Persistence & Privilege
always is false and the skill does not request elevated or persistent system privileges. Autonomous invocation is allowed (platform default) but that is expected for an agent skill and not problematic here given the limited read-only scope.
Assessment
This appears to be a straightforward read-only skill. Before installing: 1) Confirm the NILE_MCP_URL you set points to the official Nile Markets MCP server (e.g., https://mcp.nilemarkets.com/api/mcp) and uses HTTPS/TLS; do not set it to an untrusted host. 2) Note the registry summary omitted the required NILE_MCP_URL—expect to supply that env var at runtime. 3) Because this is an instruction-only skill with no code, risks are limited to the MCP endpoint you point it at; avoid pointing the URL to unknown or personal servers which could return unexpected data. 4) If you need stronger assurance, ask the publisher for a homepage or source repo and verify the MCP server's documentation and TLS certificate before use.

Like a lobster shell, security has layers — review code before you run it.

latestvk97aksppg3w04q73yyb37a54th840xp1
99downloads
0stars
1versions
Updated 3w ago
v0.3.0
MIT-0
<!-- 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 -- a EUR/USD non-deliverable forward (NDF) protocol on Ethereum Sepolia. 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

ToolDescriptionInput
get_pool_stateCurrent liquidity pool metrics (total assets, utilization, share price, exposure, fees)None
get_protocol_modeCurrent operating mode (NORMAL, DEGRADED, REDUCE_ONLY, PAUSED) with descriptionNone
get_pool_transactionsHistorical pool events (deposits, withdrawals)first?, skip?
get_daily_statsDaily protocol statistics (volume, fees, positions)days? (default: 7, max: 90)

Positions

ToolDescriptionInput
get_positionsPositions for a specific accountaccount (required), status?, first?, skip?
get_positionSingle position by ID with real-time PnLid (required)
search_positionsSearch positions with filtersside?, tenor?, status?, minNotional?, first?, skip?

Oracle & Pricing

ToolDescriptionInput
get_forward_priceCurrent forward prices for EUR/USDtenor? (1D, 1W, 1M, or all)
get_oracle_stateComplete oracle state including spot and all forward pricesNone

Accounts & Fees

ToolDescriptionInput
get_accountAccount state (margin, positions)address (required)
get_fee_eventsFee event breakdown for analyticsfirst?, skip?

Token

ToolDescriptionInput
get_token_balanceERC-20 token balance for an address (defaults to USDC)address (required), token?
check_allowanceERC-20 allowance for an owner/spender pairowner (required), spender (contract name or address), token?

Simulation

ToolDescriptionInput
simulate_open_positionSimulate opening a position (margin, fee, entry strike)side, tenor, notional, from?

Example Queries

Check pool health:

"What's the current Nile Markets pool utilization and share price?"

Uses get_pool_state to return total assets, utilization (basis points), share price, net exposure, and position count.

Look up an account's positions:

"Show me all open positions for 0x1234...abcd"

Uses get_positions with account: "0x1234...abcd" and status: "OPEN".

Get current forward prices:

"What are the EUR/USD forward prices for all tenors?"

Uses get_forward_price without a tenor filter to return 1D, 1W, and 1M prices.

Check protocol mode:

"Is the Nile Markets protocol operating normally?"

Uses get_protocol_mode to return the current mode and a human-readable description.

Estimate margin for a trade:

"How much margin would I need to open a 1000 USDC long 1-week EUR/USD position?"

Uses simulate_open_position with side: "LONG", tenor: "1W", notional: "1000".

Analyze recent fee activity:

"Show me the last 10 fee events on Nile Markets"

Uses get_fee_events with first: 10.

Search for large short positions:

"Find all open short positions with notional above 5000 USDC"

Uses search_positions with side: "SHORT", status: "OPEN", minNotional: "5000000000".

Response Format

All tool responses include protocol metadata:

  • protocol -- protocol identity (name + version)
  • network -- network name (e.g., "sepolia")
  • data -- the tool-specific result payload

Responses containing subgraph-sourced data also include _meta.lastIndexedBlock for freshness verification.

Important Notes

  • All monetary values use 6 decimal places (USDC standard). For example, "1234567890" represents 1,234.567890 USDC.
  • Forward prices use 18 decimal places.
  • Utilization is expressed in basis points (e.g., "4500" = 45%).
  • Pagination defaults: first = 25, maximum = 1000.
  • Rate limit: 100 requests per minute per IP.

Limitations

This skill is read-only. It cannot:

  • Manage wallets or private keys
  • Sign or submit transactions
  • Transfer tokens or approve spending
  • Open, close, or modify positions on-chain
  • Deposit or withdraw funds

For on-chain operations, users must interact with the protocol directly through the Nile Markets web application or by constructing transactions with the contract ABIs.

Comments

Loading comments...