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 skills add iblai/api --skill iblai-api-inferencegit 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-inference)<a href="https://agentmods.dev/skills/iblai/api/iblai-api-inference"><img src="https://agentmods.dev/badge/skills/iblai/api/iblai-api-inference/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.
<a href="https://agentmods.dev/skills/iblai/api/iblai-api-inference"><img src="https://agentmods.dev/badge/skills/iblai/api/iblai-api-inference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 4 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 22 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 58 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 78 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 57 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.
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.1 | $0.00100 | $0.01166 |
| Opus 5.5 | $0.00040 | $0.00466 |
| Sonnet 5.5 | $0.00020 | $0.00233 |
| Haiku 4.5 | $0.00010 | $0.00117 |
Grade A, and why
iblai-api-inference 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 3mo 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 \ How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
iblai-api-inference
Call ibl.ai's OpenAI-compatible chat endpoint: identical request/response shape
to OpenAI's /v1/chat/completions, but served by your deployment and routed to
whichever provider/model you name. Use it for raw completions, streamed tokens,
or tool calls directly — no MCP server, no agent needed. To configure which model
an agent runs on use /iblai-api-agent-llm; to converse with a deployed agent
(RAG, memory, history) use /iblai-api-agent-chat.
Auth & conventions
-
Header:
Authorization: Api-Token $IBLAI_API_KEYon every request. -
Path var:
{org}=$IBLAI_ORG(no username in the path). -
Model: always
provider/modelform, e.g.openai/gpt-5,anthropic/claude-sonnet-4. A bare name is rejected400 invalid_request. -
Two hosts — streaming is async/ASGI-only:
- Non-streaming →
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/v1 - Streaming (
stream: true) →https://asgi.data.iblai.app/api/ai-mentor/orgs/{org}/v1
The sync WSGI gateway can't drive the async SSE generator, so
stream:truemust hit the ASGI host. - Non-streaming →
-
Not connected yet? Run
/iblai-api-loginfirst to populateIBLAI_ORGandIBLAI_API_KEY.
Reads
- GET
…/orgs/{org}/v1/models— OpenAI-style model list for the deployment; eachidis aprovider/modelyou can pass asmodel.
Writes
- POST
…/orgs/{org}/v1/chat/completions— run a completion (an inference call, not a state mutation;POSTper the OpenAI wire format). Standard OpenAI chat body:{ "model": "openai/gpt-5", "messages": [{ "role": "user", "content": "Hello" }], "stream": false, "tools": [], "stream_options": { "include_usage": true } }stream:truereturns Server-Sent Events (data: {chunk}…data: [DONE]); omit it (orfalse) for one JSON completion.
Examples
Non-streaming completion:
curl -X POST \
"https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/v1/chat/completions" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5","messages":[{"role":"user","content":"Say hi"}]}'
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.
- 3mo ago First seen · 94 lines · 100 tokens per session scan A 284166110390
iblai-api-inference is a skill published in the GitHub repository iblai/api (15 stars, last pushed 2mo ago), licensed MIT. It adds 100 tokens to every session and 1,166 once invoked, about $0.0004 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.
iblai-api-inference compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| iblai-api-inferenceiblai/api | Skill | 15 | 2mo ago | MIT | A | 100 | Claude Code, Codex |
| llm-cost-advisorulises-jeremias/agent-toolkit | Skill | 28 | today | MIT | A | 45 | Claude Code |
| dbt-validationulises-jeremias/agent-toolkit | Skill | 28 | today | MIT | A | 37 | Claude Code |
| programasweightsprogramasweights/skills | Skill | 9 | 25d ago | MIT | A | 215 | Claude Code |
| aeonrootcastleco/rei-skills | Skill | 11 | yesterday | none | A | 57 | Claude Code, Codex |
| azure-ai-openai-dotnetrootcastleco/rei-skills | Skill | 11 | yesterday | none | A | 92 | Claude Code, Codex |
| azure-ai-projects-dotnetrootcastleco/rei-skills | Skill | 11 | yesterday | none | A | 92 | Claude Code, Codex |