From agi-super-team
Provides a structured framework for evaluating DeFi protocol risk across smart contract audits, TVL analysis, governance, oracles, and token economics. Useful for assessing protocol safety and identifying red flags.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agi-super-team:defi-risk-assessmentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A structured approach for AI agents to evaluate DeFi protocol risk and help users make informed decisions.
A structured approach for AI agents to evaluate DeFi protocol risk and help users make informed decisions.
The code itself could have vulnerabilities.
Assessment Checklist:
Risk Levels:
| Level | Criteria |
|---|---|
| Low | 2+ audits, 1+ year live, open source, large bug bounty |
| Medium | 1 audit, 6+ months live, open source |
| High | Unaudited or <6 months live |
| Critical | Closed source, no audits, anonymous team |
The protocol design could fail under stress.
Key Questions:
Common Failure Modes:
How much control do insiders have?
| Factor | Low Risk | High Risk |
|---|---|---|
| Admin keys | Timelock + multisig | Single EOA |
| Upgradability | Immutable or governance-gated | Instant proxy upgrade |
| Token distribution | Wide distribution | Team holds >40% |
| Oracle | Chainlink + fallback | Custom oracle, single source |
Can you exit your position when you need to?
Could regulatory action affect the protocol?
Rate each category 1–5, then calculate:
Overall Risk Score = (SmartContract × 3 + Economic × 2.5 + Centralization × 2 + Liquidity × 1.5 + Regulatory × 1) / 10
| Score | Rating | Recommendation |
|---|---|---|
| 1.0–2.0 | Very Low Risk | Suitable for conservative allocations |
| 2.0–3.0 | Low Risk | Suitable for most users |
| 3.0–3.5 | Medium Risk | Only with risk understanding |
| 3.5–4.0 | High Risk | Small allocations only |
| 4.0–5.0 | Very High Risk | Avoid for most users |
Aave V3: 10+ audits, 3+ years live, $10B+ TVL, Chainlink oracles, governance timelock, large bug bounty
Sperax USDs: Multiple audits, 100% stablecoin collateral (no volatile assets), Chainlink oracles, 2+ years live, collateral ratio safety checks, bug bounty ($100–$15K)
Newer L2 protocols: 1–2 audits, less than a year live, growing TVL, reasonable governance
Unaudited yield farms: No audits, anonymous team, high APYs from emissions only, proxy contracts, no timelock
Instant disqualifiers:
For agents evaluating a protocol:
npx claudepluginhub aaaaqwq/agi-super-team --plugin agi-super-teamDesigns and analyzes DeFi protocols including AMMs, lending, yield strategies, and economic security. Covers incentive design, oracle risk, and liquidation mechanics.
Aggregates DeFiLlama data to compare yields across protocols/chains, calculate APYs, assess risks via TVL/audits, and recommend optimizations for farming strategies.
Simulates flash loan strategies on Aave, dYdX, Balancer with profitability calculations, gas estimation, risk assessment for arbitrage and liquidations.