Version: 1.1.0 Purpose: Automatically create Teachable courses with AI Course Content Generator integration
Triggers
| Trigger | Examples |
|---|---|
| Course Creation | "create teachable course", "course creation", "Teachable setup" |
| Curriculum | "setup curriculum", "curriculum creation", "add section" |
| Import | "import from mindmeister", "import structure" |
| CCG Integration | "from CCG to Teachable", "generate content and upload" |
Prerequisites
- Chrome MCP: Browser automation is enabled
- Teachable Login: Logged in as administrator
- Course Structure: Structure in Markdown or mind map format
Workflow
Phase 1: Preparing the course structure
Step 1.1: Retrieving structure data
# コース構造フォーマット
course_title: "コースタイトル"
curriculum:
- section: "SECTION 1:【カテゴリ】セクションタイトル"
lessons:
- title: "レッスン1タイトル"
type: "Video"
- title: "レッスン2タイトル"
type: "Video"
- section: "SECTION 2:【カテゴリ】セクションタイトル"
lessons:
- title: "レッスン1タイトル"
type: "Video"
Step 1.2: Retrieving from MindMeister (optional)
- Get the MindMeister map URL
- Parse the map structure with WebFetch
- Convert to the above format
Phase 2: Teachable browser operations
Step 2.1: Accessing the admin screen
URL形式: https://[school-name].teachable.com/admin-app/courses/[course-id]/curriculum
tabs_context_mcpGet tab information withnavigateNavigate to the curriculum page withscreenshotCheck the current state with
Step 2.2: Creating/editing sections
Create new section:
- Click the "New section" button
- Enter the section name
- Click "Save"
Rename section:
- Click the three-dot menu (⋮) on the section row
- Select "Rename section"
- Enter the new name
- Click "Save"
// セクション操作のセレクター
Section Menu: 3点メニュー(⋮)
Rename Option: "Rename section"
Save Button: "Save"
Cancel Button: "Cancel"
Step 2.3: Creating lessons
- Click "New lesson" in the target section
- Enter the lesson title
- Select the content type (Video/Text/Quiz)
- Save
Phase 3: Course settings
Step 3.1: Basic information
Information ページ:
- コース名
- サブタイトル
- 説明文
- サムネイル画像
Step 3.2: Pricing settings
Pricing ページ:
- Free / Paid
- 一括払い / サブスクリプション
- 価格(円/ドル)
Step 3.3: Sales page
Sales pages ページ:
- ヘッダー画像
- コース説明
- CTA ボタン
Browser Automation Patterns
Finding and manipulating elements
1. find tool: 自然言語で要素検索
例: "search bar", "save button"
2. read_page: アクセシビリティツリー取得
- depth: 15 (デフォルト)
- filter: "interactive" (ボタン/リンクのみ)
3. computer tool actions:
- left_click: クリック
- type: テキスト入力
- scroll: スクロール
- screenshot: スクリーンショット
Safe operation flow
1. screenshot → 現状確認
2. find/read_page → 要素特定
3. click/type → 操作実行
4. screenshot → 結果確認
5. 必要に応じて修正
Input Format Examples
Markdown format
# コースタイトル
## SECTION 1:【基礎】イントロダクション
- レッスン1:はじめに (Video)
- レッスン2:基本概念 (Video)
## SECTION 2:【実践】ハンズオン
- レッスン1:実演 (Video)
- レッスン2:演習 (Quiz)
YAML format
course_title: "コースタイトル"
curriculum:
- section: "SECTION 1:【基礎】イントロダクション"
lessons:
- title: "はじめに"
type: "Video"
- title: "基本概念"
type: "Video"
Checklist
Before creating the course
- Logged in to Teachable
- Prepare the course structure data
- Chrome MCP is available
Curriculum creation
- Create/name all sections
- Add lessons to each section
- Check the lesson order
- Set the publish status
Course settings
- Enter the course basic information
- Set the price
- Create the sales page
- Check in preview
Error Handling
| Error | Solution |
|---|---|
| Element not found | scroll and search again |
| Click does not work | Check the coordinates and retry |
| Input is not reflected | Clear the field before entering |
| Page does not transition | wait and then screenshot |
Best Practices
✅ GOOD:
- 操作前後で screenshot を撮る
- セクション名は「SECTION N:【カテゴリ】タイトル」形式
- 一度に1つの操作を実行
❌ BAD:
- screenshot なしで連続操作
- 長すぎるセクション名
- 確認なしの大量操作
CCG Integration (AI Course Content Generator)
Overview
AI Course Content Generator (CCG)
/Users/shunsukehayashi/dev/ai-course-content-generator-v2
機能:
- Gemini AIでコース構造を自動生成
- レッスン台本の自動作成
- TTS音声生成
- グラフィックレコーディング風スライド
- MP4動画レンダリング
- Teachableエクスポート用MCPサーバー
CCG → Teachable Workflow
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ CCG App │ -> │ MCP Server │ -> │ Teachable │
│ コンテンツ生成 │ │ エクスポート │ │ ブラウザ操作 │
└─────────────────┘ └─────────────────┘ └─────────────────┘
Phase A: Content Generation with CCG
Step A.1: Launch CCG App
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2
npm run dev # Webモード (port 3000)
npm run electron:dev # Electronモード
Step A.2: Course Structure Generation
- Upload reference materials in the Vision Panel (images/PDF/URL)
- Enter course title and overview
- "Generate Structure" to generate JSON structure
- Edit the structure as needed
Step A.3: Lesson Content Generation
For each lesson:
- "Generate Plan" → Generate integrated plan
- "Generate Script" → Generate script
- "Generate Audio" → Generate TTS audio
- "Generate Slides" → Generate slide images
- "Generate Video" → Generate MP4 video
Phase B: Export with MCP
Step B.1: MCP Teachable Uploader
# 初回セットアップ
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2/mcp-teachable-uploader
npm install
Step B.2: MCP Tool List
| Tool | Purpose |
|---|---|
list_projects |
Get project list |
get_project_info |
Project details |
get_lesson_files |
Lesson file list |
export_single_lesson |
Export single lesson |
build_teachable_export |
Export all lessons |
save_export_to_file |
Save JSON file |
Step B.3: Example Export Command
# Claude Desktopで実行
"プロジェクト一覧を見せて"
"〇〇プロジェクトをTeachable用にエクスポートして"
"export.jsonに保存して"
Phase C: Upload to Teachable
Step C.1: Applying the Curriculum Structure
Get the curriculum structure from the exported JSON and apply it to Teachable using the browser operations in Phase 2.
Step C.2: Video Upload
- Open the lesson editing screen in Teachable
- Click "Add Video"
- Upload the MP4 file generated by CCG
CCG Output File Structure
projects/
└── [project-name]/
├── course.json # コース構造
├── lessons/
│ └── [lesson-id]/
│ ├── plan.json # 統合プラン
│ ├── script.md # 台本
│ ├── audio.mp3 # 音声
│ ├── slides/ # スライド画像
│ └── video.mp4 # 完成動画
└── export/
└── teachable.json # Teachableエクスポート
Related Skills
ccg: AI Course Content Generator (content generation)doc-generator: Document generation