darksol-random-oracle/SKILL.md
Bankr-compatible skill for DARKSOL Random Oracle, an on-chain verifiable RNG API on Base. Use when an agent needs random numbers, coin flips, dice rolls, random sequences, shuffles, raffles, loot drops, games, simulations, casino mechanics, or auditable randomness. Supports DARKSOL holder free access and x402 USDC payments on Base.
npx skillsauth add bankrbot/openclaw-skills darksol-random-oracleInstall 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.
On-chain verifiable randomness for agents, games, raffles, simulations, and apps.
Bankr can use this skill when a user asks for fair random numbers, coin flips, dice rolls, shuffles, giveaway winners, loot outcomes, or any randomness that should be publicly auditable.
https://acp.darksol.net/oraclehttps://acp.darksol.net/oracle84530x4d2f471ae67b129bAda9cfC6224f0343c5C8fB5D0x00cb1fbca324d51325a7264d54072bc073c28ba30x833589fCD6eDb6E08f4c7C32D4f71b54bdA029130x8f9fa2bfd50079c1767d63effbfe642216bfcb01Use this skill for:
Do not use this skill for private key generation, wallet seed generation, passwords, cryptographic nonces, or secrets. The oracle returns public verifiable randomness, not private entropy.
If the caller controls a wallet holding at least 10,000,000 DARKSOL on Base, calls are free.
The caller signs this exact message, replacing the wallet address:
DARKSOL Oracle free access
Wallet: 0xYourAgentWallet
Chain: Base (8453)
Purpose: prove token-holder access without payment
Send the proof headers:
x-darksol-wallet: 0xYourAgentWallet
x-darksol-signature: 0xSignature
Without a valid holder proof, oracle endpoints require x402 payment:
$0.05 USDC on Base$0.25 USDC on BaseA normal unauthenticated request returns HTTP 402 with payment requirements. Pay using an x402-compatible client, then retry with the x402 payment header.
GET https://acp.darksol.net/oracle/health
Returns health, contract, block number, pricing, and free-access details.
GET https://acp.darksol.net/oracle/random/number?min=1&max=100
Params:
min: integer, default 1max: integer, default 10Price: $0.05 or free for eligible DARKSOL holders.
GET https://acp.darksol.net/oracle/random/coin
Returns heads or tails.
Price: $0.05 or free for eligible DARKSOL holders.
GET https://acp.darksol.net/oracle/random/dice?sides=20&count=3
Params:
sides: integer 2..1000, default 6count: integer 1..100, default 2Price: $0.05 or free for eligible DARKSOL holders.
GET https://acp.darksol.net/oracle/random/sequence?count=6&min=1&max=49
Params:
count: integer 1..100, default 5min: integer, default 1max: integer, default 50Price: $0.25 or free for eligible DARKSOL holders.
GET https://acp.darksol.net/oracle/random/shuffle?items=alice,bob,carol,dave
Params:
items: comma-separated list with at least 2 itemsPrice: $0.25 or free for eligible DARKSOL holders.
{
"result": 77,
"access": {
"mode": "x402_settled",
"paymentRequired": true
},
"proof": {
"txHash": "0x...",
"blockNumber": 45168397,
"contract": "0x4d2f471ae67b129bAda9cfC6224f0343c5C8fB5D",
"chain": "base",
"chainId": 8453
},
"timestamp": "2026-04-25T14:09:01.905Z"
}
Always surface the proof.txHash when reporting results to a user. That is the audit trail.
If the endpoint returns HTTP 202 with status: "pending", payment has settled but oracle confirmation exceeded the request window. Surface access.payment.transaction as the payment proof and pending.txHash as the oracle tx to check/retry shortly. Do not submit another payment just because the oracle response is pending.
Use DARKSOL Random Oracle to roll 3 d20 dice and show me the Base proof tx.
Use DARKSOL Random Oracle to pick a giveaway winner from alice,bob,carol,dave. Return the shuffled list and proof hash.
Use DARKSOL Random Oracle to generate 6 lottery numbers from 1 to 49 and include the on-chain verification link.
Flip a verifiable coin using DARKSOL Random Oracle.
https://basescan.org/tx/<txHash>curl https://acp.darksol.net/oracle/health
curl "https://acp.darksol.net/oracle/random/number?min=1&max=100"
curl "https://acp.darksol.net/oracle/random/dice?sides=20&count=3"
curl "https://acp.darksol.net/oracle/random/shuffle?items=alice,bob,carol,dave"
Built with teeth. 🌑
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. 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.
tools
Use Agent Wormhole for one-time sealed handoffs between autonomous agents, including encrypted mission briefs, scoped secrets, temporary artifacts, receipts, config drops, CLI/API usage, ECHO holder access, and Bankr x402 paid opens.