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-agent-sessiongit 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-session)<a href="https://agentmods.dev/skills/iblai/api/iblai-api-agent-session"><img src="https://agentmods.dev/badge/skills/iblai/api/iblai-api-agent-session/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-agent-session"><img src="https://agentmods.dev/badge/skills/iblai/api/iblai-api-agent-session.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 21 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 118 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 122 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 110 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.00091 | $0.02939 |
| Opus 5.5 | $0.00036 | $0.01176 |
| Sonnet 5.5 | $0.00018 | $0.00588 |
| Haiku 4.5 | $0.00009 | $0.00294 |
Grade A, and why
iblai-api-agent-session 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 -N -X POST \ How it starts
The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
iblai-api-agent-session
Drive a deployed agent's chat transport directly and read its sessions.
Where /iblai-api-agent-chat wires a hosted MCP server for conversation, this
skill is the raw REST/SSE (and WebSocket) surface: POST a prompt, stream the
reply, attach metadata that resurfaces as client_context, and list/inspect
the resulting session records. Get IBLAI_ORG/IBLAI_USERNAME/IBLAI_API_KEY
from /iblai-api-login.
Auth & conventions
- Header:
Authorization: Api-Token $IBLAI_API_KEYon every request. - Path vars:
{org}=$IBLAI_ORG,{user}=$IBLAI_USERNAME. - Two hosts — chat is streaming/ASGI:
- Chat turn (SSE / WebSocket) →
https://asgi.data.iblai.app - Session reads/writes →
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{user}/v1… i.e.…/orgs/{org}/users/{user}/sessions/…
- Chat turn (SSE / WebSocket) →
- Not connected yet? Run
/iblai-api-loginfirst.
Concepts
Two independent context fields — one soft, one hard. A chat turn can carry both
metadata (soft) and document_filter (hard); they do different jobs and don't
substitute for each other:
metadata(soft) — steers how the agent reasons. It's appended to the prompt and persisted; it never restricts which documents RAG can retrieve.document_filter(hard) — steers which documents RAG may retrieve. It's a document-level allow-list applied in the vector store; it does not touch the prompt.
Passing metadata alone narrows nothing in retrieval; passing document_filter alone
scopes retrieval without giving the agent any extra prose context. Use both when you want
both effects.
metadata → client_context passthrough (soft). Every chat turn (WS or SSE) may
carry a metadata object of arbitrary key/values (BaseConsumerPayload.metadata). The
runner folds it into the prompt the agent sees, so the agent can tailor its reply, and the
consumer persists it on the session as Session.metadata["client_context"]. It is
session-level: each turn's metadata overwrites the session's client_context, so
it sticks across turns until you send new keys. Use it to tell one deployed agent
where/why a message arrives (product, plan tier, page, region) without editing its
prompt. It then echoes back on every read below. The sibling field page_content is
also appended to the prompt, but — unlike metadata — is stripped before the message is
saved.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed · +61 lines 7a57919c4169
- 3mo ago First seen · 124 lines · 91 tokens per session scan A 8a69a678e5e4
iblai-api-agent-session is a skill published in the GitHub repository iblai/api (15 stars, last pushed 2mo ago), licensed MIT. It adds 91 tokens to every session and 2,939 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-agent-session compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| iblai-api-agent-sessioniblai/api | Skill | 15 | 2mo ago | MIT | A | 91 | Claude Code, Codex |
| auditpe-menezes/vibeflow | Skill | 34 | 7d ago | MIT | A | 132 | Claude Code |
| megalinter-checkulises-jeremias/agent-toolkit | Skill | 28 | yesterday | MIT | A | 96 | Claude Code |
| assistantulises-jeremias/agent-toolkit | Skill | 28 | yesterday | MIT | A | 64 | Claude Code |
| design-improvementulises-jeremias/agent-toolkit | Skill | 28 | yesterday | MIT | A | 60 | Claude Code |
| confluence-assistantulises-jeremias/agent-toolkit | Skill | 28 | yesterday | MIT | A | 35 | Claude Code |
| gen-specpe-menezes/vibeflow | Skill | 34 | 7d ago | MIT | A | 74 | Claude Code |