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.
npx agentmods add skills/iblai/api/iblai-api-agent-datasetnpx skills add iblai/api --skill iblai-api-agent-datasetgit clone --depth 1 https://github.com/iblai/apiWrote 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.
[](https://agentmods.dev/skills/iblai/api/iblai-api-agent-dataset)<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>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.
| Model | Per session | Once 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 |
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 \ 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_KEYon 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 thepathway. - Host: these endpoints live under
…/dm/api/ai-index/…. - Not connected yet? Run
/iblai-api-loginfirst to populateIBLAI_ORG,IBLAI_USERNAME, andIBLAI_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 ispending. - 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);typevaries:- 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 everytypeabove) — a flat JSON object of tags stored on the document, later usable as a hard retrieval filter at chat time viadocument_filter(see/iblai-api-agent-session). Send it as a nested object on a JSON body, or — becausetrain/ismultipart/form-data— as a JSON-encoded string form field:
Rules (rejected with a validation error otherwise): keys must be flat and alphanumeric/underscore ({ "custom_metadata": { "stateCode": "CA", "productGroup": "LICENSING", "year": 2026 } }^\w+$, no__); values must be scalars (string, number, or boolean) — no nested objects, arrays, ornull. Stored on the document asmetadata.custom_metadataand echoed back by the list endpoint above. Leave a tag off documents that should be exempt from a filter on that key — adocument_filteronly excludes documents that carry the key with a different value, so untagged/generic material always survives (see/iblai-api-agent-session ## Schema).
- File:
- 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_metadatahere replaces the document's stored tags (same validation astrain/); 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.
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.
- yesterday Changed · +31 lines 086940399eeb
- 5d ago First seen · 109 lines · 68 tokens per session scan A f7778011929d
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.
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.
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.
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'.
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…
sqlite-vec-skilld
ALWAYS use when writing code importing "sqlite-vec". Consult for debugging, best practices, or modifying sqlite-vec, sqlite vec.
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…