tw-agent-skills: Command for Claude Code

.claude/commands/market-data.md

market-data is a command for Claude Code from trustwallet/tw-agent-skills. It costs 80 tokens per session (633 once invoked), scanned A, original, MIT.

A command set for checking current cryptocurrency prices and finding trending tokens by category. It covers data such as price changes, market value, trading volume, and supply.

In plain words
What is it for?
Use it to answer questions about token prices, market value, trading volume, price changes, trending coins, and top tokens in categories such as AI, DeFi, or memes.
Why use it?
It avoids having to gather market information from several crypto data sources by hand. It gives one place to compare tokens and categories.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is trustwallet/tw-agent-skills's own configuration. It tells Claude Code how to work on tw-agent-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tw-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to trustwallet/tw-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/trustwallet/tw-agent-skills/main/.claude/commands/market-data.md
Clone the repo
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills

Made for: Claude Code.

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 market-data

README.md
[![agentmods](https://agentmods.dev/badge/commands/trustwallet/tw-agent-skills/market-data.svg)](https://agentmods.dev/commands/trustwallet/tw-agent-skills/market-data)
Your own site
<a href="https://agentmods.dev/commands/trustwallet/tw-agent-skills/market-data"><img src="https://agentmods.dev/badge/commands/trustwallet/tw-agent-skills/market-data.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 633 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00080 $0.00633
Opus 5 $0.00040 $0.00316
Sonnet 5 $0.00016 $0.00127
Haiku 4.5 $0.00008 $0.00063

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

Security

Grade A, and why

market-data 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 8d 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.

.claude/commands/market-data.md · 51 lines

What it actually says

Market Data

Real-time token prices, trending asset discovery, and category-based rankings.

Get Token Prices — POST /v2/market/tickers

Base URL: https://tws.trustwallet.com Auth: HMAC-SHA256 (run /setup first)

Get current USD prices for up to 50 tokens at once. Prices are an index aggregated from CoinMarketCap and CoinGecko.

{
  "currency": "USD",
  "assets": ["c60", "c60_t0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"]
}

Returns price, change_24h, market_cap, volume_24h, total_supply per asset.

Base URL: https://tws.trustwallet.com Auth: HMAC-SHA256 (run /setup first)

Rich market data with multi-timeframe price changes (1h, 24h, 7d, 30d, 60d, 90d), market cap, volume, and supply.

Param Required Description
version Yes Use 27
currency Yes Price currency (e.g., USD)
category_id No Category filter (see below)
sort No price24h, mcap, volume
limit No Max results (default: 20, max: 100)
networks No Comma-separated SLIP-44 coin IDs
cursor No Pagination cursor

Categories: trending, ai, memes, rwa-assets, x402, layer_1, dex, defi-2, eth-ecosystem, bnb-ecosystem, solana-ecosystem, binance-launchpad, binance-launchpool, binance-megadrop, pump-fun, bonk

Example: GET /v1/assets/listings?version=27&currency=USD&category_id=ai&sort=mcap&limit=20

List Categories — GET /v1/assets/listing-categories

Get the current list of available categories (they're dynamic and may change).

For full response schemas, read skills/api/references/market-data.md.

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. 8d ago First seen · 51 lines · 80 tokens per session scan A e3dfdefea95d

Subscribe to this mod's changes

market-data is a command published in the GitHub repository trustwallet/tw-agent-skills (97 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 633 once invoked, about $0.0004 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-30.