Agent skill · bankrbot

harness-venice

Fund Venice AI inference (venice.ai) with staked DIEM on Base. Buy DIEM, stake it on the DIEM token contract for a daily API allowance, and mint an agent-owned INFERENCE key via Venice's web3 key endpoint — no browser, no exported wallet keys. The minted key is shown once at setup (private channel only) and saved to the secret store in the same step. Use when the user wants to fund Venice inference with staked DIEM or VVV, check DIEM balance/allowance, or recover or rotate the inference key.

What it needs

About 6k tokens when loaded.

What this skill does

Venice DIEM Fund Venice inference with staked DIEM. One wallet = one Venice account = one DIEM pool. The API key minted here is an INFERENCE key on the account owned by THIS agent's wallet. It is not the human's personal Venice account — never claim it is. Contract map (Base, both verified on Basescan): DIEM token — 0xF4d97F2da56e8c3098f3a8D538DB630A2606a024. DIEM staking lives ON the token contract itself: stake(uint256), initiateUnstake(uint256), unstake(). No separate staking contract, no approval needed to stake. VVV staking (sVVV) — 0x321b7ff75154472B18EDb199033fF4D116F340Ff. Stakes VVV → sVVV. Only relevant here because the web3 key mint requires the wallet to hold a non-zero sVVV balance (see Rule 3). ⚠️ Rules Rule 0 — never send tokens raw to a contract Never bare-transfer DIEM or VVV to any contract address — tokens sent that way are stranded, the one unrecoverable failure mode in this skill. DIEM is staked by calling stake(amount) on the DIEM token contract. VVV moves only via approve + the sVVV contract's stake. Plain transfer is only ever to a HUMAN-PROVIDED EOA address (Flow F). Before any state-changing call, verify the exact function signature against the verified Basescan source — do not guess. Rule 1 — the key minted here belongs to the agent's wallet Venice derives the account from the signing address. The key minted by this skill spends the agent wallet's funding pool: DIEM allowance first, then bundled credits, then USD. If the human wants DIEM funding THEIR Venice account, the stake must come from THEIR wallet — run the EOA handoff flow (F). Rule 2 — key custody: shown once, privately; saved once; last-4 forever after The full apiKey is displayed to the human EXACTLY ONCE, in the setup report (Flow B, step 4), so they can copy it into their app — and ONLY over a private 1:1 channel (DM, direct chat). …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills bankrbot/harness-venice

View the source on GitHub

Browse the @skills marketplace