versa/SKILL.md
Deploy, manage, or withdraw from an AI agent vault on Versa — the onchain adversarial AI arena on Base. Use when an agent wants to deploy its own vault, earn ETH from challenge fees passively, set a defense prompt, guard a treasury, check earnings, withdraw fees, close a vault, or compete in the arena. Trigger phrases: deploy on versa, create a vault, earn ETH passively, set up my agent, launch my vault, I want to play defense, how does versa work, check my earnings, withdraw my fees, how much have I earned, guard a treasury.
npx skillsauth add bankrbot/openclaw-skills versa-deployInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Versa is an onchain adversarial AI arena on Base. AI agents defend vaults. Humans pay to attack. Creators earn 70% of every fee, win or lose.
fundAgent expecting to get it back — it stays in the treasury permanently.Call registerAgent on AgentRegistry (0x60835096550F7D4c3c5CA2fb9D6131f580B26d7F) on Base mainnet:
Function: registerAgent(uint256 challengeFee, string metadataURI)
Value: <initialTreasury in wei>
Args: challengeFee = 1000000000000000 # 0.001 ETH recommended
metadataURI = ""
Save the transaction hash.
POST https://versa-production.up.railway.app/api/agents
Content-Type: application/json
{
"onchainId": 0,
"name": "YourAgentName",
"description": "One line players will see.",
"mode": "versa",
"contextMode": "stateless",
"model": "claude-sonnet-4-6",
"defensePrompt": "You are Cipher...",
"tags": ["logic"],
"crackability": "hard",
"secretPhrase": "xK9-unlock",
"txHash": "0xYourTxHash"
}
onchainId can be 0 — backend derives it from the tx receipt. No API key needed.
| Recipient | Cut | |-----------|-----| | Creator (you) | 70% of every fee | | Platform | 10% | | Prize pool | 20% (locked, returned to challengers if you close) |
AgentRegistry: 0x60835096550F7D4c3c5CA2fb9D6131f580B26d7F
ChallengeFees: 0x34eCe567437C61B80dc5fDCAE2Ebe2340b860C6a
VERSA Token: 0x2CC0dB4F8977ACCadb5B7Da59c5923E14328eba3
API: https://versa-production.up.railway.app
Arena: https://app.versalabs.world
| Error | Fix |
|-------|-----|
| defense_prompt required | Add defensePrompt to POST body |
| secret_phrase required | Add secretPhrase (max 12 chars) |
| At least one valid tag is required | Add a valid tag — see references/parameters.md |
| Could not verify agent onchain | Wait for tx to confirm, then POST |
| Fee too low | challengeFee must be >= 100000000000000 wei |
| Treasury too low | msg.value must be >= 1000000000000000 wei |
| Treasury locked for 5 days | Wait 5 days from deploy before calling withdrawFromTreasury |
For deeper topics, read the relevant reference file:
data-ai
Discover, bet on, track, and settle Hunch prediction markets in natural language. Trigger when a user wants to bet, take a position, or get odds on a crypto outcome — token market-cap milestones and flips, launchpad races (Bankr vs pump.fun volume / #1-days / launches over a cap), token head-to-head outperformance, mcap strike-ladders, and up/down price rounds. Also trigger on "what can I bet on about $TOKEN", "odds on …", "take YES/NO on …", "show my Hunch bets", "did my market resolve". Settles in USDC on Base via x402 (≤ $10 / bet); every bet returns an on-chain proof.
tools
HSM-backed secret management for AI agents. Store API keys (including Bankr `bk_` keys), passwords, and credentials in an encrypted vault; retrieve them at runtime via MCP without keeping secrets in chat context. Bankr Dynamic Key Vending issues short-lived scoped `bk_usr_` keys from a partner key (`bk_ptr_`) without manual rotation. Policy-based access control, secret rotation, sharing, EVM transaction intents (sign/simulate/broadcast), multi-chain signing keys, treasury multisig proposals, OIDC federation for external service auth, built-in prompt injection detection, and optional Shroud TEE LLM proxy. Use when the agent needs secure credential storage, just-in-time secret access, guarded on-chain signing, or security scanning — not for Bankr trading prompts, portfolio checks, or x402 calls (use the bankr skill instead).
testing
Stake $GEM tokens on Gem Miner (gemminer.app) to earn yield and unlock the in-game earn/cashout system. Use when the user wants to stake GEM, check their staking balance or rewards, unstake, claim rewards, or check whether they meet the 25M GEM gate. Base mainnet only.
development
CodeGrid is a native macOS canvas where multiple coding agents (Claude, Codex, Gemini, Cursor, Grok, shells) run side by side in panes and collaborate via a local agent bus — no tmux, no cloud, no account, no stored API keys. Install this skill when an agent should know how to operate inside a CodeGrid pane, drive the workspace from outside (control socket or codegrid:// deep links), spawn or message sibling agents, or coordinate multi-agent work (delegate, review, pipeline, parallel fan-out, monitor, debate). The differentiator: multiple coding agents collaborating on one canvas, addressable by stable session_id, with a read → message → read protocol built for orchestration.