Darksol Random Oracleのロゴ

Darksol Random Oracle

組織人気
BankrBot
darksol-random-oracle

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.

概要

公開者BankrBot
リポジトリskills
スキル名darksol-random-oracle
スター
1.2K
フォーク
622
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    BankrBotがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Darksol Random Oracle」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/BankrBot/skills/tree/main/darksol-random-oracle
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/BankrBot/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/darksol-random-oracle .claude/skills/darksol-random-oracle
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDarksol Random Oracleを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDarksol Random Oracleを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Darksol Random Oracleは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

DARKSOL Random Oracle

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.

Service

  • UI: https://acp.darksol.net/oracle
  • API base: https://acp.darksol.net/oracle
  • Chain: Base 8453
  • Oracle contract: 0x4d2f471ae67b129bAda9cfC6224f0343c5C8fB5D
  • DARKSOL token: 0x00cb1fbca324d51325a7264d54072bc073c28ba3
  • x402 payment token: USDC on Base 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • x402 pay-to: 0x8f9fa2bfd50079c1767d63effbfe642216bfcb01

When To Use

Use this skill for:

  • coin flips
  • dice rolls
  • random integers
  • random sequences
  • shuffling a list
  • raffle or giveaway winner selection
  • loot tables and game outcomes
  • simulation seeds
  • casino/game mechanics that need verifiable RNG
  • agent workflows that need proof-backed randomness with a Base transaction receipt

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.

Access Model

DARKSOL Holder Free Access

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:

text
DARKSOL Oracle free access
Wallet: 0xYourAgentWallet
Chain: Base (8453)
Purpose: prove token-holder access without payment

Send the proof headers:

http
x-darksol-wallet: 0xYourAgentWallet
x-darksol-signature: 0xSignature

x402 Paid Access

Without a valid holder proof, oracle endpoints require x402 payment:

  • basic endpoints: $0.05 USDC on Base
  • premium endpoints: $0.25 USDC on Base

A normal unauthenticated request returns HTTP 402 with payment requirements. Pay using an x402-compatible client, then retry with the x402 payment header.

Endpoints

Health

http
GET https://acp.darksol.net/oracle/health

Returns health, contract, block number, pricing, and free-access details.

Random Number

http
GET https://acp.darksol.net/oracle/random/number?min=1&max=100

Params:

  • min: integer, default 1
  • max: integer, default 10

Price: $0.05 or free for eligible DARKSOL holders.

Coin Flip

http
GET https://acp.darksol.net/oracle/random/coin

Returns heads or tails.

Price: $0.05 or free for eligible DARKSOL holders.

Dice Roll

http
GET https://acp.darksol.net/oracle/random/dice?sides=20&count=3

Params:

  • sides: integer 2..1000, default 6
  • count: integer 1..100, default 2

Price: $0.05 or free for eligible DARKSOL holders.

Random Sequence

http
GET https://acp.darksol.net/oracle/random/sequence?count=6&min=1&max=49

Params:

  • count: integer 1..100, default 5
  • min: integer, default 1
  • max: integer, default 50

Price: $0.25 or free for eligible DARKSOL holders.

Shuffle

http
GET https://acp.darksol.net/oracle/random/shuffle?items=alice,bob,carol,dave

Params:

  • items: comma-separated list with at least 2 items

Price: $0.25 or free for eligible DARKSOL holders.

Response Shape

json
{
  "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.

Bankr Prompt Examples

text
Use DARKSOL Random Oracle to roll 3 d20 dice and show me the Base proof tx.
text
Use DARKSOL Random Oracle to pick a giveaway winner from alice,bob,carol,dave. Return the shuffled list and proof hash.
text
Use DARKSOL Random Oracle to generate 6 lottery numbers from 1 to 49 and include the on-chain verification link.
text
Flip a verifiable coin using DARKSOL Random Oracle.

Agent Procedure

  1. Parse the user request into one endpoint and query params.
  2. Prefer holder-free access if the user provides a wallet and signature.
  3. Otherwise use x402 USDC payment on Base.
  4. Call the endpoint.
  5. Return the result plus the proof transaction link: https://basescan.org/tx/<txHash>
  6. If the endpoint returns HTTP 402, complete the x402 payment flow and retry.
  7. If the endpoint returns HTTP 202/status pending, report the payment tx and pending oracle tx; do not pay again.

Curl Examples

bash
curl https://acp.darksol.net/oracle/health
bash
curl "https://acp.darksol.net/oracle/random/number?min=1&max=100"
bash
curl "https://acp.darksol.net/oracle/random/dice?sides=20&count=3"
bash
curl "https://acp.darksol.net/oracle/random/shuffle?items=alice,bob,carol,dave"

Safety Notes

  • Results are public and verifiable. Do not use for secrets.
  • For regulated gambling, check jurisdictional requirements before use.
  • For fairness-sensitive apps, store the returned proof tx with the application record.

Built with teeth. 🌑

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Darksol Random Oracle」では何ができますか?

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.

TypingMindでDarksol Random Oracleを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Darksol Random Oracleはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDarksol Random Oracleをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/BankrBot/skills/tree/main/darksol-random-oracleを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Darksol Random Oracleを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Darksol Random Oracleで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDarksol Random Oracleを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Darksol Random Oracle」は無料ですか?

BankrBotがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇