← 返回 Skills 市场
plagtech

Defi Intelligence Skill

作者 Plag · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
29
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install defi-intelligence-x402
功能描述
16-tool DeFi intelligence agent — token prices, swap quotes, wallet analytics, portfolio tracking, DeFi positions, gas oracle, ENS resolution, and contract r...
使用说明 (SKILL.md)

DeFi Intelligence

16 endpoints for on-chain analytics, token prices, swap quotes, portfolio tracking, DeFi positions, wallet profiling, and smart contract reads. Each call is a real x402 micropayment ($0.001–$0.015 USDC).

How to call endpoints

bash {baseDir}/scripts/defi.sh METHOD ENDPOINT '{"key":"value"}'

GET endpoints pass JSON as query params. POST endpoints send JSON body.

Workflow strategies

Token research — get prices, check swap quotes across DEXes, look up the contract via contract/read, resolve any ENS names involved.

Wallet profiling — resolve ENS to address, pull balances, get wallet analytics (activity tier, risk signals), check portfolio tokens and NFTs, review DeFi positions, pull tx history.

Yield analysis — check DeFi positions for an address, get token prices to calculate USD values, compare swap rates for entry/exit.

Market monitoring — use oracle/prices for aggregated feeds, oracle/gas for chain congestion, oracle/fx for stablecoin depegs, prices for quick multi-token lookups.

Due diligence — combine wallet analytics (risk signals) with tx history, portfolio composition, and DeFi position exposure for a complete profile.

Always include token symbols, USD values, and chain context in your responses. Format large numbers with commas.

Available endpoints (16 tools)

Price & Oracle Data

Oracle Prices — $0.008 Aggregated oracle price feed across multiple sources.

bash {baseDir}/scripts/defi.sh GET /api/v1/oracle/prices '{"symbols":"ETH,BTC,SOL"}'

Token Prices — $0.002 Multi-token price feed across major assets. Cached, low-latency.

bash {baseDir}/scripts/defi.sh GET /api/v1/prices '{"symbols":"ETH,BTC,USDC"}'

Gas Prices — $0.005 Real-time gas prices for Base and other supported EVM chains.

bash {baseDir}/scripts/defi.sh GET /api/v1/oracle/gas '{"chain":"base"}'

Stablecoin FX — $0.008 Stablecoin FX rates: USDC, USDT, DAI, EURC, pyUSD, and more.

bash {baseDir}/scripts/defi.sh GET /api/v1/oracle/fx '{}'

Swap Intelligence

Swap Quote — $0.008 Get a swap quote across Uniswap V3, Aerodrome, and other DEXes on Base.

bash {baseDir}/scripts/defi.sh GET /api/v1/swap/quote '{"tokenIn":"USDC","tokenOut":"ETH","amount":"1000"}'

Swap Tokens — $0.001 List supported swap tokens with addresses, decimals, and metadata.

bash {baseDir}/scripts/defi.sh GET /api/v1/swap/tokens '{}'

Wallet Analytics

Wallet Profile — $0.01 Wallet profile: balances, top tokens, activity tier, age, risk signals.

bash {baseDir}/scripts/defi.sh GET /api/v1/analytics/wallet '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'

Transaction History — $0.008 Transaction history for any address across supported chains.

bash {baseDir}/scripts/defi.sh GET /api/v1/analytics/txhistory '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'

Balances — $0.005 Multi-chain balance lookup for any address.

bash {baseDir}/scripts/defi.sh GET /api/v1/balances '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'

Portfolio & DeFi

Portfolio Tokens — $0.005 Full token portfolio for an address across supported chains.

bash {baseDir}/scripts/defi.sh GET /api/v1/portfolio/tokens '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'

Portfolio NFTs — $0.005 NFT holdings for an address across supported chains.

bash {baseDir}/scripts/defi.sh GET /api/v1/portfolio/nfts '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'

DeFi Positions — $0.008 Open DeFi positions across supported protocols — lending, staking, LP, vaults.

bash {baseDir}/scripts/defi.sh GET /api/v1/defi/positions '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'

Identity & Contracts

ENS Resolution — $0.002 Resolve an ENS name, Basename, or address to its canonical identity.

bash {baseDir}/scripts/defi.sh GET /api/v1/resolve '{"name":"vitalik.eth"}'

Read Contract — $0.002 Read from any smart contract via a view/pure function call.

bash {baseDir}/scripts/defi.sh POST /api/v1/contract/read '{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","function":"totalSupply","chain":"base"}'

Execution

Execute Swap — $0.015 Execute a token swap on Base via the MangoSwap router. Use swap/quote first to preview.

bash {baseDir}/scripts/defi.sh POST /api/v1/swap/execute '{"tokenIn":"USDC","tokenOut":"ETH","amount":"100","slippage":0.5}'

Write Contract — $0.01 Submit a state-changing smart contract transaction. Use with caution.

bash {baseDir}/scripts/defi.sh POST /api/v1/contract/write '{"address":"0x...","function":"approve","args":["0x...",1000000],"chain":"base"}'

Cost reference

Endpoint Cost Type
Swap Tokens $0.001 Read
Token Prices $0.002 Read
ENS Resolve $0.002 Read
Contract Read $0.002 Read
Gas Prices $0.005 Read
Balances $0.005 Read
Portfolio Tokens $0.005 Read
Portfolio NFTs $0.005 Read
Oracle Prices $0.008 Read
Stablecoin FX $0.008 Read
Swap Quote $0.008 Read
Tx History $0.008 Read
DeFi Positions $0.008 Read
Wallet Profile $0.01 Read
Contract Write $0.01 Write
Execute Swap $0.015 Write

Data sourced from Alchemy, CoinGecko, Uniswap V3, Aerodrome, and on-chain indexers.

安全使用建议
Install only if you trust the gateway operator and are comfortable sending wallet-related data and an API key to that service. Treat write endpoints as high risk: require explicit human approval, verify chain, recipient, token amounts, allowances, and slippage out of band, and avoid arbitrary contract/write calls unless you fully understand the transaction.
能力标签
cryptofinancial-authorityrequires-walletcan-make-purchasesrequires-paid-servicerequires-sensitive-credentials
能力评估
Purpose & Capability
The DeFi analytics purpose fits many endpoints, but the skill also documents swap execution and arbitrary contract writes, which are high-impact financial actions not reflected in the short description and only lightly warned as 'use with caution.'
Instruction Scope
The helper accepts any METHOD, ENDPOINT, and JSON body and sends them to the configured gateway without endpoint allowlisting, confirmation, transaction simulation, or redaction; this is broader than the documented 16 DeFi endpoints.
Install Mechanism
The metadata declares the required API key, optional gateway URL, curl, and python3; there are no package installs or hidden setup steps, but outbound network use and paid x402 behavior are central to operation.
Credentials
Sending wallet addresses, ENS names, portfolio holdings, transaction history requests, and optional bearer credentials to a third-party gateway is expected for this service, but the privacy and data-retention implications are under-disclosed.
Persistence & Privilege
No persistence, background worker, local credential harvesting, privilege escalation, or filesystem mutation was found in the artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install defi-intelligence-x402
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /defi-intelligence-x402 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of defi-intelligence-x402 — a comprehensive DeFi analytics and execution toolkit. - Offers 16 endpoints including token prices, swap quotes, wallet analytics, portfolio tracking, DeFi positions, gas oracle, ENS resolution, and smart contract reads. - Supports both read and write operations—portfolio analysis, yield tracking, token swaps, and contract execution. - Each data call is powered by real x402 micropayments ($0.001–$0.015 USDC). - Includes cost breakdown per endpoint and clear workflow strategies for research, profiling, and monitoring. - Outlines example bash usage for each endpoint.
元数据
Slug defi-intelligence-x402
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Defi Intelligence Skill 是什么?

16-tool DeFi intelligence agent — token prices, swap quotes, wallet analytics, portfolio tracking, DeFi positions, gas oracle, ENS resolution, and contract r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 29 次。

如何安装 Defi Intelligence Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install defi-intelligence-x402」即可一键安装,无需额外配置。

Defi Intelligence Skill 是免费的吗?

是的,Defi Intelligence Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Defi Intelligence Skill 支持哪些平台?

Defi Intelligence Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Defi Intelligence Skill?

由 Plag(@plagtech)开发并维护,当前版本 v1.0.0。

💬 留言讨论