| name | market_intelligence_pro |
| description | Provides real-time market intelligence including Fear & Greed Index and top crypto/DeFi tokens. |
Market Intelligence Pro Skill
This skill is designed to provide a quick overview of the cryptocurrency market sentiment and top-performing assets. It leverages external APIs to fetch data and presents it in a concise format.
It can be extended to call Coinbase toolkit tools via a Composio brokered connection (see README.md) so that the agent can query funding rates, quotes, order books, and virtually any market or account data without ever seeing your API keys.
Coinbase Data Capabilities
Agents using this skill should be able to fetch, normalize and process data from the following Coinbase endpoints. When the skill is active, the agent may call any of these COINBASE_* tools. The responses are JSON objects — include logic to restructure them into consistent tables or summaries.
- Assets & Currencies
COINBASE_LIST_ASSETS
COINBASE_LIST_CURRENCIES
- Market Products
COINBASE_LIST_MARKET_PRODUCTS
COINBASE_GET_PRODUCT
- Instrument Data
COINBASE_LIST_INSTRUMENTS
COINBASE_GET_INSTRUMENT_DETAILS
- Trading History
COINBASE_LIST_INSTRUMENTS_CANDLES
COINBASE_GET_PUBLIC_MARKET_TRADES
- Volume & Stats
COINBASE_GET_DAILY_TRADING_VOLUME
COINBASE_LIST_PRODUCTS_STATS
- Wallets & Funds
COINBASE_LIST_WALLETS
COINBASE_LIST_WRAPPED_ASSETS
Agents should normalize field names (e.g. symbol vs base_currency, price vs last_price), convert timestamps to ISO format, and flatten nested objects. JSON arrays may be formatted into Markdown tables for readability.
When the response contains multiple object types, the agent should pick the relevant subset based on the user’s request (e.g. show only market_product fields or only candle OHLC values).
How to Use This Skill
When the user asks for market intelligence, such as the current Fear & Greed Index or a list of top crypto/DeFi tokens, follow these steps:
1. Fetch Fear & Greed Index
Use the shell tool to execute a curl command to retrieve the latest Fear & Greed Index from alternative.me. The command should be:
curl -s "https://api.alternative.me/fng/"
Parse the JSON response to extract the value and value_classification.
2. Fetch Top 10 Crypto Tokens
Use the shell tool to execute a curl command to retrieve the top 10 cryptocurrency tokens by market capitalization from CoinGecko. The command should be:
curl -s "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=10&page=1"
Parse the JSON response to extract relevant information for each token, such as name, symbol, current_price, and market_cap_rank.
3. Fetch Top 10 DeFi Tokens
Use the shell tool to execute a curl command to retrieve the top 10 Decentralized Finance (DeFi) tokens by market capitalization from CoinGecko. The command should be:
curl -s "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&category=decentralized-finance-defi&order=market_cap_desc&per_page=10&page=1"
Parse the JSON response to extract relevant information for each token, such as name, symbol, current_price, and market_cap_rank.
4. Present the Information
Combine the gathered information into a clear and readable summary. Include the Fear & Greed Index value and classification, and a list of the top 10 crypto and DeFi tokens with their key metrics. Format the output using Markdown tables for readability.
Optional: if the agent has access to Coinbase toolkit tools (e.g. via Composio), it may additionally call any of the endpoints listed above and include normalized results. For example:
- Use
COINBASE_LIST_MARKET_PRODUCTS to display product IDs, base/quote currencies and status.
- Use
COINBASE_GET_INSTRUMENT_DETAILS to map a symbol to min/max order sizes.
- Use
COINBASE_LIST_INSTRUMENTS_CANDLES and produce an OHLC table, converting timestamps to ISO.
Agents should always check for missing or null values and handle errors gracefully, e.g. "No data returned for symbol BTC-PERP".
Example Usage
User: "What's the current crypto market sentiment and top tokens?"
Agent (using this skill): Executes the curl commands, parses the data, and presents a summary.