defi-analyst

Query DEX liquidity pools, OHLCV candles, and trade activity via GeckoTerminal JSON APIs.

1|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/tribes-protocol/trading-harness --skill defi-analyst-tribes-protocol
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: defi-analyst
Source: https://github.com/tribes-protocol/trading-harness/tree/main/skills/defi-analyst
Command: npx skills add https://github.com/tribes-protocol/trading-harness --skill defi-analyst-tribes-protocol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Analyzing decentralized exchange activity requires pulling scattered on-chain data about liquidity pools, trading pairs, and DEX rankings. This Skill turns the tribes-cli onchain command group into a structured analyst workflow, returning CoinGecko Pro / GeckoTerminal data as parseable JSON so you can evaluate pool quality, liquidity depth, and volume trends directly. ## Core Features & Use Cases - Pool Discovery & Screening: Find trending, new, and top pools per network or DEX, search pools by token name or address, and screen with server-side FDV, liquidity, and volume floors via megafilter. - Pool Metrics & Candles: Pull per-pool price, FDV, reserves, volume, and transaction counts, plus OHLCV candles and recent trades for any pool or base/quote pair. - Network & DEX Mapping: List supported networks, DEXes per network, and pool categories to rank venues by aggregated volume. - Use Case: To assess a new Base memecoin pool, run megafilter with liquidity and volume floors, inspect the top match with pool, then export pool-ohlcv candles into the technical-analyst skill for indicator analysis. ## Quick Start Ask the agent to show the trending liquidity pools on Base with at least $100k liquidity and summarize their 24h volume and fee activity.

Frequently Asked Questions about defi-analyst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find trending liquidity pools on a specific network?▼

Run `tribes-cli onchain trending-pools --network base --limit 20` to list trending pools for one network, or omit `--network` for all networks. Use `new-pools` for the newest pools and `top-pools` for ranked pools per network or DEX.

How to screen DeFi pools by minimum liquidity and volume?▼

Use the `megafilter` subcommand with `--min-liquidity`, `--min-volume`, and `--min-fdv` flags to apply USD floors server-side across networks and DEXes. This is preferred over manually filtering trending or new pool lists when thresholds are the question.

What data does a GeckoTerminal pool query return?▼

The `pool` subcommand returns structured JSON with price, FDV, reserves, 24h volume, price changes, and transaction counts for one pool address. All subcommands print JSON on stdout and accept `--out <file>` to also write results to a file.

Can I get OHLCV candles for a DEX pool or token pair?▼

Yes, `pool-ohlcv` returns minute, hour, or day candles for a pool, and `pair-ohlcv` prices a base token in a specific quote token. Export with `--out candles.json` to feed the candles into the technical-analyst skill for indicator computation.

When should I use defi-analyst instead of token-analyst?▼

Use defi-analyst when the subject is a liquidity pool, trading pair, or DEX, such as pool metrics, candles, or DEX rankings. Use token-analyst for a single token's own price, security, holders, or trades, and alpha-scout for trending token discovery.

What should I do if an onchain command returns empty results?▼

Retry once with a broader scope by dropping `--network` or `--dex`, or widening the `--query` string, then stop and report if still empty. If the provider key is not set, the capability is unavailable on that machine and should be reported rather than retried.