jpskill.com
🛠️ 開発・MCP コミュニティ 🔴 エンジニア向け 👤 エンジニア・AI開発者

🛠️ Moralis Openapi Skill

moralis-openapi-skill

MoralisのEVMウォレットからトークンの残

⏱ コードレビュー 1時間 → 10分
📜 元の英語説明(参考)

Operate Moralis EVM wallet and token reads through UXC with a curated OpenAPI schema, API-key auth, and wallet-intelligence guardrails.

🇯🇵 日本人クリエイター向け解説

一言でいうと

MoralisのEVMウォレットからトークンの残

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o moralis-openapi-skill.zip https://jpskill.com/download/5076.zip && unzip -o moralis-openapi-skill.zip && rm moralis-openapi-skill.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/5076.zip -OutFile "$d\moralis-openapi-skill.zip"; Expand-Archive "$d\moralis-openapi-skill.zip" -DestinationPath $d -Force; ri "$d\moralis-openapi-skill.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して moralis-openapi-skill.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → moralis-openapi-skill フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-18
同梱ファイル
4

💬 こう話しかけるだけ — サンプルプロンプト

  • Moralis Openapi Skill を使って、最小構成のサンプルコードを示して
  • Moralis Openapi Skill の主な使い方と注意点を教えて
  • Moralis Openapi Skill を既存プロジェクトに組み込む方法を教えて

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Moralis Web3 Data API Skill

このスキルは、uxc + OpenAPI を介して Moralis EVM データ操作を実行するために使用します。

共有の実行、認証、エラー処理のガイダンスには、uxc スキルを再利用してください。

前提条件

  • uxc がインストールされており、PATH で利用可能です。
  • https://deep-index.moralis.io/api/v2.2 へのネットワークアクセス。
  • キュレーションされた OpenAPI スキーマ URL へのアクセス:
    • https://raw.githubusercontent.com/holon-run/uxc/main/skills/moralis-openapi-skill/references/moralis-evm.openapi.json
  • Moralis API キー。

スコープ

このスキルは、読み取り優先のウォレットインテリジェンスの領域をカバーしています。

  • ネイティブ残高の検索
  • ウォレットトークン残高
  • ウォレット履歴
  • ウォレットスワップ
  • ウォレットの純資産
  • ERC-20 メタデータの検索
  • ERC-20 トークン価格の検索

このスキルは、以下をカバーしません

  • 書き込みまたはトランザクション送信フロー
  • Solana、Streams、または NFT 固有の領域
  • Moralis API の全機能

認証

Moralis は X-API-Key ヘッダー認証を使用します。

1つの API キー認証情報を設定し、deep-index.moralis.io/api/v2.2 にバインドしてください。

uxc auth credential set moralis \
  --auth-type api_key \
  --api-key-header X-API-Key \
  --secret-env MORALIS_API_KEY

uxc auth binding add \
  --id moralis \
  --host deep-index.moralis.io \
  --path-prefix /api/v2.2 \
  --scheme https \
  --credential moralis \
  --priority 100

認証が正しくないように見える場合は、アクティブなマッピングを検証してください。

uxc auth binding match https://deep-index.moralis.io/api/v2.2

コアワークフロー

  1. デフォルトで固定リンクコマンドを使用します。

    • command -v moralis-openapi-cli
    • 存在しない場合は、作成します。 uxc link moralis-openapi-cli https://deep-index.moralis.io/api/v2.2 --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/moralis-openapi-skill/references/moralis-evm.openapi.json
    • moralis-openapi-cli -h
  2. まず操作スキーマを検査します。

    • moralis-openapi-cli get:/{address}/balance -h
    • moralis-openapi-cli get:/wallets/{address}/tokens -h
    • moralis-openapi-cli get:/erc20/{address}/price -h
  3. 広範なウォレットスキャンよりも、狭い範囲の読み取りを優先します。

    • moralis-openapi-cli get:/{address}/balance address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 chain=eth
    • moralis-openapi-cli get:/erc20/{address}/price address=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 chain=eth
    • moralis-openapi-cli get:/wallets/{address}/net-worth address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 chain=eth
  4. キー/値パラメータで実行します。

    • moralis-openapi-cli get:/wallets/{address}/tokens address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 chain=eth
    • moralis-openapi-cli get:/wallets/{address}/history address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 chain=eth limit=20

操作グループ

ウォレットの読み取り

  • get:/{address}/balance
  • get:/wallets/{address}/tokens
  • get:/wallets/{address}/history
  • get:/wallets/{address}/swaps
  • get:/wallets/{address}/net-worth

トークンの読み取り

  • get:/erc20/metadata
  • get:/erc20/{address}/price

ガードレール

  • 自動化は JSON 出力エンベロープに限定し、--text は使用しないでください。
  • まず安定したフィールドを解析してください: okkindprotocoldataerror
  • この v1 スキルは読み取り専用として扱ってください。署名やトランザクションブロードキャストのサポートを暗示しないでください。
  • Moralis は複数のチェーンをサポートしています。Ethereum を仮定するのではなく、常に chain を明示的に渡してください。
  • ウォレット履歴とスワップは、広い範囲ではコストが高くなる可能性があります。小さな制限と狭い時間枠から始めてください。
  • moralis-openapi-cli <operation> ...uxc https://deep-index.moralis.io/api/v2.2 --schema-url <moralis_openapi_schema> <operation> ... と同等です。

参照

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Moralis Web3 Data API Skill

Use this skill to run Moralis EVM data operations through uxc + OpenAPI.

Reuse the uxc skill for shared execution, auth, and error-handling guidance.

Prerequisites

  • uxc is installed and available in PATH.
  • Network access to https://deep-index.moralis.io/api/v2.2.
  • Access to the curated OpenAPI schema URL:
    • https://raw.githubusercontent.com/holon-run/uxc/main/skills/moralis-openapi-skill/references/moralis-evm.openapi.json
  • A Moralis API key.

Scope

This skill covers a read-first wallet intelligence surface:

  • native balance lookup
  • wallet token balances
  • wallet history
  • wallet swaps
  • wallet net worth
  • ERC-20 metadata lookup
  • ERC-20 token price lookup

This skill does not cover:

  • write or transaction submission flows
  • Solana, Streams, or NFT-specific surfaces
  • the full Moralis API

Authentication

Moralis uses X-API-Key header auth.

Configure one API-key credential and bind it to deep-index.moralis.io/api/v2.2:

uxc auth credential set moralis \
  --auth-type api_key \
  --api-key-header X-API-Key \
  --secret-env MORALIS_API_KEY

uxc auth binding add \
  --id moralis \
  --host deep-index.moralis.io \
  --path-prefix /api/v2.2 \
  --scheme https \
  --credential moralis \
  --priority 100

Validate the active mapping when auth looks wrong:

uxc auth binding match https://deep-index.moralis.io/api/v2.2

Core Workflow

  1. Use the fixed link command by default:

    • command -v moralis-openapi-cli
    • If missing, create it: uxc link moralis-openapi-cli https://deep-index.moralis.io/api/v2.2 --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/moralis-openapi-skill/references/moralis-evm.openapi.json
    • moralis-openapi-cli -h
  2. Inspect operation schema first:

    • moralis-openapi-cli get:/{address}/balance -h
    • moralis-openapi-cli get:/wallets/{address}/tokens -h
    • moralis-openapi-cli get:/erc20/{address}/price -h
  3. Prefer narrow reads before broader wallet scans:

    • moralis-openapi-cli get:/{address}/balance address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 chain=eth
    • moralis-openapi-cli get:/erc20/{address}/price address=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 chain=eth
    • moralis-openapi-cli get:/wallets/{address}/net-worth address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 chain=eth
  4. Execute with key/value parameters:

    • moralis-openapi-cli get:/wallets/{address}/tokens address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 chain=eth
    • moralis-openapi-cli get:/wallets/{address}/history address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 chain=eth limit=20

Operation Groups

Wallet Reads

  • get:/{address}/balance
  • get:/wallets/{address}/tokens
  • get:/wallets/{address}/history
  • get:/wallets/{address}/swaps
  • get:/wallets/{address}/net-worth

Token Reads

  • get:/erc20/metadata
  • get:/erc20/{address}/price

Guardrails

  • Keep automation on the JSON output envelope; do not use --text.
  • Parse stable fields first: ok, kind, protocol, data, error.
  • Treat this v1 skill as read-only. Do not imply signing or transaction broadcast support.
  • Moralis supports multiple chains. Always pass chain explicitly instead of assuming Ethereum.
  • Wallet history and swaps can become expensive at large ranges. Start with small limits and narrow time windows.
  • moralis-openapi-cli <operation> ... is equivalent to uxc https://deep-index.moralis.io/api/v2.2 --schema-url <moralis_openapi_schema> <operation> ....

References

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。