Api Integrationのロゴ

Api Integration

組織
ShurikenTrade
api-integration

Use when a user wants to integrate with or develop against the Shuriken API or SDK — covers proficiency assessment, path routing (quickstart / raw API / SDK), and tells you which deepening reference tool to reach for (OpenAPI for HTTP endpoints, the stream catalog for WebSockets, platform docs as fallback).

概要

公開者ShurikenTrade
リポジトリshuriken-skills
スキル名api-integration
スター
90
フォーク
6
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Integrating and building with Shuriken

This skill covers the full "I want to call Shuriken programmatically" surface. It is intentionally thin up front — use the deepening tools below rather than pasting long code into the session.

Phase 1 — orient before writing anything

Before pointing the user at code, establish two things:

1. Technical proficiency

  • Absolute beginner. New to programming, or scripting at the level of "I can run a CLI if someone tells me exactly what to type." Needs hand-holding, copy-pasteable examples, environment setup spelled out.
  • Intermediate / power user. Comfortable with a terminal, editing configs, running scripts. Will follow a README but gets stuck on non-obvious toolchain setup.
  • Software engineer. Fluent in at least one language, reads types and API surfaces, skims READMEs and dives into code. Wants reference material, not prose.

Calibrate vocabulary and level of detail to this. If ambiguous, ask one clarifying question before firing off a long answer.

2. Integration path

Three ways to call Shuriken. Help the user pick.

Rough default: quickstart for beginners/intermediates, SDK for software engineers, raw HTTP only when they've said why.

3. Agent key

Every integration needs an agent key. See shuriken:agent-keys for lifecycle and shuriken:scoping for least-privilege scope selection. Point the user at app.shuriken.trade/agents to create one.

Phase 2 — deepen only when the question demands it

Do not preload the entire API reference into the conversation. Pull deeper references only when the user's next question needs them:

  • HTTP endpoint questions ("what fields does /v1/foo return", "is there an endpoint for X", schema/signature questions) → call fetch_shuriken_openapi. This returns the live OpenAPI spec — the source of truth for HTTP endpoints.
  • WebSocket / streaming questions ("what streams exist", "how do I subscribe to X", "what filters does this channel take") → call fetch_shuriken_streams. This returns the live v1 stream catalog with channel names, required filters, and payload formats.
  • Anything not answered by the two above (guides, conceptual overviews of how a feature works, SDK-specific how-tos) → fall back to fetch_shuriken_docs and read the relevant page under llms.txt.

Never guess an endpoint or stream name from memory — the API evolves.

Best practices

  • Use agent keys, not raw session tokens. See shuriken:agent-keys.
  • Request only the scopes you need. See shuriken:scoping.
  • Honour rate limits. Back off on 429; the response headers tell you the retry window.
  • Don't poll when you can subscribe. For live data, use the streams over repeated REST polls. Consult the stream catalog first.
  • Branch on structured error codes, not message text. The API returns machine-readable error codes — see the OpenAPI spec for the taxonomy.

When to ask clarifying questions

Before writing code, confirm:

  • Technical proficiency level (see above).
  • Which chain(s) the user is integrating against (Solana, EVM L1s, Base, BSC, Monad — support matrix varies).
  • Deployment shape (one-off script, long-running service, serverless function).
  • Integration path (quickstart / SDK / raw).

Pointers

よくある質問

AIスキル「Api Integration」では何ができますか?

Use when a user wants to integrate with or develop against the Shuriken API or SDK — covers proficiency assessment, path routing (quickstart / raw API / SDK), and tells you which deepening reference tool to reach for (OpenAPI for HTTP endpoints, the stream catalog for WebSockets, platform docs as fallback).

TypingMindでApi Integrationを使うメリットは何ですか?

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

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

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

Api Integrationを使えるAIモデルはどれですか?

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

Api Integrationは何個のAIモデルで使えますか?

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

AIスキル「Api Integration」は無料ですか?

はい。ShurikenTradeがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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