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

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list or add files, web pages, YouTube videos, Blackboard content, website crawls, or GitHub resources, then control their training and visibility.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iblai/api/iblai-api-agent-dataset
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for iblai-api-agent-dataset

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 9 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 26
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 27
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 32
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 86
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 98
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 104
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 112
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 124
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 28
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.1 $0.00068 $0.01596
Opus 5.5 $0.00027 $0.00638
Sonnet 5.5 $0.00014 $0.00319
Haiku 4.5 $0.00007 $0.00160

Measured 2mo ago against content hash 086940399eeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo ago.

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. 2mo ago Changed · +31 lines 086940399eeb
  2. 3mo 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 2mo ago), licensed MIT. It adds 68 tokens to every session and 1,596 once invoked, about $0.0003 per session on Opus 5.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

iblai-api-agent-dataset compared with skills from other repositories

iblai-api-agent-dataset next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
iblai-api-agent-datasetiblai/apiSkill152mo agoMITA68Claude Code, Codex
agent-platform-rag-engine-managementrootcastleco/rei-skillsSkill11yesterdaynoneA80Claude Code, Codex
azure-ai-contentunderstanding-pyrootcastleco/rei-skillsSkill11yesterdaynoneA65Claude Code, Codex
ai-engineerrootcastleco/rei-skillsSkill11yesterdaynoneA36Claude Code, Codex
ai-productrootcastleco/rei-skillsSkill11yesterdaynoneA43Claude Code, Codex
9router-embeddingsdecolua/9routerSkill33k8d agoMITA66Claude Code, Codex
mongodb-search-and-aifcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A210Claude Code