yield-finder

Exact captured content · path skills/yield-finder/SKILL.md · sha256 74e628546a213d8b… · revision 1a99e5086c3c4c4de95f32b5ff67e31e043aee77

Download the exact captured file

---
name: yield-finder
description: >-
  Finds where a token earns and ranks the options by APY with TVL beside each: lending supply markets on Aave V3, Morpho
  and Euler V2 and MON liquid staking on Monad, plus the Morpho vaults on Robinhood Chain (USDG) and Ethereum (WETH).
  Flags tiny TVL, rates that spiked or fell against 30 days ago, markets lent out above 95% and vaults with little
  to withdraw. Also shows Monad's DeFi protocols by TVL, the liquid staking board, and a plan that splits an amount of
  MON across staking tokens by risk. Use when the user asks "where can I earn on USDC", "best yield for ETH", "where to
  stake MON", "safest APY", "is this APY real". Not for other chains (Arc, Avalanche, Base, BNB Chain, Arbitrum,
  Solana: no yield data), LP fees, or depositing: read only, it never signs or moves funds.
license: MIT
compatibility: Needs python3 and HTTPS to api.getchord.xyz. Set CHORD_API_KEY (free at chordsi.xyz/me).
metadata:
  author: Chord (getchord.xyz)
  homepage: https://chordsi.xyz/s/yield-finder
  version: "1.0.0"
---

# Yield Finder

Where a token earns, from Chord's own on-chain reads. Coverage, plainly:

| Source | Chain | What |
|---|---|---|
| Lending supply markets | Monad | Aave V3, Morpho, Euler V2 (markets under $5k or near 0% dropped by the API) |
| Liquid staking | Monad | MON into shMON (shMonad), sMON (Kintsu), gMON (Magma), aprMON (aPriori) |
| Morpho vaults | Robinhood Chain, Ethereum | Steakhouse USDG and Steakhouse ETH, the vaults Chord's Cash Earn uses |

Arc, Avalanche, Base, BNB Chain, Arbitrum and Solana have no yield data. Rates are base rates: reward tokens and points
are not included.

## Run it

```bash
python3 scripts/yield_finder.py [TOKEN] [--chain CHAIN] [--kind lend|stake|vault|all] [--min-tvl USD] [--sort apy|tvl] [--limit N]
python3 scripts/yield_finder.py --view protocols [--category NAME] [--limit N]
python3 scripts/yield_finder.py --view staking
python3 scripts/yield_finder.py --view plan --amount MON [--risk low|med|high] [--wallet 0x...]
```

- `TOKEN`: the token to earn on, by symbol: USDC, AUSD, USDT0, WETH (or ETH), cbBTC, USDG, MON (staking plus WMON
  lending). Leave it out to rank everything.
- `--chain`: monad, robinhood or ethereum. `--kind`: `lend`, `stake`, `vault` or `all` (default).
- `--min-tvl`: leave out options under this TVL in dollars (default 100000; the answer counts what it left out and names
  the best of them). `--sort`: `apy` (default) or `tvl`. `--limit`: rows, 1 to 100 (default 10).
- `--view protocols`: Monad protocols by TVL; `--category` filters (Lending, DEX, Liquid Staking, Yield Trading, RWA).
- `--view staking`: the MON liquid staking board with the MON each token redeems for.
- `--view plan`: splits `--amount` MON across staking tokens for `--risk` low, med (60/40 over two) or high; with
  `--wallet` it reads that wallet's staked MON and suggests moves. A suggestion only; nothing is deposited.

Example: `python3 scripts/yield_finder.py USDC --limit 5`

## Read the answer

- `options` (default view): rank, chain, kind, `deposit` (what you put in), `receive` (the token you get, staking and
  vaults), protocol, `market` (Morpho market id, Euler vault, Aave pool, staking token or vault address), `apyPct`,
  `tvlUsd`, then:
  - lending: `apy30dAgoPct` (the rate 30 days ago, one snapshot), `utilizationPct`, `borrowApyPct`, `risk`, `exit`;
  - staking and vaults: `apy30dAvgPct` (30-day average from the token's growth);
  - vaults: `withdrawableNowUsd`, `performanceFeePct`, `lendsAgainst` (the collateral the vault lends against);
  - `flags`: Chord's warnings (tiny or small TVL, spike, falling, over 95% lent out, little to withdraw);
  - `apiNotes`: the API's own notes on the row.
- `notes`: options left out under `--min-tvl`, and what each APY figure means.
- `protocols`: name, category, TVL; `stakingApyPct` for staking; `bestMarketApyPct` for lenders is their single best
  market however small, not what most deposits earn.
- `plan`: allocations (token, share, MON, dollars, APY, risk score), blended APY and risk, rationale, moves.

## How to answer the user

1. Name the top options with APY and TVL side by side, and the chain of each. Prefer saying "X% on $Y TVL".
2. Read every flag aloud in plain words: a spike or a tiny market is the first thing the person needs to hear.
3. Say what is not covered when it matters (other chains, reward tokens). If nothing matches, say Chord has no data for
   it rather than guessing.
4. APY changes with borrowing and is not a promise. Never tell the person to deposit; this skill does not deposit.

## Cost

One call per run in each view, two for the default view when it reads both Monad and the vaults (`--chain` or `--kind`
narrows it to one). 300 calls a month are free; then $0.006 a call from your ChordSI credit. If the script exits with
code 4, show the person the message: their credit is empty or a limit was reached, and chordsi.xyz/me is where they top up.

## Chord endpoints it calls

- `GET /v1/defi/opportunities` (Monad lending markets and liquid staking)
- `GET /v1/earn/vaults` (Morpho vaults on Robinhood Chain and Ethereum, with 90 days of share price)
- `GET /v1/defi/protocols?limit=&category=` (Monad)
- `GET /v1/defi/staking` (Monad)
- `GET /v1/defi/optimize?amount=&risk=&wallet=` (MON only: the API takes no token)