Agent skill

Add Xapi Events To Microsim

by dmccreary in dmccreary/ibook-skills

A skill your agent uses when the user wants an existing MicroSim or chapter quiz to record what students do with it.

No licenceAuto-check passedEducation

Install Add Xapi Events To Microsim

skills CLI
$ npx skills add dmccreary/ibook-skills --skill add-xapi-events-to-microsim -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dmccreary/ibook-skills add-xapi-events-to-microsim --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dmccreary/ibook-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/add-xapi-events-to-microsim .claude/skills/add-xapi-events-to-microsim && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-xapi-events-to-microsim
GitHub stars
105
Token cost
~5.6k tokens
SKILL.md length
2,924 words
Files
28 (incl. scripts, references, assets)
Skills in repo
32
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when the user wants an existing MicroSim or chapter quiz to record what students do with it.

  • Works in 12 steps: Locate the book and the sim → Detect the library (from script tags,… → Inventory the interactions → …
  • The user wants an existing MicroSim
  • SKILL.md covers What this skill does, Principles, and why they matter, Workflow and Reference files, plus 1 more section
  • Runs JavaScript scripts from its folder; calls python3 and uv

What it does

Add Xapi Events To Microsim is an agent skill from dmccreary/ibook-skills. Use when the user wants an existing MicroSim or chapter quiz to record what students do with it. Typical requests are "add xAPI events", "add tracking or analytics", "make this sim feed the LRS or LRS-Lite", "instrument chapter 5's sims", or "what should this sim record?". Use it even if they never say "xAPI". Not for building a new MicroSim (use microsim-generator) or for LRS backend work.

Its SKILL.md is about 5.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 31 other files, including scripts, reference files and assets (for example `assets/lrs-config.template.js`, `evals/evals.json` and `references/adapters/chartjs.md`).

It sits in Education.

When your agent uses it

  • The user wants an existing MicroSim
  • Chapter quiz to record what students do with it

Example prompts

  • “add xAPI events”
  • “add tracking or analytics”
  • “make this sim feed the LRS or LRS-Lite”
  • “/add-xapi-events-to-microsim”

Requirements

  • Python 3
  • Node.js

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Locate the book and the sim
  2. Detect the library (from script tags, not the catalog)
  3. Inventory the interactions
  4. Classify each interaction into an evidence class
  5. Map each object to a concept id
  6. Confirm the runtime is installed in this book
  7. Wire the adapter
  8. Set the metadata.json xapi block
  9. Re-measure the iframe height
  10. Verify both modes headless
  11. Lesson text (teaching sims only)
  12. Report

What it can do on your machine

Read from SKILL.md and the folder at commit 4c58491. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Xapi Events To Microsim loads about 5.6k tokens when it runs, and up to ~33k if it reads all its reference files. Until then it costs about 105 tokens; SKILL.md has 2,924 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~105
When it runs · the whole SKILL.md, loaded when a task matches
~5.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~33k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 2,924 words (~5,648 tokens).

“Version: 0.2 (2026-09-26). This version folds in the lessons of the first whole-book batch, the 20 sims of eight-hour-entrepreneur.”

— opening of SKILL.md by dmccreary
name
add-xapi-events-to-microsim
metadata.ibook.version
0.2
metadata.ibook.preferred-model
opus

Read the full SKILL.md on GitHub

Files

SKILL.md and 27 other files (scripts, references, assets) in skills/add-xapi-events-to-microsim of dmccreary/ibook-skills.

  • SKILL.md
  • assets/lrs-config.template.js
  • assets/main-html-script-block.html
  • assets/status-instrumented.css
  • evals/evals.json
  • references/adapters/chartjs.md
  • references/adapters/image-overlay.md
  • references/adapters/leaflet.md
  • references/adapters/mermaid-html.md
  • references/adapters/p5-canvas.md
  • references/adapters/p5-dom-controls.md
  • references/adapters/plotly.md
  • references/adapters/quiz-page.md
  • references/adapters/vis-network.md
  • references/adapters/vis-timeline.md
  • references/concept-mapping.md
  • references/contract-digest.md
  • … and 11 more

Open the folder on GitHubat commit 4c58491

Compare with similar skills

Add Xapi Events To Microsim next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Xapi Events To Microsim compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Xapi Events To Microsim this skilldmccreary/ibook-skills105—~5.6kAutomated safety check: PassNone
DeepTutor CLIHKUDS/DeepTutor41k—~2.8kAutomated safety check: PassApache-2.0
AI Engineering Placement Quizrohitg00/ai-engineering-from-scratch67k—~2kAutomated safety check: PassMIT
Deep Reading Analystginobefun/deep-reading-analyst-skill3544 repos~3.6kAutomated safety check: PassMIT
OpenMAIC Setup and ExtensionTHU-MAIC/OpenMAIC40k—~1.7kAutomated safety check: NotesMIT
Codebase to Coursezarazhangrui/codebase-to-course5.7k—~4.4kAutomated safety check: PassNone

Similar skills

  • DeepTutor CLI

    HKUDS/DeepTutor

    Teaches the agent to set up and run DeepTutor from the command line: chat and capabilities, knowledge bases, partners, memory, sessions, notebooks and the server or Web app.

    41k GitHub stars~2.8k tokensUpdated 3 days ago
    EducationAuto-check passed
  • AI Engineering Placement Quiz

    rohitg00/ai-engineering-from-scratch

    Runs a 10-question quiz across five areas to place a learner in the AI Engineering from Scratch curriculum, so they skip what they already know.

    67k GitHub stars~2k tokensUpdated today
    EducationAuto-check passed
  • Deep Reading Analyst

    ginobefun/deep-reading-analyst-skill

    Comprehensive framework for deep analysis of articles, papers, and long-form content using 10+ thinking models (SCQA, 5W2H, critical thinking, inversion, mental models, first principles, systems…

    354 GitHub starsUsed in 4 repos~3.6k tokens
    EducationAuto-check passed
  • Guides setup, classroom generation and secondary development for OpenMAIC, the multi-agent interactive classroom, one confirmed phase at a time.

    40k GitHub stars~1.7k tokensUpdated today
    EducationAuto-check: notes
  • Codebase to Course

    zarazhangrui/codebase-to-course

    Turns a codebase into an interactive single-page HTML course for non-technical learners, with scroll modules, animated diagrams, quizzes and plain-English code translations.

    5.7k GitHub stars~4.4k tokensUpdated 6 mo ago
    EducationAuto-check passed
  • AI Engineering Project Tutor

    rohitg00/ai-engineering-from-scratch

    Tutors a learner through one stage of a hands-on AI engineering project per session: lesson, prediction, code, grader run and reflection, with hints but never full solutions.

    67k GitHub stars~1.6k tokensUpdated today
    EducationAuto-check passed

More from dmccreary/ibook-skills

All 32 skills in this repo
  • Book Publisher

    dmccreary/ibook-skills

    Publishes and promotes a finished intelligent textbook - GitHub README with badges and site statistics, LinkedIn announcement posts, LinkedIn carousel document posts (PPTX/PDF slideshows), and…

    105 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Linkedin Carousel Generator

    dmccreary/ibook-skills

    Generates a 13-slide LinkedIn carousel (a "document post" — PPTX/PDF) that showcases an intelligent textbook's key features, with real screenshots, mascot art, and metrics pulled from the project.

    105 GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Diagram Reports Generator

    dmccreary/ibook-skills

    Generates a status report of all diagrams and MicroSims across an intelligent textbook's chapters, including difficulty, Bloom's level, and UI complexity.

    105 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • DOCX To Web Publisher

    dmccreary/ibook-skills

    Converts .docx files (papers, briefs, reports) into styled React component pages in a Next.js content-catalog site.

    105 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Book Media Generator

    dmccreary/ibook-skills

    Generates media for intelligent textbooks - slide decks and presentations (MARP web decks in docs/slides/ or PowerPoint .pptx lecture downloads), illustrated stories and graphic novels…

    105 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Causal Loop Diagram Generator

    dmccreary/ibook-skills

    Creates interactive causal-loop diagram (CLD) articles for MkDocs Material sites.

    105 GitHub stars~2.1k tokensUpdated today
    Auto-check passed

Categories

Questions about Add Xapi Events To Microsim

What does Add Xapi Events To Microsim do?

A skill your agent uses when the user wants an existing MicroSim or chapter quiz to record what students do with it. Add Xapi Events To Microsim is an agent skill from dmccreary/ibook-skills. Use when the user wants an existing MicroSim or chapter quiz to record what students do with it.

When should I use Add Xapi Events To Microsim?

Add Xapi Events To Microsim fits situations like: the user wants an existing MicroSim; chapter quiz to record what students do with it.

How do I install Add Xapi Events To Microsim in Claude Code?

Run `npx skills add dmccreary/ibook-skills --skill add-xapi-events-to-microsim -a claude-code`. Or copy the skill folder (skills/add-xapi-events-to-microsim in dmccreary/ibook-skills) into .claude/skills/add-xapi-events-to-microsim in your project. Claude Code loads it when a task matches its description.

How do I install Add Xapi Events To Microsim in Codex?

Run `npx skills add dmccreary/ibook-skills --skill add-xapi-events-to-microsim -a codex`. Or copy the skill folder (skills/add-xapi-events-to-microsim in dmccreary/ibook-skills) into .agents/skills/add-xapi-events-to-microsim in your project. Codex loads it when a task matches its description.

Can I use Add Xapi Events To Microsim in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dmccreary/ibook-skills --skill add-xapi-events-to-microsim -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-xapi-events-to-microsim, .gemini/skills/add-xapi-events-to-microsim, .github/skills/add-xapi-events-to-microsim and .opencode/skills/add-xapi-events-to-microsim in your project.

What does Add Xapi Events To Microsim need to run?

Going by SKILL.md and its folder, Add Xapi Events To Microsim needs JavaScript for the scripts in its folder and the command-line tools its instructions call (python3 and uv). Our summary lists: Python 3; Node.js.

Does Add Xapi Events To Microsim access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Add Xapi Events To Microsim safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Add Xapi Events To Microsim use?

No licence was found for Add Xapi Events To Microsim or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Add Xapi Events To Microsim use?

About 5.6k tokens (SKILL.md is roughly 23k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 27k tokens, read only when the agent opens those files.

What are the alternatives to Add Xapi Events To Microsim?

Skills that share tags, products or a category with Add Xapi Events To Microsim: DeepTutor CLI (HKUDS/DeepTutor, 41k stars), AI Engineering Placement Quiz (rohitg00/ai-engineering-from-scratch, 67k stars), Deep Reading Analyst (ginobefun/deep-reading-analyst-skill, 354 stars) and OpenMAIC Setup and Extension (THU-MAIC/OpenMAIC, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Xapi Events To Microsim?

dmccreary (a GitHub user) maintains it in dmccreary/ibook-skills, which has 105 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 10, 2026.

Source: dmccreary/ibook-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.