agentleFS
InjectiveLabsInjectiveLabs/agent-skills/skills/injective-trading-market-data/SKILL.md

injective-trading-market-data

Skill6 starsChanged 4 months agoApache-2.0View on GitHub

Access real-time market data for Injective perpetual futures markets. Query oracle prices, list all active markets with metadata (tick size, min notional, max leverage), and retrieve current spread and funding information. Requires the Injective MCP server to be connected.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All data is pulled from the Injective Indexer (gRPC) and is real-time.

    line 14
  2. Very specific:

    Use market_list for the complete current set, as new markets are added through Injective governance.

    line 36
  3. Distinctive:

    If these skills are not available, selectively run the following commands to install them:

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Injective Trading Market Data, Skill Guide

Query live market data from Injective's on-chain perpetuals exchange. All data is pulled from the Injective Indexer (gRPC) and is real-time.

When to apply

Sample prompts: ./references/sample-prompts.md

Important

Notes

  • Prices are in USDT with 6 decimal places internally; returned as human-readable floats.
  • Oracle prices are aggregated from Band Protocol and Pyth Network feeds.
  • Funding rates are not yet exposed via MCP tools - check Helix UI for funding.
  • Market data is cached in-process for 30 seconds to reduce latency on repeated calls.
  • minPriceTickSize from the indexer is in chain format. For USDT markets, divide by 10^6 to get the human-readable tick size. minQuantityTickSize is already in human format (not scaled by quote decimals).

Market symbols

See: ./references/market-symbols.md

Use market_list for the complete current set, as new markets are added through Injective governance.

Activities

List all active perpetual futures markets with full metadata

market_list

Returns per market:

  • symbol - e.g. BTC, ETH, INJ
  • marketId - 0x... hex ID used on-chain
  • oraclePrice - current oracle mark price (USDT)
  • minQuantityTickSize - minimum order size
  • minPriceTickSize - minimum price increment
  • initialMarginRatio - minimum margin (1/maxLeverage)
  • maintenanceMarginRatio
  • makerFeeRate / takerFeeRate

Get the current oracle price for a single market.

market_price
  symbol: BTC    ← or ETH, INJ, SOL, ATOM, etc.

Returns: { symbol, price, marketId }

"What markets are available?"

market_list → filter/display by symbol

"What's the current BTC price?"

market_price BTC

"What's the max leverage for ETH?"

market_list → find ETH → compute 1 / initialMarginRatio

(e.g. initialMarginRatio 0.05 → 20x max leverage)

"Is the ETH market liquid enough for a $10,000 position?"

market_list → check ETH minQuantityTickSize and current oracle price

Injective uses an on-chain order book. For large orders, use limit orders or split into multiple market orders to reduce slippage.

Related skills

  • injective-mcp-servers

If these skills are not available, selectively run the following commands to install them:

npx skills add InjectiveLabs/agent-skills --skill injective-mcp-servers

Prerequisites

  • Injective MCP server must be running
  • User prompts should be issued from an AI tool that is configured to talk to the Injective MCP server

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.