Preamble (run first)
# Suiperpower telemetry. Routes through the CLI so projects.json + Convex stay in sync.
# Silent on failure so the skill never blocks. Opt out: SUIPERPOWER_TELEMETRY=off.
#
# AGENT NOTE: when this skill finishes, run the matching completion command:
# suiperpower track defillama-sui idea completed
# Or use "failed" / "aborted" if it ended that way.
command -v suiperpower >/dev/null 2>&1 && suiperpower track defillama-sui idea started >/dev/null 2>&1 &
true
If TEL_PROMPTED is no, before doing real work, ask the user:
Help suiperpower get better. We track which skills get used and how long they take. No code, no file paths, no PII. Change anytime in ~/.suiperpower/config.json.
A) Sure, anonymous
B) No thanks
Write the answer to ~/.suiperpower/config.json telemetryTier field and create ~/.suiperpower/.telemetry-prompted. Then continue.
What this skill does
Fetches live DeFi metrics from DefiLlama's free API (TVL, DEX volumes, lending rates, stablecoin flows) and compares Sui against Ethereum and Solana to surface concrete market gaps. Output is a ranked list of opportunities where Sui has low presence in categories that show high demand on other chains. Every opportunity cites a specific metric.
When to use it
- The user wants data-driven DeFi ideas on Sui (not vibes, not "what's hot").
- The user is evaluating which DeFi vertical to enter on Sui.
- The user wants to compare Sui DeFi maturity against other L1s.
When NOT to use it
- The user already has an idea and wants to build it. Route to
validate-idea or a build-phase skill.
- The user wants DeepBook-specific research. Route to
deepbook-research.
- The user wants general Sui idea search beyond DeFi. Route to
find-next-sui-idea.
If you activated this and the user actually wants something else, consult skills/SKILL_ROUTER.md and hand off.
Inputs
- The user's DeFi interest (broad survey, specific vertical like lending or DEX, yield farming).
- Optional: verticals to focus on (DEXes, lending, stablecoins, derivatives, yield).
- Optional: chains to compare against (defaults to Ethereum + Solana).
Outputs
A research block written to .suiperpower/idea-context.md (or .suiperpower/research-defillama-<timestamp>.md if no idea is chosen yet):
## DeFi market research (DefiLlama), <timestamp>
### Sui overview
- Total TVL: $X (rank #Y across all chains)
- 24h DEX volume: $X
- Stablecoin market cap: $X
- Active protocols tracked: N
### Cross-chain comparison
| Metric | Sui | Ethereum | Solana |
|----------------|---------|----------|---------|
| TVL | ... | ... | ... |
| DEX 24h volume | ... | ... | ... |
| Lending TVL | ... | ... | ... |
| Stablecoin cap | ... | ... | ... |
### Market gaps (ranked by opportunity size)
1. <gap>: <Sui metric> vs <comparison chain metric>, <why this is an opportunity>
2. ...
### Top yield opportunities
- <pool>: <APY>, <TVL>, <protocol>, <risk notes>
### Risks
- <risk>: <mitigation>
### Data sources
- <endpoint called, timestamp, response summary>
Workflow
Confirm scope
- Broad DeFi survey, or a specific vertical? Which comparison chains?
Fetch Sui baseline metrics
GET https://api.llama.fi/v2/chains for Sui TVL and rank.
GET https://api.llama.fi/v2/historicalChainTvl/Sui for TVL trend (is it growing, flat, declining?).
GET https://stablecoins.llama.fi/stablecoincharts/Sui for stablecoin market cap trend.
- Note: "Sui" is case-sensitive in all DefiLlama endpoints.
Fetch protocol-level data
GET https://api.llama.fi/protocols and filter where chains includes "Sui".
- Group Sui protocols by category (DEX, lending, yield, derivatives, stablecoin, liquid staking).
- Note protocol count per category. Categories with fewer than 3 protocols are potential gaps.
Fetch DEX and fee data
GET https://api.llama.fi/overview/dexs/Sui for DEX volume breakdown by protocol.
GET https://api.llama.fi/overview/fees/Sui for fee and revenue breakdown by protocol.
- Identify which DEX dominates volume. A single protocol with >60% share signals aggregator or alternative DEX opportunity.
Fetch yield data
GET https://yields.llama.fi/pools and filter where chain === "Sui".
- Sort by APY (descending) and by TVL (descending) separately.
- Flag pools with high APY but low TVL (potential early opportunities or risk signals).
- Flag pools with high TVL but low APY (stable but possibly oversaturated).
Compare against Ethereum and Solana
- Run the same chain-level queries for each comparison chain.
- Build the cross-chain comparison table.
- For each DeFi category, compute: number of protocols, total TVL, total volume.
- Categories where Sui has <10% of Solana's protocol count are strong gap signals.
Identify and rank gaps
- For each gap, state: what the gap is, the specific metric that proves it, why a builder could fill it.
- Known Sui DeFi protocols to contextualize gaps: DEXes (Cetus CLMM, FlowX V2/V3, Kriya, Turbos, DeepBook V2/V3, Aftermath), Lending (Scallop, NAVI, Suilend, Bucket), Liquid staking (SpringSui, Haedal), Perps/Fees (Bluefin), AMM (STEAMM).
- Rank by: (demand on comparison chains) x (inverse of Sui presence in that category).
Surface risks
- TVL concentration: if one protocol holds >50% of Sui TVL, ecosystem risk is high.
- Stablecoin depth: low stablecoin cap limits DeFi composability.
- Bridge dependency: DeFi on Sui depends on bridged assets; map the bridge risk.
Cite everything
- Every number links to the API endpoint that produced it.
- Include the query timestamp. DeFi data moves fast; stale numbers mislead.
Writeback
- Append to the chosen output file.
Quality gate (anti-slop)
Before reporting done:
- Does every opportunity cite a specific metric from a specific DefiLlama endpoint?
- Does the cross-chain comparison use data from the same time window (not mixing cached and live)?
- Did the analysis include at least one risk per gap, not just upside?
- Are yield numbers accompanied by TVL context (high APY on $1k TVL is not an opportunity)?
- Did the writeback happen?
If any answer is no, the skill keeps working.
References
On-demand references (load when relevant):
references/defillama-endpoints.md: All verified DefiLlama API endpoints with response shapes.
Knowledge docs:
skills/data/sui-knowledge/06-opensource-research.md: Open-source research patterns.
skills/data/sui-knowledge/04-protocols-and-sdks.md: SDK and integration overview.
Use in your agent
- Claude Code:
claude "/suiper:defillama-sui <your message>"
- Codex:
codex "/defillama-sui <your message>"
- Grok Build: run
grok, then /defillama-sui <your message> in the session
- Cursor: paste a chat message that includes a phrase like "DeFi research on Sui", or load
~/.cursor/rules/defillama-sui.mdc and reference it.
If you activated this and the user actually wants something else, consult skills/SKILL_ROUTER.md and hand off.
1---2name: defillama-sui3description: Research Sui DeFi TVL, protocols, and yield via DefiLlama. Use when the user wants Sui DeFi data, TVL, or protocol research.4---56## Preamble (run first)78```bash9# Suiperpower telemetry. Routes through the CLI so projects.json + Convex stay in sync.10# Silent on failure so the skill never blocks. Opt out: SUIPERPOWER_TELEMETRY=off.11#12# AGENT NOTE: when this skill finishes, run the matching completion command:13# suiperpower track defillama-sui idea completed14# Or use "failed" / "aborted" if it ended that way.15command -v suiperpower >/dev/null 2>&1 && suiperpower track defillama-sui idea started >/dev/null 2>&1 &16true17```1819If `TEL_PROMPTED` is `no`, before doing real work, ask the user:2021> Help suiperpower get better. We track which skills get used and how long they take. No code, no file paths, no PII. Change anytime in `~/.suiperpower/config.json`.22>23> A) Sure, anonymous24> B) No thanks2526Write the answer to `~/.suiperpower/config.json` `telemetryTier` field and create `~/.suiperpower/.telemetry-prompted`. Then continue.2728## What this skill does2930Fetches live DeFi metrics from DefiLlama's free API (TVL, DEX volumes, lending rates, stablecoin flows) and compares Sui against Ethereum and Solana to surface concrete market gaps. Output is a ranked list of opportunities where Sui has low presence in categories that show high demand on other chains. Every opportunity cites a specific metric.3132## When to use it3334- The user wants data-driven DeFi ideas on Sui (not vibes, not "what's hot").35- The user is evaluating which DeFi vertical to enter on Sui.36- The user wants to compare Sui DeFi maturity against other L1s.3738## When NOT to use it3940- The user already has an idea and wants to build it. Route to `validate-idea` or a build-phase skill.41- The user wants DeepBook-specific research. Route to `deepbook-research`.42- The user wants general Sui idea search beyond DeFi. Route to `find-next-sui-idea`.4344If you activated this and the user actually wants something else, consult `skills/SKILL_ROUTER.md` and hand off.4546## Inputs4748- The user's DeFi interest (broad survey, specific vertical like lending or DEX, yield farming).49- Optional: verticals to focus on (DEXes, lending, stablecoins, derivatives, yield).50- Optional: chains to compare against (defaults to Ethereum + Solana).5152## Outputs5354A research block written to `.suiperpower/idea-context.md` (or `.suiperpower/research-defillama-<timestamp>.md` if no idea is chosen yet):5556```markdown57## DeFi market research (DefiLlama), <timestamp>5859### Sui overview60- Total TVL: $X (rank #Y across all chains)61- 24h DEX volume: $X62- Stablecoin market cap: $X63- Active protocols tracked: N6465### Cross-chain comparison66| Metric | Sui | Ethereum | Solana |67|----------------|---------|----------|---------|68| TVL | ... | ... | ... |69| DEX 24h volume | ... | ... | ... |70| Lending TVL | ... | ... | ... |71| Stablecoin cap | ... | ... | ... |7273### Market gaps (ranked by opportunity size)741. <gap>: <Sui metric> vs <comparison chain metric>, <why this is an opportunity>752. ...7677### Top yield opportunities78- <pool>: <APY>, <TVL>, <protocol>, <risk notes>7980### Risks81- <risk>: <mitigation>8283### Data sources84- <endpoint called, timestamp, response summary>85```8687## Workflow88891. **Confirm scope**90 - Broad DeFi survey, or a specific vertical? Which comparison chains?91922. **Fetch Sui baseline metrics**93 - `GET https://api.llama.fi/v2/chains` for Sui TVL and rank.94 - `GET https://api.llama.fi/v2/historicalChainTvl/Sui` for TVL trend (is it growing, flat, declining?).95 - `GET https://stablecoins.llama.fi/stablecoincharts/Sui` for stablecoin market cap trend.96 - Note: "Sui" is case-sensitive in all DefiLlama endpoints.97983. **Fetch protocol-level data**99 - `GET https://api.llama.fi/protocols` and filter where `chains` includes "Sui".100 - Group Sui protocols by category (DEX, lending, yield, derivatives, stablecoin, liquid staking).101 - Note protocol count per category. Categories with fewer than 3 protocols are potential gaps.1021034. **Fetch DEX and fee data**104 - `GET https://api.llama.fi/overview/dexs/Sui` for DEX volume breakdown by protocol.105 - `GET https://api.llama.fi/overview/fees/Sui` for fee and revenue breakdown by protocol.106 - Identify which DEX dominates volume. A single protocol with >60% share signals aggregator or alternative DEX opportunity.1071085. **Fetch yield data**109 - `GET https://yields.llama.fi/pools` and filter where `chain === "Sui"`.110 - Sort by APY (descending) and by TVL (descending) separately.111 - Flag pools with high APY but low TVL (potential early opportunities or risk signals).112 - Flag pools with high TVL but low APY (stable but possibly oversaturated).1131146. **Compare against Ethereum and Solana**115 - Run the same chain-level queries for each comparison chain.116 - Build the cross-chain comparison table.117 - For each DeFi category, compute: number of protocols, total TVL, total volume.118 - Categories where Sui has <10% of Solana's protocol count are strong gap signals.1191207. **Identify and rank gaps**121 - For each gap, state: what the gap is, the specific metric that proves it, why a builder could fill it.122 - Known Sui DeFi protocols to contextualize gaps: DEXes (Cetus CLMM, FlowX V2/V3, Kriya, Turbos, DeepBook V2/V3, Aftermath), Lending (Scallop, NAVI, Suilend, Bucket), Liquid staking (SpringSui, Haedal), Perps/Fees (Bluefin), AMM (STEAMM).123 - Rank by: (demand on comparison chains) x (inverse of Sui presence in that category).1241258. **Surface risks**126 - TVL concentration: if one protocol holds >50% of Sui TVL, ecosystem risk is high.127 - Stablecoin depth: low stablecoin cap limits DeFi composability.128 - Bridge dependency: DeFi on Sui depends on bridged assets; map the bridge risk.1291309. **Cite everything**131 - Every number links to the API endpoint that produced it.132 - Include the query timestamp. DeFi data moves fast; stale numbers mislead.13313410. **Writeback**135 - Append to the chosen output file.136137## Quality gate (anti-slop)138139Before reporting done:140141- Does every opportunity cite a specific metric from a specific DefiLlama endpoint?142- Does the cross-chain comparison use data from the same time window (not mixing cached and live)?143- Did the analysis include at least one risk per gap, not just upside?144- Are yield numbers accompanied by TVL context (high APY on $1k TVL is not an opportunity)?145- Did the writeback happen?146147If any answer is no, the skill keeps working.148149## References150151On-demand references (load when relevant):152153- `references/defillama-endpoints.md`: All verified DefiLlama API endpoints with response shapes.154155Knowledge docs:156157- `skills/data/sui-knowledge/06-opensource-research.md`: Open-source research patterns.158- `skills/data/sui-knowledge/04-protocols-and-sdks.md`: SDK and integration overview.159160## Use in your agent161162- Claude Code: `claude "/suiper:defillama-sui <your message>"`163- Codex: `codex "/defillama-sui <your message>"`164- Grok Build: run `grok`, then `/defillama-sui <your message>` in the session165- Cursor: paste a chat message that includes a phrase like "DeFi research on Sui", or load `~/.cursor/rules/defillama-sui.mdc` and reference it.166167If you activated this and the user actually wants something else, consult `skills/SKILL_ROUTER.md` and hand off.