360 Secure SkillHub
360 安全技能中心

arcadia-finance

通过本地 shell 脚本调用 Arcadia 的 MCP 接口,查询钱包账户、健康因子、策略与借贷池收益率,并构造开仓、平仓、借贷存取和自动化配置等未签名交易,由用户自行签名广播。依赖 curl 和 jq,无密钥托管。

分类:生活
thomas-smets
thomas-smets
热度 50.50
最近更新 2026-11-17 14:23:01

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add thomas-smets/arcadia-finance
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
arcadia-finance
version
1.5.0
description
DeFi liquidity management on Uniswap and Aero, live on Base, Optimism, Unichain and Robinhood. Deploy concentrated liquidity positions with automated rebalancing, compounding, yield optimization, and leverage, or provide single-sided liquidity to lending pools.
metadata
{"openclaw":{"homepage":"https://arcadia.finance","requires":{"bins":["curl","jq"]}}}

Arcadia Finance

Agent note: {baseDir} refers to the directory containing this SKILL.md file. Resolve all {baseDir} paths relative to it.

Arcadia helps users deploy concentrated liquidity positions on Uniswap, Aero, Aerodrome and Velodrome with automated rebalancing, compounding, yield optimization, and optional leverage, or provide single-sided liquidity to lending pools to earn borrower interest. Supported chains: Base (8453), Unichain (130), Optimism (10), Robinhood (4663).

CLI Usage

# Discover all available tools (run this first)
{baseDir}/arcadia.sh --list

# Call a specific tool
{baseDir}/arcadia.sh <tool_name> '<json_args>'

Requires: curl, jq. No other dependencies.

Read Operations

# List all accounts for a wallet
{baseDir}/arcadia.sh read_wallet_accounts '{"wallet_address":"0x..."}'

# Account details (health factor, collateral, debt, positions)
{baseDir}/arcadia.sh read_account_info '{"account_address":"0x..."}'

# Featured LP strategies with APY (last 24 hours at the featured range width)
{baseDir}/arcadia.sh read_strategy_list '{"featured_only":true}'

# Lending pools (TVL, APY, utilization)
{baseDir}/arcadia.sh read_pool_list '{}'

# Workflow guides (automation setup, strategy selection)
{baseDir}/arcadia.sh read_guides '{"topic":"overview"}'

# Available automations (rebalancer, compounder, yield claimer)
{baseDir}/arcadia.sh read_asset_manager_intents '{}'

Single-Sided Liquidity (Lending)

Provide single-sided liquidity by depositing the pool's underlying asset into an Arcadia lending tranche (ERC-4626), earning interest from borrowers. Use read_pool_list to find tranches[0].address for each pool. Approve the tranche first (write_wallet_approve).

# Lender deposit: lend 10 USDC into the USDC tranche, receive shares to your wallet
{baseDir}/arcadia.sh write_pool_deposit '{"tranche_address":"0x...","assets":"10000000","receiver":"0x...","chain_id":8453}'

# Lender exit: redeem shares back to the underlying asset
{baseDir}/arcadia.sh write_pool_redeem '{"tranche_address":"0x...","shares":"10000000","receiver":"0x...","owner":"0x...","chain_id":8453}'

write_pool_deposit is for lenders earning yield. For depositing collateral into an Arcadia account, use write_account_deposit instead.

Write Operations

All write tools return unsigned transactions { to, data, value, chainId }. Sign with your wallet before broadcasting. See {baseDir}/wallet-signing.md for wallet options.

# Open LP position (deposits + swaps + mints LP atomically)
{baseDir}/arcadia.sh write_account_add_liquidity '{"account_address":"0x...","wallet_address":"0x...","positions":[{"strategy_id":123}],"deposits":[{"asset":"0x...","amount":"1000000","decimals":6}]}'

# Close position (burn LP + swap + repay in one tx)
{baseDir}/arcadia.sh write_account_close '{"account_address":"0x...","assets":[...],"receive_assets":[...]}'

# Create a new account (salt must be unique per wallet)
{baseDir}/arcadia.sh write_account_create '{"wallet_address":"0x...","salt":1,"chain_id":8453}'

# Enable automation
{baseDir}/arcadia.sh read_asset_manager_intents '{"account_address":"0x...","chain_id":8453}'
{baseDir}/arcadia.sh write_account_automations '{"account_address":"0x...","position_id":12345,"intents":[{"kind":"compound_fees"},{"kind":"rebalance"}],"chain_id":8453}'

If write_account_add_liquidity returns price warnings and no transaction, show the warnings to the user. Call it again with accept_price_checks set to the returned list only after the user explicitly confirms. New warnings on a rebuild need a new confirmation.

Configuration

The CLI connects to https://mcp.arcadia.finance/mcp by default. Set ARCADIA_MCP_URL to override (e.g. for local development).

Data and Safety

This skill connects to Arcadia's public API at https://mcp.arcadia.finance/mcp (override via ARCADIA_MCP_URL). Tool calls send public wallet addresses, account addresses, and transaction parameters to this server. This is the same data that is publicly visible on-chain. No private keys or signing capabilities are transmitted.

  • Write tools return unsigned transactions only. Never auto-sign.
  • Always confirm transaction details with the user before signing.
  • Check account health factor with read_account_info before risky operations.
  • Do not pass private keys or secrets as tool arguments. Only public addresses and amounts are needed.

References