iblai-api-agent-dataset

iblai-api-agent-dataset is a skill for Claude Code, Codex from iblai/api. It costs 68 tokens per session (1,596 once invoked), scanned A, original, MIT.

A tool for managing the documents an ibl.ai agent uses as its knowledge base. These documents support retrieval-augmented generation, where the agent looks up relevant material while answering instead of relying only on its model training.

In plain words
What is it for?
Use it to list or add files, web pages, YouTube videos, Blackboard content, website crawls, or GitHub resources, then control their training and visibility.
Why use it?
It provides the API operations needed to add, train, untrain, schedule retraining, and remove an agent's knowledge sources. This keeps an agent's reference material manageable as it changes.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/iblai/api/iblai-api-agent-dataset
Any agent
npx skills add iblai/api --skill iblai-api-agent-dataset
Clone the repo
git clone --depth 1 https://github.com/iblai/api

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for iblai-api-agent-dataset

README.md
[![agentmods](https://agentmods.dev/badge/skills/iblai/api/iblai-api-agent-dataset.svg)](https://agentmods.dev/skills/iblai/api/iblai-api-agent-dataset)
Your own site
<a href="https://agentmods.dev/skills/iblai/api/iblai-api-agent-dataset"><img src="https://agentmods.dev/badge/skills/iblai/api/iblai-api-agent-dataset.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,596 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00068 $0.01596
Opus 5 $0.00034 $0.00798
Sonnet 5 $0.00014 $0.00319
Haiku 4.5 $0.00007 $0.00160

Measured yesterday against content hash 086940399eeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

iblai-api-agent-dataset scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST \
skills/iblai-api-agent-dataset/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.
  • GET https://api.iblai.app/dm/api/ai-index/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:
      {
        "file": "File (required)",
        "pathway": "{mentor}",
        "type": "file|<ext>",
        "user_image_description": "string"
      }
      
    • URL / YouTube / Blackboard:
      {
        "type": "url|youtube|blackboard",
        "pathway": "{mentor}",
        "url": "string (required)"
      }
      
    • Website crawl:
      {
        "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:
      {
        "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:
      { "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/documents/{document_id}/train / untrain + visibility (+ retag):
    {
      "pathway": "{mentor}",
      "url": "string",
      "train": "boolean",
      "access": "public|private",
      "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/documents/{document_id}/settings/set retrain schedule:
    {
      "retrain_interval_days": "number (required)"
    }
    
  • DELETE https://api.iblai.app/dm/api/ai-index/documents/{document_id}/ — delete a dataset. Destructive — confirm with the user first.

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +31 lines 086940399eeb
  2. 5d ago First seen · 109 lines · 68 tokens per session scan A f7778011929d

Subscribe to this mod's changes

iblai-api-agent-dataset is a skill published in the GitHub repository iblai/api (15 stars, last pushed 3d ago), licensed MIT. It adds 68 tokens to every session and 1,596 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

9router-embeddings

Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

decolua/9router · 66 tokens

llm-application-dev

Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.

MoizIbnYousaf/Ai-Agent-Skills · 40 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

mongodb-search-and-ai

Guides MongoDB users through implementing and optimizing Atlas Search (full-text), Vector Search (semantic), and Hybrid Search solutions. Use this skill when users need to build search functionality for text-based queries (autocomplete, fuzzy matching, faceted search), semantic similarity (embeddings, RAG…

fcakyon/claude-codex-settings · 132 tokens

sqlite-vec-skilld

ALWAYS use when writing code importing "sqlite-vec". Consult for debugging, best practices, or modifying sqlite-vec, sqlite vec.

skilld-dev/skilld · 35 tokens

801-regulations-eu-ai-act

Use when reviewing, designing, or modifying Java enterprise systems that use AI, LLMs, AI agents, RAG, tool calling, workflow automation, or model-based decision support and need EU AI Act regulatory awareness. This should trigger for requests such as Review a Java AI system for EU AI Act controls; Design governance…

jabrena/plinth · 108 tokens