Iblai Api Agent Datasetのロゴ

Iblai Api Agent Dataset

組織
iblai
iblai-api-agent-dataset

Manage an ibl.ai agent's training datasets (RAG) via the platform API — list training docs, add resources (file, URL, YouTube, Blackboard, website crawl, GitHub), train/untrain, set visibility and retrain schedule, and delete. Use when feeding an agent knowledge.

概要

公開者iblai
リポジトリvibe
スキル名iblai-api-agent-dataset
スター
229
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

iblai-api-agent-dataset

Manage an agent's training datasets (RAG) through the API: list an agent's training documents, add new resources to its knowledge base, train / untrain and set visibility, configure a retrain schedule, and delete datasets. Use when feeding an agent knowledge.

Auth & conventions

  • Base URL: https://api.iblai.app
  • Header: Authorization: Api-Token $IBLAI_API_KEY on every request.
  • Path vars: {org} = $IBLAI_ORG, {username} = $IBLAI_USERNAME, {mentor} = the agent's unique id (e.g. d17dc729-60fd-4363-81a0-f67d9318b03e), used here as the pathway.
  • Host: these endpoints live under …/dm/api/ai-index/….
  • Not connected yet? Run /iblai-api-login first to populate IBLAI_ORG, IBLAI_USERNAME, and IBLAI_API_KEY.

Reads

  • GET https://api.iblai.app/dm/api/ai-index/orgs/{org}/users/{username}/documents/pathways/{mentor}/?limit=5&offset={n}&search={q} — list training docs. Poll this every 2s while any document is pending. Each row names who trained it with username, user_email and user_full_name; the last two are null when the stored username matches no user (a service-account upload, or a deleted user).
  • GET https://api.iblai.app/dm/api/ai-index/orgs/{org}/users/{username}/documents/{document_id}/settings/ — retrain schedule.
  • GET https://api.github.com/repos/{owner}/{repo}/branches — list GitHub branches for a repo resource (external, no auth).

Writes

  • POST https://api.iblai.app/dm/api/ai-index/orgs/{org}/users/{username}/documents/train/ — add a training resource (multipart/form-data); type varies:
    • File:
      json
      {
        "file": "File (required)",
        "pathway": "{mentor}",
        "type": "file|<ext>",
        "user_image_description": "string"
      }
    • URL / YouTube / Blackboard:
      json
      {
        "type": "url|youtube|blackboard",
        "pathway": "{mentor}",
        "url": "string (required)"
      }
    • Website crawl:
      json
      {
        "type": "webcrawler",
        "pathway": "{mentor}",
        "url": "string",
        "crawler_max_depth": "number",
        "crawler_max_pages_limit": "number",
        "crawler_match_patterns": "string[]",
        "crawler_pattern_type": "glob|regex"
      }
    • GitHub:
      json
      {
        "url": "repo url",
        "branch": "string",
        "pathway": "{mentor}",
        "type": "github"
      }
    • custom_metadata (optional, works with every type above) — a flat JSON object of tags stored on the document, later usable as a hard retrieval filter at chat time via document_filter (see /iblai-api-agent-session). Send it as a nested object on a JSON body, or — because train/ is multipart/form-data — as a JSON-encoded string form field:
      json
      { "custom_metadata": { "stateCode": "CA", "productGroup": "LICENSING", "year": 2026 } }
      Rules (rejected with a validation error otherwise): keys must be flat and alphanumeric/underscore (^\w+$, no __); values must be scalars (string, number, or boolean) — no nested objects, arrays, or null. Stored on the document as metadata.custom_metadata and echoed back by the list endpoint above. Leave a tag off documents that should be exempt from a filter on that key — a document_filter only excludes documents that carry the key with a different value, so untagged/generic material always survives (see /iblai-api-agent-session ## Schema).
  • PUT https://api.iblai.app/dm/api/ai-index/orgs/{org}/users/{username}/documents/{document_id}/ — train / untrain + visibility (+ retag):
    json
    {
      "pathway": "{mentor}",
      "url": "string",
      "train": "boolean",
      "access": "public|private",
      "crawler_extra_headers": { "User-Agent": "string (optional, web crawls)" },
      "custom_metadata": { "stateCode": "CA" }
    }
    custom_metadata here replaces the document's stored tags (same validation as train/); omit it to leave existing tags unchanged.
  • POST https://api.iblai.app/dm/api/ai-index/orgs/{org}/users/{username}/documents/{document_id}/settings/ — set retrain schedule:
    json
    {
      "retrain_interval_days": "number (required)"
    }
    Only re-fetchable documents (URL, YouTube, GitHub, web crawl) retrain; uploaded files and cloud-drive documents do not.
  • DELETE https://api.iblai.app/dm/api/ai-index/orgs/{org}/users/{username}/documents/{document_id}/ — delete a dataset. Destructive — confirm with the user first.

Example

Add a YouTube video to an agent's knowledge base:

bash
curl -X POST \
  "https://api.iblai.app/dm/api/ai-index/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/documents/train/" \
  -H "Authorization: Api-Token $IBLAI_API_KEY" \
  -F "type=youtube" \
  -F "pathway=$MENTOR" \
  -F "url=https://www.youtube.com/watch?v=dQw4w9WgXcQ"

Upload a file tagged with custom_metadata (JSON-encoded string in the form field), so a chat turn can later scope retrieval to it with document_filter: {"stateCode":"CA"}:

bash
curl -X POST \
  "https://api.iblai.app/dm/api/ai-index/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/documents/train/" \
  -H "Authorization: Api-Token $IBLAI_API_KEY" \
  -F "type=file" \
  -F "pathway=$MENTOR" \
  -F "file=@ca-insurance-explainer.pdf" \
  -F 'custom_metadata={"stateCode":"CA","productGroup":"LICENSING"}'

Notes

  • The list endpoint should be polled every 2s while any document is pending so newly added resources flip to trained as soon as processing finishes.
  • pathway is the agent's {mentor} unique id on every train/PUT call.
  • For GitHub resources, fetch the branch list from the unauthenticated api.github.com/repos/{owner}/{repo}/branches endpoint to populate branch.
  • Deletion is destructive — confirm with the user first.
  • Verified against the live schema (4.411.0) on 2026-10-02: every document path is scoped by orgs/{org}/users/{username}/; the older …/ai-index/documents/{document_id}/ form does not exist.

よくある質問

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

Manage an ibl.ai agent's training datasets (RAG) via the platform API — list training docs, add resources (file, URL, YouTube, Blackboard, website crawl, GitHub), train/untrain, set visibility and retrain schedule, and delete. Use when feeding an agent knowledge.

TypingMindでIblai Api Agent Datasetを使うメリットは何ですか?

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

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

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

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

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

Iblai Api Agent Datasetで使えるAIモデルの数に制限はありますか?

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

AIスキル「Iblai Api Agent Dataset」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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