iblai-api-studio-pdf
Installation
SKILL.md
iblai-api-studio-pdf
The pdf XBlock renders a PDF inline in the unit. It is an advanced module:
the course has to list it in advanced_modules before Studio will create one,
and it saves its fields through its own handler, not the generic xblock update.
Three steps: enable once per course → upload the file → create + save.
Before you start
- Preflight:
node .claude/skills/iblai-api-studio-auth/scripts/studio-login.mjs --checkprints twooks; otherwise run/iblai-api-studio-authfirst — do not attempt the calls below. - A unit locator (
/iblai-api-studio-unit, or the unit list from/iblai-api-studio-outline— the bulk builder cannot createpdfblocks, so they are always added here afterwards). - The PDF file on disk (compressed if large).