agentleFS
iblaiiblai/k-12-agents/skills/khan-academy/SKILL.md

khan-academy

Skill9 starsChanged 6 months agoMITView on GitHub

Khan Academy — retrieve student skill mastery, exercise progress, and course completion data to personalize tutoring and avoid re-teaching mastered content.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not expose a student's exercise history to other students.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Khan Academy

What it is

Khan Academy is a free, widely used instructional platform providing video lessons, practice exercises, and mastery-based learning pathways for K-12 students in math, science, ELA, computing, and more. Its progress API allows agents to read a student's mastered skills, in-progress exercises, and time-on-task data to personalize tutoring sessions.

When to use this skill

  • Checking which skills a student has already mastered before selecting practice problems
  • Identifying in-progress or struggling exercises to target during a tutoring session
  • Recommending the next skill in a learning pathway based on the student's current mastery level
  • Supplementing a tutoring session with a direct link to the relevant Khan Academy video or exercise
  • Reviewing course mastery percentage to inform parent or teacher progress updates

Credentials

This skill authenticates using env vars declared in the frontmatter metadata and provided via ~/.openclaw/.env (see .env.example at the segment root). Required variables:

  • KHAN_ACADEMY_CLIENT_ID - OAuth2 client ID from the Khan Academy developer console
  • KHAN_ACADEMY_CLIENT_SECRET - OAuth2 client secret
  • KHAN_ACADEMY_REDIRECT_URI - registered redirect URI for the OAuth2 authorization flow

Key operations

  • GET /api/v1/user — retrieve the authenticated student's profile and overall mastery summary
  • GET /api/v1/user/exercises — list all exercises with mastery status (mastered/proficient/practiced/not started)
  • GET /api/v1/user/topic_exercises — fetch exercise progress grouped by topic and grade band
  • GET /api/v1/exercises/{exercise_name} — look up a specific exercise's description, related skills, and video links
  • GET /api/v1/topic/{topic_slug}/exercises — enumerate all exercises within a topic for pathway planning

Notes

  • The Khan Academy API uses OAuth2 per-user authorization; each student must grant consent before their progress data can be read.
  • API access is limited to approved educational integrations; register the application at khanacademy.org/api/auth2.
  • Mastery levels update after exercise completion; there may be a short delay before the API reflects the latest session activity.
  • Do not expose a student's exercise history to other students; scope all progress reads to the currently authenticated learner.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.