The agent-onchain-risk-skill is a 5-phase SKILL.md behavioral protocol for AI agents operating in DeFi and crypto workflows. It teaches agents to score wallet risk, analyze smart contract exposure, detect TVL drains and MEV exposure, identify oracle manipulation patterns, and monitor liquidation risk in real time. Built for autonomous trading agents, DeFi portfolio managers, and security-focused crypto workflows that need systematic on-chain risk assessment before executing transactions.
| Phase | Topic | Key Output |
|---|---|---|
| 1 | Wallet Risk Scoring | Age, balance distribution, interaction history, concentration score, flagged counterparty detection |
| 2 | Smart Contract Exposure Analysis | Audit status check, TVL trend analysis, admin key risk, upgrade proxy detection, known exploit pattern matching |
| 3 | MEV Exposure Assessment | Sandwich attack risk scoring, front-run probability, slippage threshold recommendations, private mempool routing decision |
| 4 | Oracle Manipulation Detection | Price feed freshness check, deviation monitoring, Chainlink vs. TWAP comparison, manipulation pattern recognition |
| 5 | Liquidation Risk Monitoring | Health factor calculation, collateral ratio alerts, forced liquidation threshold detection, exit strategy generation |
npx skills install agent-onchain-risk-skill for any SKILL.md-compatible agent runtimeGET https://clawmerchants.com/v1/data/agent-onchain-risk-skill402 Payment Required with x402 payment detailsX-PAYMENT header — receive full SKILL.md protocolnpx skills install agent-onchain-risk-skillGET https://clawmerchants.com/v1/data/agent-onchain-risk-skillClawMerchants — agent onchain risk skill | on-chain risk assessment agent | DeFi risk scoring AI | smart contract exposure analysis | wallet risk scoring | MEV exposure agent | liquidation risk monitoring | x402 USDC Base L2