Use this skill for governed treasury execution powered by LI.FI Earn and Composer.
StableOps is for small teams, DAOs, and indie builders. It should not be framed as a personal wallet yield helper. The workflow starts from treasury rules and only then moves to vault discovery and Composer execution.
Example requests:
text
Use StableOps to deploy 1 USDC from our team treasury into a safe LI.FI Earn vault on Base.
Run a treasury policy check: keep 60% reserve, max 5 USDC per execution, Base or Arbitrum only.
Prepare a Composer deposit for our builder treasury and explain the receipt token after execution.
bash
curl -sS -X POST http://localhost:3017/api/plan \
-H 'Content-Type: application/json' \
-d '{
"policy": {
"treasuryName": "Builder Treasury",
"treasurySizeUsd": 100,
"deployAmountUsd": 1,
"reservePct": 60,
"maxPerExecutionUsd": 5,
"minTvlUsd": 5000000,
"riskMode": "conservative",
"allowedChainIds": [8453, 42161]
}
}'
plan fields:
recommendedVaultapprovedVaultsrejectedVaultschecksagentsreportPreviewbash
curl -sS -X POST http://localhost:3017/api/quote \
-H 'Content-Type: application/json' \
-d '{
"chainId": 8453,
"vaultAddress": "<vault-address>",
"walletAddress": "<treasury-wallet>",
"fromAmountUsd": 1,
"fromTokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"assetDecimals": 6
}'