AGENT SKILL

open-lesson

Interact with openLesson tutoring API for Socratic learning: generate learning plans as directed graphs, start audio-based tutoring sessions, analyze reasoning gaps, and manage tutoring workflows. Use when users want personalized tutoring, learning plan generation, or Socratic dialogue-based education.

License 许可
MIT
最近更新
2026-11-10
Stars
★ 1
Forks
0

01 前言 Front Matter

name
open-lesson
version
1.0.2
homepage
https://clawhub.ai/dncolomer/open-lesson
description
Interact with openLesson tutoring API for Socratic learning: generate learning plans as directed graphs, start audio-based tutoring sessions, analyze reasoning gaps, and manage tutoring workflows. Use when users want personalized tutoring, learning plan generation, or Socratic dialogue-based education.
allowed-tools
Read,Write,Bash
description_en
Socratic AI tutoring: generate learning plans, audio sessions, reasoning gap analysis
description_zh
苏格拉底式 AI 辅导:生成学习计划、音频对话式教学、诊断推理差距

03 SKILL.md 正文

OPENLESSON AGENT API SKILL

You are an AI agent that can interact with the openLesson tutoring platform via API.

OVERVIEW

openLesson is a tutoring system that uses audio-based dialogue to help users learn by asking questions rather than giving answers. The platform generates personalized learning plans as directed graphs, where each node is a session. Agents can programmatically generate learning plans, start sessions, and analyze audio chunks for reasoning gaps.

IMPORTANT: NO BROWSER TOOL REQUIRED

You do not need a browser tool. You only need shell tools (e.g., curl) to make API calls to openLesson.

IMPORTANT: AUDIO-ONLY SYSTEM

CRITICAL: The openLesson platform is audio-only. The analyze endpoint accepts ONLY audio input, NOT text.

  • Always convert speech to base64-encoded audio before calling the analyze endpoint
  • Supported formats: webm, mp4, ogg
  • Do not send text to the analyze endpoint — it will be rejected

AUTHENTICATION

Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Important: Always use https://www.openlesson.academy for API calls. The domain openlesson.academy has a redirect that loses the Authorization header.

CREDENTIALS

This skill requires an API key for the openLesson API:

  • Environment variable: OPENLESSON_API_KEY
  • How to obtain: Generate from the user's dashboard at /dashboard

ENDPOINTS

1. GENERATE LEARNING PLAN

Creates a directed graph of learning sessions for a given topic.

Endpoint: POST /api/agent/plan

{
  "topic": "Machine Learning Fundamentals",
  "days": 30
}

Days to Sessions mapping:

  • 7 days: 3-5 sessions
  • 14 days: 4-7 sessions
  • 30 days (default): 5-10 sessions
  • 60 days: 8-14 sessions
  • 90 days: 10-18 sessions
  • 180 days: 15-25 sessions

2. START SESSION

Starts a new Socratic session.

Endpoint: POST /api/agent/session/start

{
  "problem": "Explain how gradient descent works in neural networks",
  "plan_node_id": "uuid-from-plan"
}

3. ANALYZE AUDIO CHUNK

Submits an audio chunk for Socratic analysis. Returns reasoning gap score and follow-up questions.

Endpoint: POST /api/agent/session/analyze

{
  "session_id": "uuid-from-start",
  "audio_base64": "base64-encoded-audio-data",
  "audio_format": "webm"
}

Response includes: gapScore, signals, transcript, followUpQuestion, requiresFollowUp

4. END SESSION

Ends an agent session and generates a summary report.

Endpoint: POST /api/agent/session/end

5. GET SESSION SUMMARY

Retrieves the summary report of a completed session.

Endpoint: GET /api/agent/session/summary?session_id=xxx

COMPLETE AGENT WORKFLOW

  1. Generate a learning plan → get plan with nodes
  2. Start a session for the first node → get session ID
  3. Record and analyze audio → get gap scores and follow-up questions
  4. Continue until concept mastery
  5. End session → get summary report
  6. Move to next node in the plan

TIPS FOR AGENTS

  1. Always use audio: The analyze endpoint ONLY accepts audio
  2. Record in webm format (Opus codec preferred)
  3. Chunk audio: Send 30-60 second chunks for analysis
  4. Follow up: If requiresFollowUp is true, ask the follow-up question
  5. Track gap scores: Use gap score to determine mastery
  6. Schedule all sessions: Create reminders for each planned session

ERROR HANDLING

  • 401: Invalid or inactive API key
  • 403: Session doesn't belong to this key
  • 404: Session not found
  • 500: Internal server error

04 同仓库更多 Skills

YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

vercel-sandbox

Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "microVM Chrome", "agent-browser in sandbox", "browser automation on Vercel", or any task requiring Chrome in a Vercel Sandbox.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

slack

Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

electron

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

dogfood

Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.

★ 1