The Skill activates automatically when a task matches its triggers — Voltr vaults,
@voltr/vault-sdk, sdk-scripts, adaptors, CPI into the vault program, and related terms.Install
Copy or symlink the repo into your agent’s skills location. For Claude Code:What’s inside
The Skill uses progressive disclosure: the agent loadsSKILL.md first for orientation and a track picker, then pulls in only the dense reference and runnable example it needs for the task at hand.
| You are… | Goal | Reference | Runnable code |
|---|---|---|---|
| Vault manager | Create, configure, allocate, and operate a vault | vault-manager-cli.md (recommended) · vault-manager-sdk.md | examples/sdk/ |
| Depositor / app dev | Deposit & withdraw for users (frontend, bot, service) | depositor-and-api.md | examples/depositor/ |
| Yield protocol | Build a custom on-chain adaptor bridging a vault to your protocol | adaptor-creation.md | examples/adaptor/ |
| Composing protocol | CPI into the vault program from your own program | cpi-integration.md | examples/cpi/ |
architecture.md reference underpins all four tracks: programs, fund flow, roles, accounting (LP / asset-per-LP / locked profit / high water mark / fees), PDAs, deployed addresses, and the instruction and error lists.
How it relates to these docs
The Skill is grounded in this documentation and the same tooling it describes — it is a way to build with an AI agent, not a replacement for the references here:CLI & Scripts
The
sdk-scripts CLI and examples the manager track builds onSDK Reference
The
@voltr/vault-sdk v2 surface the Skill targetsAdaptor Creation
The three-instruction adaptor interface for yield protocols
CPI Integration
Composing protocols that CPI into the vault program
The TypeScript surface targets v2 (
@voltr/vault-sdk + @solana/kit); the legacy VoltrClient (v1) API is out of scope except as a migration source. Always preview transactions (print → simulate) before executing on mainnet, and verify program addresses and discriminators against the Skill’s architecture.md and cpi-integration.md.