defi-overview
БесплатноБез исполняемых скриптовНе проверенOne-pass crypto read - tracked-protocol positions and health plus macro context, with regime take, DeFi verdict, biggest movers, yields, fees, breadth, Fear &…
от aeonfun★ 801 звезда на GitHubОб этом скилле
${var} — Scope selector. Empty → full combined overview (tracked-protocol positions + macro context).
positions→ positions facet only (all watched positions);positions:<label>→ a single tracked position by label.macro→ macro facet only. Any other value → treat as a chain or protocol focus (e.g.solana,aave,arbitrum) applied to the macro read; positions are filtered to that chain when applicable.
Read memory/MEMORY.md for context. Read the last 2 days of memory/logs/ to avoid repeating numbers, to diff position values over time, and to cite yesterday's figure when flagging today's change. Read memory/on-chain-watches.yml (tracked positions) and the existing memory/topics/market-context.md (prior macro snapshot) — both are inputs below.
Thesis
The original produced a table of numbers. This version produces a read of the market: one verdict line at the top, then only items that changed or matter, each with a one-line reason a reader should care. TVL alone is lagging and emission-subsidized — we pair it with fees/revenue (real fundamentals) and split yields into sustainable (apyBase) vs incentive-driven (apyReward) so readers stop chasing scam-tier APYs. On top of the market read this skill also (a) checks the operator's tracked-protocol positions for health/liquidation/yield-drift risk, and (b) refreshes the decision-ready macro context file that downstream skills (token-pick, narrative-tracker) consume — all in one pass.
Facets & var routing
The skill has two facets. ${var} selects which run and how to scope them:
- Empty → run both facets: Positions and Macro. This is the comprehensive default.
positions→ Positions facet only, all watched positions.positions:<label>→ Positions facet only, restricted to the position whoselabelmatches<label>.macro→ Macro facet only (DeFi market read + broad crypto context +market-context.mdrefresh).- Any other value → Macro facet, run in focus mode:
- matches a chain name in
/v2/chains(case-insensitive) → chain focus: scope DEX volume, fees, and yields to that chain; keep a 2-line market header for context; filter positions (if the Positions facet also runs) to that chain. - matches a protocol slug in
/protocols→ protocol focus: pull/protocol/{slug},/summary/fees/{slug},/summary/dexs/{slug}if it is a DEX; compare against its chain and its 30-day self. - matches neither → proceed as a full macro overview and note
var unresolved: ${var}in the footer.
- matches a chain name in
When both facets run (empty var), send one combined notification (Take → position alerts if any → DeFi read → macro snapshot) and still write memory/topics/market-context.md.
FACET A — Positions (tracked-protocol health)
(Runs when ${var} is empty, positions, positions:<label>, or a chain focus. Skip entirely for macro.)
Position config
Watched contracts and positions live entirely in memory/on-chain-watches.yml — no protocols are hardcoded in this skill. If the file is missing or has no type: pool / type: position entries, log DEFI_MONITOR_NO_CONFIG for this facet and skip it cleanly (no notification — an empty config is not an error; the Macro facet still runs when applicable).
# memory/on-chain-watches.yml
watches:
- label: My Wallet
address: "0x1234...abcd"
chain: ethereum
rpc_url: https://eth.llamarpc.com
type: wallet
threshold: 0.1 # ETH — alert on balance changes above this
- label: Uniswap Pool
address: "0xabcd...5678"
chain: ethereum
rpc_url: https://eth.llamarpc.com
type: contract
Steps — Positions
A1. Query each DeFi position
For each DeFi position in memory/on-chain-watches.yml (type: pool or type: position), filtered by ${var} if a label (positions:<label>) or chain focus is set:
- Query the contract for current state using
eth_call:# Example: read slot0 from a Uniswap-style pool curl -s -X POST "${rpc_url}" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"'"$address"'","data":"'"$calldata"'"},"latest"],"id":1}' - For known protocols, query standard view functions:
- Liquidity pools:
totalSupply, reserves, current tick/price - Lending:
supplyRate,borrowRate, utilization - Staking: earned rewards, APR
- Liquidity pools:
A2. Compare against last logged values
Compare current values against the last logged values for each position (grep prior runs in memory/logs/).
A3. Flag anything notewort
Установить defi-overview в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл defi-overview?
One-pass crypto read - tracked-protocol positions and health plus macro context, with regime take, DeFi verdict, biggest movers, yields, fees, breadth, Fear & Greed, and prediction markets.
Как установить скилл defi-overview?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл defi-overview запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic