Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

defi-protocol-review

БесплатноЗапускает вложенные скриптыНе проверен

Due-diligence review of a DeFi protocol — admin-key & upgradeability risk, audit status, yield sustainability, liquidity/TVL quality, oracle dependency, and…

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

DeFi Protocol Review

A structured due-diligence methodology for assessing the rug and exploit risk of a DeFi protocol before you deposit funds. Given a protocol's docs, contracts, audits, token, and TVL, this skill works through seven review dimensions — smart-contract control, audits & track record, economic design, liquidity & TVL, oracle dependency, team & transparency, and composability/contagion — runs a red-flag quick scan, and produces a risk matrix with a single Low / Moderate / High / Avoid verdict.

Not financial advice. This is an educational due-diligence framework, not an audit and not a recommendation. Smart-contract risk is real and total loss is possible — bugs, exploits, governance attacks, oracle manipulation, and rugs happen even to "reviewed" protocols. Never deposit more than you can afford to lose, and verify every claim on-chain and in the source yourself.

For deeper code-level work, cross-link the Viprasol smart-contract-audit skill (line-by-line vulnerability review) and the tokenomics-review skill (emission schedules, supply, incentive sustainability).


When to Activate

Activate this skill when the user:

  • Asks whether a DeFi protocol is safe to deposit into, "is this a rug?", "what's the risk of this farm/vault/pool?", or wants a due-diligence pass before allocating capital.
  • Shares a protocol's docs, GitHub, contract addresses, audit reports, token page, or a DeFiLlama/TVL link and asks for a risk review.
  • Wants to compare two protocols on risk, or to understand admin-key, upgradeability, oracle, or yield-sustainability risk specifically.
  • Is evaluating a new / high-APY opportunity and wants a sanity check against rug and exploit red flags.

If the user gives only a name with no contracts/docs, ask for the minimum inputs in Step 1 (at least: chain, contract address(es) or docs, and audit status) before scoring. Do not invent findings — if data is missing, mark the dimension Unknown and treat unknowns as risk, not as safety.


Step 1: Scope & Data

Establish and restate the context before assessing anything:

Field Why it matters
Protocol & version Identifies the entity; v1 vs v2 contracts differ in risk.
Chain(s) Ethereum L1 vs a new L2/alt-L1 changes audit depth, bridge risk, and exit liquidity.
Category DEX, lending, perps, stablecoin, or yield/aggregator — each has a different threat model (see Step 3).
TVL & trend Size and trend (sticky vs a sudden spike) signal trust and mercenary capital.
Token & contracts Governance/utility token, mint authority, and the exact deployed contract addresses to inspect.
Docs & code Whitepaper/docs, public GitHub, verified source on the explorer.
Audits Who audited, when, which contracts, and whether findings were fixed.

State each explicitly in the output header. Verify on-chain, not just from the docs: marketing pages routinely overstate decentralization, audit coverage, and "locked" liquidity. If the deployed contracts differ from the audited commit, that gap is itself a finding.


Step 2: Severity Model

Rate each finding on this scale. The highest unresolved severity caps the final verdict — one Critical that puts funds at immediate risk means Avoid regardless of how good the rest looks.

Severity Meaning
Critical Funds at immediate risk: a single key can drain/mint, an unaudited upgradeable proxy with no timelock, or an active known exploit.
High Serious risk likely to cause loss under plausible conditions: single-source oracle, unsustainable emissions-only yield, concentrated/unlockable TVL, anon team with custody powers.
Medium Material risk needing mitigation/monitoring: multisig with low threshold, partial audit, moderate oracle/composability dependency.
Low Minor or well-mitigated risk: timelocked multisig, reputable audits with fixed findings, transparent team.
Info Context/observation, no direct loss path.

Step 3: Review Dimensions

Cover all seven dimensions below. For each: what to check, why it matters, and good vs bad signals. Assign each dimension a severity from Step 2.

(a) Smart-Contract Control — who can move or change things?

  • What to check: Owner/admin of the core contracts — is it an EOA (single private key), a multisig (e.g. Gnosis Safe, note M-of-N), or a timelock + multisig? Is the protocol an upgradeable proxy (Transparent/UUPS) and if so, is upgrade gated by a timelock? What privileged powers exist: pause, mint, blacklist, set fees, set oracle, emergency withdraw / sweep, arbitrary call?
  • Why: This is the #1 rug vector. An EOA owner or a no-timelock upgradeable proxy means the team (or a stolen key) can change logic or drain funds instantly with no warning. A timelock giv
Полный SKILL.md на GitHub

Установить defi-protocol-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.github/workflows/validate.yml.gitignoreCHANGELOG.mdLICENSEREADME.mdSOURCE.mdTRUST.auto.yamlexamples/lending-protocol-review.mdexamples/yield-farm-review.mdscripts/validate_skill.py

FAQ

Что делает скилл defi-protocol-review?

Due-diligence review of a DeFi protocol — admin-key & upgradeability risk, audit status, yield sustainability, liquidity/TVL quality, oracle dependency, and team transparency. Outputs a risk matrix and verdict. Use to vet a protocol before depositing, or to assess rug & exploit risk.

Как установить скилл defi-protocol-review?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл defi-protocol-review запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить defi-protocol-review с