Imported from IXS-Finance/ixs-rwa-agent-skills (
skills/compare-vault-entry-vs-exit/SKILL.md). Install upstream withnpx skills add IXS-Finance/ixs-rwa-agent-skills --skill compare-vault-entry-vs-exit. Copyright stays with the author.
Compare Vault Entry Vs Exit
When To Use
Use this skill when the user wants to compare deposit and redeem conditions before deciding whether to enter, add to, or exit a public IXS ERC-4626 vault position.
Inputs
IXS_MCP_URLIXS_VAULT_ADDRESSIXS_VAULT_CHAIN_ID- wallet from an approved signer; use
AGENT_PRIVATE_KEYonly for isolated test or compatibility setups - target deposit asset amount
- target redeem share amount
Trigger Examples
- "Compare whether it looks better to deposit more or redeem right now."
- "Show me the current deposit and redeem conditions for this vault and my wallet."
Procedure
- Call the MCP tool
vault_getfirst and readsettlement(syncforManagedVault-kind vaults,async-erc7540forERC7540OperatedVault-kind vaults) — it changes how to interpret every read below. - Read vault state needed for both entry and exit:
paused()totalAssets()availableAssets()maxDeposit(receiver)maxRedeem(owner)
- Read wallet state:
- asset balance
- share balance
- allowance to the vault
- Read quote surfaces:
previewDeposit(assets)previewRedeem(shares)previewRedeemFee(shares)—ManagedVault-kind only; do not call this onasync-erc7540vaults, it does not exist there
- Summarize:
- whether deposit is currently allowed and sufficiently funded
- whether redeem is currently within wallet and vault limits
- expected deposit shares out
- expected redeem assets out and fee (net-of-fee only, no separate fee figure, on
async-erc7540vaults) - allowance and liquidity constraints
- Highlight which blockers apply to entry, exit, or both — on
async-erc7540vaults,maxDeposit/maxRedeemalways read0by design (the sync path is disabled, not blocked); say so instead of reporting entry/exit as unavailable.
Guardrails
- Do not recommend an investment action as financial advice.
- Keep read-only comparison separate from execution planning.
- Call out uncertainty when wallet-specific inputs are missing.
- On
async-erc7540vaults, treatpreviewDeposit/previewRedeemas non-binding estimates, not the figures that will actually apply — the real price is set when the corresponding request is finalized.
References
references/comparison-surface.md