Http Clientのロゴ

Http Client

組織
openbotx
http-client

Make HTTP requests (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS) to APIs and web services. Use when the user needs to call a REST API, fetch data from an endpoint, send form data, upload files, download files, or test HTTP services.

概要

公開者openbotx
リポジトリopenbotx
スキル名http-client
スター
95
フォーク
25
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

HTTP Client

Use the http_client tool to make HTTP requests directly without needing curl or external binaries.

Tool: http_client

Parameters

ParameterTypeRequiredDescription
methodstringYesGET, POST, PUT, DELETE, PATCH, HEAD, or OPTIONS
urlstringYesRequest URL
headersobjectNoHTTP headers as key-value pairs
bodystringNoRequest body
content_typestringNoBody content type: json (default), form, text, or xml
authstringNoAuth profile name for authenticated requests (configured in config)
timeoutintegerNoTimeout in seconds (default: 30)
follow_redirectsbooleanNoFollow redirects (default: true)
download_pathstringNoSave response body to this file path
upload_filestringNoPath to file to upload as multipart form data
upload_fieldstringNoForm field name for uploaded file (default: file)

Basic GET

http_client(method="GET", url="https://api.example.com/users")

GET with query parameters

http_client(method="GET", url="https://api.example.com/users?page=2&limit=10")

GET with custom headers

http_client(method="GET", url="https://api.example.com/users", headers={"Accept": "application/json", "X-Custom-Header": "value"})

POST with JSON body

http_client(method="POST", url="https://api.example.com/users", body="{\"name\": \"Alice\", \"email\": \"alice@example.com\"}")

The content_type defaults to json, which sets Content-Type: application/json automatically.

POST with form-encoded body

http_client(method="POST", url="https://api.example.com/login", content_type="form", body="username=alice&password=secret")

POST with XML body

http_client(method="POST", url="https://api.example.com/soap", content_type="xml", body="<request><action>query</action></request>")

PUT (full update)

http_client(method="PUT", url="https://api.example.com/users/42", body="{\"name\": \"Alice Updated\", \"email\": \"alice@example.com\"}")

PATCH (partial update)

http_client(method="PATCH", url="https://api.example.com/users/42", body="{\"name\": \"Alice Updated\"}")

DELETE

http_client(method="DELETE", url="https://api.example.com/users/42")

HEAD (check resource existence)

http_client(method="HEAD", url="https://api.example.com/users/42")

OPTIONS (check allowed methods)

http_client(method="OPTIONS", url="https://api.example.com/users")

Authentication

Auth profiles (recommended)

Use the auth parameter with a configured profile name. Auth profiles support OAuth 1.0a, Basic, and Bearer authentication automatically:

http_client(method="POST", url="https://api.twitter.com/2/tweets", auth="twitter", body="{\"text\": \"Hello!\"}")
http_client(method="GET", url="https://api.example.com/data", auth="my_api")

Manual headers

You can also pass auth headers manually:

http_client(method="GET", url="https://api.example.com/me", headers={"Authorization": "Bearer eyJhbGciOi..."})
http_client(method="GET", url="https://api.example.com/me", headers={"Authorization": "Basic dXNlcjpwYXNz"})
http_client(method="GET", url="https://api.example.com/data", headers={"X-API-Key": "your-api-key"})

Download

Save a response directly to a file using download_path. Use the absolute paths from your system prompt:

http_client(method="GET", url="https://example.com/report.pdf", download_path="/path/to/workspace/reports/report.pdf")

Download an image to the public media directory:

http_client(method="GET", url="https://example.com/photo.jpg", download_path="/path/to/public/media/photo.jpg")

Returns: {"status": 200, "path": "/absolute/path/to/file", "size": 12345, "content_type": "application/pdf"}

Upload

Upload a file as multipart form data using upload_file:

http_client(method="POST", url="https://api.example.com/upload", upload_file="reports/data.csv")

Custom field name (default is "file"):

http_client(method="POST", url="https://api.example.com/upload", upload_file="images/logo.png", upload_field="image")

Upload with extra form fields (pass as JSON in body):

http_client(method="POST", url="https://api.example.com/upload", upload_file="doc.pdf", body="{\"description\": \"Monthly report\"}")

Upload with auth:

http_client(method="POST", url="https://api.example.com/upload", upload_file="data.csv", headers={"Authorization": "Bearer token123"})

Advanced Options

Custom timeout

http_client(method="GET", url="https://slow-api.example.com/data", timeout=120)

Disable redirect following

http_client(method="GET", url="https://example.com/redirect", follow_redirects=false)

Tips

  • The response includes status, headers, body, and truncated fields.
  • Response bodies larger than 50,000 characters are truncated.
  • For APIs that return JSON, parse the response body as needed.
  • The content_type parameter sets the Content-Type header automatically: json → application/json, form → application/x-www-form-urlencoded, text → text/plain, xml → application/xml.
  • Use GET for reads, POST for creates, PUT for full replacements, PATCH for partial updates, DELETE for removals, HEAD for existence checks, OPTIONS for CORS/capability checks.
  • Use download_path for binary files (images, PDFs, audio) — avoids encoding issues.
  • Use upload_file for multipart uploads — auto-detects MIME type from file extension.

よくある質問

AIスキル「Http Client」では何ができますか?

Make HTTP requests (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS) to APIs and web services. Use when the user needs to call a REST API, fetch data from an endpoint, send form data, upload files, download files, or test HTTP services.

TypingMindでHttp Clientを使うメリットは何ですか?

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

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

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

Http Clientを使えるAIモデルはどれですか?

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

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

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

AIスキル「Http Client」は無料ですか?

はい。openbotxがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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