Add Vault Abi Methods
This skill adds custom ABI methods to your Vault contracts, enabling advanced interactions and extending functionality for automated trading strategies.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add add-vault-abi-methods npx -- -y @trustedskills/add-vault-abi-methods
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"add-vault-abi-methods": {
"command": "npx",
"args": [
"-y",
"@trustedskills/add-vault-abi-methods"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to programmatically discover and install custom Application Binary Interface (ABI) methods for Ethereum vault contracts. It extends the agent's ability to interact with specific DeFi protocols by adding new function signatures directly to its contract configuration.
When to use it
- You need an AI agent to execute a newly added feature on a smart contract that isn't part of the standard ABI.
- A protocol update requires your agent to call a fresh method without redeploying the entire vault contract.
- You are building a custom DeFi strategy that relies on niche or experimental functions within existing vaults.
Key capabilities
- Dynamic Discovery: Automatically scans available methods for specified vault contracts.
- ABI Extension: Installs new function signatures into the agent's active contract definition.
- Protocol Agnosticism: Works across various Ethereum DeFi vault implementations to standardize interaction patterns.
Example prompts
- "Install the
emergencyWithdrawmethod from the Aave V3 USDC vault so I can test a liquidation strategy." - "Add the custom
flashLoanCallbackfunction to my current vault configuration for this specific lending protocol." - "Update the vault ABI to include the new
setLiquidityThresholdmethod required by the latest governance proposal."
Tips & gotchas
Ensure you specify the exact vault address and contract name when requesting a method addition, as generic requests may fail due to version mismatches. Always verify that the requested method exists in the target contract's source code before installation to prevent runtime errors during execution.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.