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-analyticsnpx skills add iblai/api --skill iblai-api-analyticsgit clone --depth 1 https://github.com/iblai/apiWhat 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.00097 | $0.04662 |
| Opus 5 | $0.00048 | $0.02331 |
| Sonnet 5 | $0.00019 | $0.00932 |
| Haiku 4.5 | $0.00010 | $0.00466 |
Grade A, and why
iblai-api-analytics 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 2d 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 -sS "https://api.iblai.app/dm/api/docs/schema/" -o /tmp/iblai_schema.yaml How it starts
The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.
iblai-api-analytics
Read ibl.ai analytics from the platform API. One /api/analytics/ family serves
every scope; the query params decide what you get:
- Agent (chat) analytics — add
mentor_unique_idto scope any chat metric (topics, sessions, conversations, ratings, costs, transcripts) to one agent. - Content analytics —
/api/analytics/content/, keyed bymetric=courses|programs|pathways|skills, for catalog engagement and time spent. - Organization-wide analytics — omit
mentor_unique_idfor org totals. - Per-user analytics — a single user's enrollments, grades, time spent, engagement, and cross-platform snapshot.
Reads are read-only; the only writes are Data Reports and a time-spent event.
The schema is the contract
These endpoints live on the Data Manager service and its live OpenAPI schema is the single source of truth — the URLs and params below exist for orientation and can drift between releases. Validate against the schema before building requests:
- Schema (raw):
https://api.iblai.app/dm/api/docs/schema/ - Swagger UI:
https://api.iblai.app/dm/api/docs/
# Confirm the analytics paths you're about to call exist verbatim:
curl -sS "https://api.iblai.app/dm/api/docs/schema/" -o /tmp/iblai_schema.yaml
grep -nE "^ /api/analytics/" /tmp/iblai_schema.yaml
Treat any mismatch between this skill and the schema as a bug in the skill — the deployed schema wins.
Auth & conventions
dm_url=https://api.iblai.app/dm— analytics are Data Manager endpoints reached through the gateway's/dmprefix. Every URL below is written as{dm_url}/api/analytics/<path>; setdm_url=https://api.iblai.app/dmand use it as the prefix.- Header:
Authorization: Api-Token $IBLAI_API_KEYon every request. - Placeholders:
{platform}= your workspace key =$IBLAI_ORG. On the wire it is theplatform_keyquery param and theorgs/{platform}/platforms/{platform}path segment — same value everywhere.{username}=$IBLAI_USERNAME.{mentor}= an agent's unique id — optional: includementor_unique_id={mentor}for agent scope, omit for org-wide.
- Shared query params (available on most endpoints):
platform_key={platform}— the workspace key (required on most reads).date_filter—today|7d|30d|90d|all_time|custom.customrequiresstart_dateandend_date(bothyyyy-MM-dd).mentor_unique_id={mentor}— narrows any chat metric to one agent.granularity—hour|day|week|month(time-series endpoints).usergroup_ids— repeat to narrow results to specific user groups.page/limit— pagination on list/detailsendpoints.
- Each endpoint below lists its own params; required ones are marked and enum
values are given inline.
[¶m=value]means optional. - Not connected yet? Run
/iblai-api-loginfirst.
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.
- 2d ago First seen · 281 lines · 97 tokens per session scan A 822833938b67
iblai-api-analytics is a skill published in the GitHub repository iblai/api (15 stars, last pushed 4d ago), licensed MIT. It adds 97 tokens to every session and 4,662 once invoked, about $0.0005 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
lesson
Produce or continue a deep-dive learning-track lesson (a focused mini-course on a hard subject the project needs), or review the user's track exercise work. Use when the user asks for the next lesson, help with a track exercise, or to start a new track.
slack-docs
Use when answering a conceptual or how-to question about Slack platform features, or when asked to look up, fetch, or summarize a docs.slack.dev page, including a pasted docs.slack.dev link. Covers finding and reading official Slack docs as clean markdown.
explainer
Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".
vindicate
Use when the user wants to write, add, fix, stabilize (flaky), refactor, run, or audit Playwright browser tests, draft requirements/stories from a recording (no tests), find test-coverage gaps, scaffold a Playwright project, or set up Playwright CI. Vindicate's guided workflow for grounded, conformant Playwright test…
education-program
When the user wants to plan, implement, or optimize student and education discount programs. Also use when the user mentions "student discount," "education discount," "student plan," "for students," ".edu discount," "academic pricing," "student verification," "SheerID," "UNiDAYS," or "education program." For startup…
implement
Implements a feature from its spec following all guardrails: budget, DoD, anti-scope, and pattern compliance. Runs an 8-phase pipeline (find spec → extract guardrails → load patterns → plan → implement → test → refine → self-verify DoD). Use after gen-spec when you're ready to code. The agent has filesystem access and…