Agent skill · software engineering · bankrbot
stakr-protocol
Interact with the Stakr protocol — ERC-4626 vaults with multi-reward staking. Use when the user or an agent needs to work with Stakr vaults, add or modify rewards (addRewardToken, addRewards, modifyRewardToken, modifyReward), create or manage an "agent vault" or "own vault", fund incentive programs, configure reward schedules, or integrate Stakr in scripts or tooling. Prefer this skill whenever Stakr, StakrVault, rewards, staking, or vault ownership is mentioned.
Why this skill is useful
Provides specific commands and domain knowledge for interacting with the Stakr protocol's ERC-4626 vaults and reward management that the AI wouldn't reliably generate on its own.
What it needs
Requires stakr account access. About 4k tokens when loaded. Last updated 2026-08-06. 1,172 stars on the source repository.
What this skill does
Stakr Protocol — Agent Overview This skill gives agents the context to interact with the Stakr protocol: ERC-4626 tokenized vaults with multi-reward staking for any ERC-20 token. Use it when building integrations, scripts, or tooling that create vaults, add rewards, modify reward schedules, or let an agent operate its "own" vault. --- Protocol at a Glance StakrVault: Single-asset ERC-4626 vault. Users deposit underlying, get shares; they can lock shares to earn multiple reward tokens over configurable windows. StakrVaultFactory: Deploys vaults and holds protocol fee configuration. One factory per chain. Rewards: Up to 25 reward tokens per vault. Each reward has startTime, endTime, and total amount. Distribution is linear over the window; logic is Masterchef-style (accumulated rewards per share). Ownership: A vault can have an owner (address that can add/modify rewards) or address(0) for permissionless reward addition. When an agent is said to have its "own vault", it means: the agent (or a controlled EOA/contract) is the vault owner, so it can call addRewardToken and modifyRewardToken to fund and adjust rewards without third-party permission. --- Emphasis: Adding and Modifying Rewards (Agent-Owned Vaults) Agents that operate their own vault will use these two functions most: 1. addRewardToken(token, amount, settings) Purpose: Start a new reward program for a given ERC-20 token. Caller: Vault owner (or anyone if owner() == address(0)). Parameters: token: ERC-20 reward token address. Cannot be the vault’s share token address(vault). amount: Total amount of token to distribute. Tokens are pulled from msg.sender; protocol may take a fee (see factory feeOnAddReward). settings: Settings{ startTime, endTime }. Distribution is linear from startTime to endTime; both must be in the future and startTime < endTime. Effects: Registers the reward, pulls tokens (minus fee) into the vault, and emits AddReward. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills bankrbot/stakr