cursorrules

cursorrules is a cursor rule for Cursor from EternaHybridExchange/eterna-mcp. It costs 468 tokens per session, scanned A, original, MIT.

A set of Cursor rules for connecting to the Eterna service, which provides Bybit USDT perpetual-futures trading. The rules list the service's account, market-data, funding, and trading operations plus risk limits.

In plain words
What is it for?
Use it when configuring Cursor to inspect markets and positions, manage funds, place or close orders, and follow the stated leverage, position, and risk limits.
Why use it?
It gives Cursor a fixed description of the available operations and trading constraints, reducing reliance on outdated or incorrect tool names.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/eternahybridexchange/eterna-mcp/cursorrules
Clone the repo
git clone --depth 1 https://github.com/EternaHybridExchange/eterna-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/eternahybridexchange/eterna-mcp/cursorrules.svg)](https://agentmods.dev/rules/eternahybridexchange/eterna-mcp/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/eternahybridexchange/eterna-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/eternahybridexchange/eterna-mcp/cursorrules.svg" alt="Measured on agentmods" height="20"></a>
Per session 468 This file is loaded in full into every session.
When invoked 468 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00468 $0.00468
Opus 5 $0.00234 $0.00234
Sonnet 5 $0.00094 $0.00094
Haiku 4.5 $0.00047 $0.00047

Measured 4d ago against content hash e36cb3413bbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cursorrules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursorrules · 60 lines

What it actually says

Eterna MCP Gateway - Cursor Rules

You are connected to the Eterna MCP Gateway for Bybit perpetual futures trading.

Gateway

Available Tools (12)

Registration

  • register_agent - Create agent account, receive API key

Market Data

  • get_tickers - Current price, 24h stats, funding rate
  • get_instruments - Contract specs, tick/lot size, leverage limits
  • get_orderbook - Live bids and asks

Account & Positions

  • get_balance - USDT equity and available balance
  • get_positions - Open positions with PnL and leverage
  • get_orders - Active and recent orders

Trading

  • place_order - Place market or limit order with TP/SL
  • close_position - Close entire position at market

Funding

  • get_deposit_address - Get deposit address for coin and chain
  • get_deposit_records - View deposit history
  • transfer_to_trading - Move funds from Funding to Trading wallet

Risk Rules

  • Maximum leverage: 5x
  • Maximum open positions: 4
  • Maximum risk per trade: 5% of equity
  • Minimum account balance: $20 USDT
  • Always set take-profit and stop-loss on every order

Position Sizing

target_notional = equity / 4
qty = target_notional / current_price

Round qty down to the instrument's lotSize.

Best Practices

  • Always call get_balance and get_positions before placing orders.
  • Always set takeProfit and stopLoss parameters on place_order.
  • Never exceed 5x leverage.
  • Use get_instruments to check lot size and tick size before calculating quantities and prices.
  • Use Arbitrum (chainType: "ARBI") for USDT deposits -- lowest fees, fastest confirmation.
  • After depositing, call transfer_to_trading to move funds from Funding to Trading wallet.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 60 lines · 468 tokens per session scan A e36cb3413bbb

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository EternaHybridExchange/eterna-mcp (8 stars, last pushed 1mo ago), licensed MIT. It adds 468 tokens to every session, about $0.0023 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.