Coding

StableOps Treasury

Try it

Use this skill when a team, DAO, or builder wants to deploy USDC from a stablecoin treasury into LI.FI Earn vaults under explicit treasury policy limits, pre...

What it does

Use this skill for governed treasury execution powered by and .

The skill document

StableOps LI.FI Treasury

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.

When To Use

  • The user wants to manage a team, DAO, builder, or stablecoin treasury.
  • The user gives rules like reserve target, max per execution, allowed chains, safe vaults only, or minimum TVL.
  • The user wants to deploy USDC into an Earn vault with a policy-backed explanation.
  • The user wants a report describing vault, protocol, chain, transaction hash, and receipt token.

Example requests:

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.

Workflow

  1. Extract the treasury policy:

    • treasury name
    • treasury size in USDC
    • deploy amount in USDC
    • reserve target
    • max per execution
    • allowed chains
    • risk mode
    • minimum TVL
  2. Build a StableOps plan:

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]
    }
  }'
  1. Use the returned plan fields:

    • recommendedVault
    • approvedVaults
    • rejectedVaults
    • checks
    • agents
    • reportPreview
  2. Only prepare Composer quote when all blocking checks pass:

curl -sS -X POST http://localhost:3017/api/quote \
  -H 'Content-Type: application/json' \
  -d '{
    "chainId": 8453,
    "vaultAddress": "",
    "walletAddress": "",
    "fromAmountUsd": 1,
    "fromTokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "assetDecimals": 6
  }'
  1. For execution:

    • connect the treasury wallet
    • switch to the selected chain
    • approve USDC if required
    • submit the Composer transaction
    • wait for confirmation
  2. After execution, return a treasury report:

    • deployed amount
    • vault name
    • protocol
    • chain
    • deposit transaction hash
    • receipt token symbol
    • plain-language explanation of what the receipt token represents

Output Rules

  • Lead with the treasury decision: approved or blocked.
  • Mention policy checks before APY.
  • Do not recommend a vault that fails the policy.
  • Do not create a Composer quote if reserve, max execution, chain, TVL, or Composer support fails.
  • Explain receipt tokens plainly: a receipt token represents the treasury's position in the selected vault.
  • If live LI.FI Earn discovery is unavailable, say that seeded examples are being used.

Related skills

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.

by Iván535 installs31 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

More from richard7463

Browse all skills

Run an executable X Layer pre-execution guard for autonomous agents: OnchainOS DEX route judgment, honeypot and price-impact checks, proof-mode evidence, and...

by richard746314 installs

Use this skill when the user wants to put a Solana wallet on trial, identify the action most likely to cause regret tomorrow, return a verdict, and only then...

by richard746313 installs

Use this skill when the user wants a single approved onchain order for a Solana wallet, one explicit forbidden order, a quote-backed execution preview, or a...

by richard746316 installs

Use this skill when the user wants to run Miraix Meme Court, shortlist Solana meme candidates, apply Rug Court safety and liquidity checks, approve one disci...

by richard746314 installs

Use this skill when the user wants to install Miraix Agent Arena in OpenClaw, bind an Arena pair code, turn a natural-language trading idea into an Arena-rea...

by richard746318 installs