← Back to Skills Marketplace
rollhub-dev

Gambling

by rollhub-dev · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
508
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gambling
Description
Play casino games (dice, coinflip, roulette) on Agent Casino with real cryptocurrency. Provably fair gambling API for AI agents. Use when the user wants to g...
README (SKILL.md)

Agent Casino

Play provably fair casino games with real cryptocurrency via Agent Casino.

API Base

https://agent.rollhub.com/api/v1

Setup

1. Register

curl -X POST https://agent.rollhub.com/api/v1/register \
  -H "Content-Type: application/json" \
  -d '{"wallet_address": "your-wallet", "name": "my-agent", "ref": "ref_27fcab61"}'

Save the returned api_key (format: rh_sk_...). All requests need header: X-API-Key: \x3Ckey>

2. Deposit

curl -X POST https://agent.rollhub.com/api/v1/deposit \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"currency": "SOL", "chain": "SOL"}'

Returns a deposit address. Send crypto there. Balance auto-credits.

3. Check Balance

curl https://agent.rollhub.com/api/v1/balance -H "X-API-Key: YOUR_KEY"

Returns {"balance_usd": 1000, "currency": "USD_CENTS"}. All amounts in cents.

Games

Dice (99% RTP, 1% house edge)

curl -X POST https://agent.rollhub.com/api/v1/dice \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"amount": 100, "target": 0.5, "direction": "over", "client_secret": "hex-32-to-64-chars"}'
  • amount: bet in cents
  • target: 0.01-0.99 threshold
  • direction: "over" or "under"
  • client_secret: your hex string (32-64 chars) for provably fair

Coinflip (99% RTP, 1% house edge)

curl -X POST https://agent.rollhub.com/api/v1/coinflip/bet \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"amount": 100, "side": "heads", "client_seed": "hex-32-to-64-chars"}'

Roulette (97.3% RTP, 2.7% house edge)

European roulette, 37 numbers (0-36).

curl -X POST https://agent.rollhub.com/api/v1/roulette/bet \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"amount": 100, "bet_type": "red", "bet_value": "red", "client_seed": "hex-32-to-64-chars"}'

Bet types and payouts:

Type bet_value Payout
straight 0-36 35:1
split [n1,n2] adjacent 17:1
street first of row (1,4,7...) 11:1
corner [n1,n2,n3,n4] 8:1
six_line first of double row 5:1
dozen 1, 2, or 3 2:1
column 1, 2, or 3 2:1
red/black "red"/"black" 1:1
odd/even "odd"/"even" 1:1
high/low "high"/"low" 1:1

Verify Any Bet

Every bet is cryptographically verifiable:

curl https://agent.rollhub.com/api/v1/verify/\x3Cbet_id> -H "X-API-Key: YOUR_KEY"

Returns verified: true/false with full proof (server_seed, client_seed, nonce).

Withdraw

curl -X POST https://agent.rollhub.com/api/v1/withdraw \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"amount": 500, "currency": "SOL", "chain": "SOL", "address": "your-wallet"}'

Affiliate Program

Earn 30% of house edge (0.3% of bet volume) on referred agents. Your referral code is returned at registration. Share https://agent.rollhub.com/?ref=YOUR_CODE.

Check earnings:

curl https://agent.rollhub.com/api/v1/affiliate/stats -H "X-API-Key: YOUR_KEY"
Usage Guidance
This skill interfaces with a real-money crypto casino. Before installing: 1) Verify the operator (agent.rollhub.com) independently — the skill listing has no homepage and unknown source/publisher. 2) Do not give your API key to untrusted skills; the skill metadata fails to declare how the key should be stored. 3) Consider disabling autonomous invocation or restricting the skill so it cannot place bets without explicit user confirmation — an agent with the API key could gamble funds automatically. 4) Test flows with very small deposits first and confirm withdraw/verification behavior. 5) If you proceed, ensure the API key is stored securely (use platform-managed secrets if available) and review terms/affiliate implications. If you want, I can suggest safe guard settings or a checklist to reduce risk before enabling this skill.
Capability Analysis
Type: OpenClaw Skill Name: gambling Version: 1.0.0 The skill is classified as suspicious due to its inherent high financial risk, as it enables an AI agent to gamble with real cryptocurrency, including deposits and withdrawals to arbitrary wallet addresses. While this aligns with its stated purpose, it presents a significant attack surface for prompt injection leading to financial loss. Additionally, the `SKILL.md` file includes a hardcoded affiliate ID (`ref_27fcab61`) in the registration command, indicating the skill developer benefits from agents using this skill, which is a self-serving mechanism.
Capability Assessment
Purpose & Capability
The SKILL.md describes playing provably-fair crypto casino games via agent.rollhub.com (register, deposit, bet, verify, withdraw, affiliate). The declared purpose aligns with the runtime instructions and required network calls.
Instruction Scope
Instructions are narrowly scoped to the Agent Casino API (agent.rollhub.com). They do not instruct reading local files, other env vars, or sending data to unrelated endpoints. All API endpoints and payload fields are described explicitly.
Install Mechanism
This is an instruction-only skill with no install spec and no code files; nothing is written to disk by the skill package itself.
Credentials
The SKILL.md requires an API key (rh_sk_...) and client_secret/client_seed values for provable fairness, but the skill metadata declares no required environment variables or a primary credential. That mismatch means there is no declared, managed way for the agent platform to store or protect the API key—this is a missing/undeclared secret requirement that matters because the API key grants control over real funds.
Persistence & Privilege
always is false (good) but model-invocation is enabled (default), meaning the agent could autonomously call the API and place bets if it obtains an API key. With real-money gambling, autonomous invocation increases risk; the skill does not request system-wide persistence or modify other skills.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gambling
  3. After installation, invoke the skill by name or use /gambling
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of Agent Casino skill for playing provably fair casino games (dice, coinflip, roulette) with real cryptocurrency. - Supports deposits and withdrawals across 70+ crypto chains. - Provides full API references for registration, betting, balance checking, verification, and withdrawals. - Includes an affiliate program with referral and earnings tracking.
Metadata
Slug gambling
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Gambling?

Play casino games (dice, coinflip, roulette) on Agent Casino with real cryptocurrency. Provably fair gambling API for AI agents. Use when the user wants to g... It is an AI Agent Skill for Claude Code / OpenClaw, with 508 downloads so far.

How do I install Gambling?

Run "/install gambling" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gambling free?

Yes, Gambling is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Gambling support?

Gambling is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gambling?

It is built and maintained by rollhub-dev (@rollhub-dev); the current version is v1.0.0.

💬 Comments