Install
openclaw skills install @huwangtao123/fxusdUse when the user wants to deploy, unwind, or compare fxUSD-related yield strategies on Base. Covers minting and redeeming fxSAVE, discovering and managing Hydrex single-sided liquidity vaults, and planning Morpho supply or borrow workflows with protocol-specific risk controls. Uses the fxSAVE backend plus public Hydrex and Morpho APIs for planning, and emits Bankr-ready transaction steps for execution.
openclaw skills install @huwangtao123/fxusdVersion: v1.0.1
Use this skill when the user wants a simpler way to put fxUSD to work on Base.
The job of this skill is to hide unnecessary DeFi complexity. Instead of asking the user to think in terms of bridging, approvals, vault mechanics, borrow limits, or withdrawal edge cases, this skill turns a simple outcome into a protocol-specific execution plan.
python3 for local planning scripts and bankr when the user wants live wallet execution.fxSAVE helper posts to https://fxsave.up.railway.app by default. Use --base-url only when targeting a different deployment.https://api.hydrex.fi/strategies and reads Base state from https://mainnet.base.org by default. Use --rpc-url to target a different Base RPC endpoint.https://blue-api.morpho.org/graphql and reads Base state from https://mainnet.base.org by default. Use --rpc-url to target a different Base RPC endpoint.Deposit 10 fxUSD to fxSAVE
Deposit all my idle USDC to fxSAVE
Redeem 50% of my fxSAVE to fxUSD
Redeem all my fxSAVE to USDC on Base
Find the best Hydrex single-sided vault for fxUSD
Deposit 500 fxUSD into the safest Hydrex vault
Withdraw my fxUSD/BNKR Hydrex vault position
Supply 5000 fxUSD on Morpho
Borrow fxUSD against my collateral on Morpho
fxSAVE from Base assets such as fxUSD, USDC, and WETHfxSAVE back into Base assetsBase -> Ethereum mainnet -> bridge back flow behind one Base-side actionReference: references/api.md
fxUSD or other supported deposit tokensstablecoin-farming from crypto-farming/agent/submit steps for Hydrex approval and main transactionsReference: references/hydrex.md
fxUSDfxUSDok / warning / critical levels for repeated position checksrepay-plan and add-collateral-plan outputs for risk reductionfxSAVE or Hydrex routesReference: references/morpho.md
Common Morpho user use cases:
fxUSD borrow positions and alert when they drift into warning or critical territoryfxUSD against collateral such as BNKR or wstETHrepay-plan when the user wants the most direct way to lower LTVadd-collateral-plan when the user has spare collateral and wants a wider liquidation bufferUse when the user wants:
fxUSD / USDC / WETH -> fxSAVEfxSAVE -> Base assetsExecution path:
scripts/fxusd_cli.py or the default fxSAVE backend to build the bundle.Use when the user wants:
fxUSDfxUSD into an auto-managed vaultExecution path:
scripts/fxusd_hydrex.py to discover, rank, and plan the vault action.stablecoin-farming from crypto-farming before comparing APR.Use when the user wants:
fxUSDfxUSDfxUSDfxSAVEExecution path:
scripts/fxusd_morpho.py to discover live markets and wallet positions.alert-check for recurring monitoring before considering any automated response.repay-plan or add-collateral-plan as the first response when a borrow position moves into warning or critical territory.When the user wants the lowest operational complexity:
fxSAVE.When the user explicitly wants liquidity provision rather than a simpler yield wrapper:
stablecoin-farming vaults such as fxUSD/USDC when the user wants lower pair volatility.When the vault pairs fxUSD with a volatile asset such as BNKR:
crypto-farming.fxUSD/USDC as if they have the same risk class.When the user wants capital efficiency or borrowing:
alert-check to surface warning or critical states before acting.repay-plan first, and use add-collateral-plan when the user has spare collateral inventory and wants to keep the debt open.Prefer fxSAVE when:
Prefer Hydrex when:
Prefer Morpho supply when:
Prefer Morpho borrow only when:
These are mandatory guardrails.
fxSAVE as a same-chain or instant route.stablecoin-farming from crypto-farming.fxUSD/USDC and fxUSD/BNKR do not belong to the same risk classUSDC may not exist for fxUSDDeposit 10 fxUSD to fxSAVERedeem 50% of my fxSAVE to fxUSDCompare fxSAVE and Morpho yield options for my fxUSDMonitor my Morpho fxUSD positions and alert me if they become riskyRun an alert-only Morpho risk check on my BNKR-backed fxUSD borrowBuild a repay plan to lower risk on my BNKR-backed fxUSD borrowBuild an add-collateral plan for my BNKR-backed fxUSD borrowUse my Bankr wallet to mint fxSAVE from 100 fxUSDUse Bankr to redeem all my fxSAVE to USDC on BaseFind the best Hydrex single-sided vault for fxUSDShow me stablecoin-farming vaults for fxUSD on HydrexDeposit all my idle fxUSD into HydrexWithdraw my fxUSD/BNKR Hydrex vault positionUse my Bankr wallet to withdraw my Hydrex vault sharesUse Bankr to deposit 100 fxUSD into the safest Hydrex vaultUse Bankr to withdraw 50% of my BNKR/fxUSD Hydrex positionSupply 5,000 fxUSD on MorphoFind the safest Morpho market for supplying fxUSDWithdraw 50% of my supplied fxUSD from MorphoBorrow fxUSD against my collateral on MorphoCheck my Morpho LTV before borrowing more fxUSDSuggest a safe fxUSD borrow size using my BNKR collateralCompare Morpho supply with fxSAVE for my idle fxUSDUse Bankr to supply my idle fxUSD on MorphoUse Bankr to compare Morpho and fxSAVE for my Bankr walletWhen the user wants execution through Bankr:
fxSAVE, Hydrex, or Morpho.Use my Bankr wallet... when the user explicitly wants Bankr execution.fxSAVE, use the default fxSAVE backend to build approval and main transaction plans first.Hydrex, use scripts/fxusd_hydrex.py and prefer the emitted bankrReady.steps.scripts/fxusd_morpho.py and prefer supply or withdraw over borrow by default.risk-check and borrow-plan, but keep the final borrow decision with the user.Useful natural-language styles:
Use my Bankr wallet to mint fxSAVE from 25 fxUSDUse Bankr to deposit all my idle fxUSD into the safest Hydrex stablecoin vaultUse Bankr to withdraw my Hydrex fxUSD/BNKR positionUse Bankr to supply 100 fxUSD to the safest Morpho marketUse Bankr to withdraw all my supplied fxUSD from MorphoCheck my Morpho LTV and tell me if borrowing 200 more fxUSD is still safeTell me the safest additional fxUSD I can borrow against my BNKR collateralUse Bankr to compare Morpho supply with fxSAVE for my idle fxUSDscripts/fxusd_cli.py — Preview fxSAVE mint, redeem, and approval plansscripts/fxusd_hydrex.py — Discover Hydrex vaults, classify risk, and emit execution-ready plus Bankr-ready Hydrex transactionsscripts/fxusd_morpho.py — Discover Morpho Blue markets, inspect positions, emit execution-ready plus Bankr-ready supply/withdraw plans, and compute LTV-aware borrow plans
including safer maximum borrow-size suggestions