Logo Live Workshop

Live Workshop

Cộng đồng
nasqret
live-workshop

Set up a JupyterBook-based workshop journal with live audio transcription, keyword extraction, and structured knowledge base. Use when attending lectures, workshops, or meetings that need real-time note-taking and organized output.

Tổng quan

Nhà phát hànhnasqret
Kho mãlive-workshop-skill
Tên kỹ nănglive-workshop
Sao
26
Bản fork
1
Tệp đi kèm
4
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được nasqret công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Live Workshop trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/nasqret/live-workshop-skill/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nasqret/live-workshop-skill.git \
  .claude/skills/live-workshop
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Live Workshop trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Live Workshop ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Live Workshop không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Live Workshop - Journal & Knowledge Base Generator

You are a workshop assistant that sets up and maintains a structured JupyterBook knowledge base with live audio transcription capabilities.

Arguments

Parse $ARGUMENTS for:

  • title (required): Workshop/meeting title
  • --lang: Language for Whisper transcription (default: en)
  • --modules: Comma-separated list of module names (default: auto-detect or ask user)
  • --url: Workshop website URL to fetch agenda from
  • --chunk-duration: Audio chunk duration in seconds (default: 30)
  • --whisper-model: Whisper model to use (default: small)

Phase 1: Project Initialization

1.1 Create JupyterBook structure

<project-dir>/
├── _config.yml                # JupyterBook config (title, author, language)
├── _toc.yml                   # Table of contents (updated on every note)
├── intro.md                   # Landing page with workshop overview
├── .gitignore                 # Exclude _build/, chunks/, *.wav, etc.
├── requirements.txt           # jupyter-book>=1.0
│
├── journal/                   # Meeting journals (one per date)
│   └── YYYY-MM-DD.md          # Auto-created for today
│
├── modules/                   # Thematic modules
│   ├── 01_<module>/
│   │   ├── theory.md          # Theory/concepts
│   │   ├── tools.md           # Tools & software
│   │   └── exercises.md       # Exercises
│   └── ...
│
├── exercises/
│   └── index.md               # Exercise index
│
└── live_audio/                # Audio pipeline
    ├── start.sh               # Launcher (both recorder + transcriber)
    ├── record_chunks.sh       # sox-based chunked recorder
    ├── transcribe_live.py     # Whisper transcriber + keyword extractor
    ├── chunks/                # Raw .wav files (gitignored)
    ├── transcripts/           # Text transcripts (gitignored)
    ├── live_log.jsonl          # Structured log (gitignored)
    └── live_summary.md        # Running summary (gitignored)

1.2 _config.yml template

yaml
title: "<workshop-title>"
author: "<detect from git config or ask>"
copyright: "<current year>"
logo: ""

execute:
  execute_notebooks: "off"

html:
  use_issues_button: false
  use_repository_button: false
  use_edit_page_button: false
  home_page_in_navbar: true

sphinx:
  config:
    language: <lang>
    html_theme_options:
      navigation_depth: 3

1.3 Initialize git repository

  • git init if not already a repo
  • Create .gitignore with: _build/, .DS_Store, __pycache__/, *.pyc, .ipynb_checkpoints/, live_audio/chunks/, live_audio/transcripts/, live_audio/live_log.jsonl, live_audio/live_summary.md, *.wav
  • Initial commit with full structure

1.4 If --url provided

Fetch the workshop page with WebFetch to auto-detect:

  • Module titles and topics
  • Agenda and schedule
  • Tools and platforms mentioned
  • Exercise descriptions

Use this to pre-populate module content.

Phase 2: Live Audio Pipeline

2.1 Dependencies

Check and install if missing:

  • sox (via brew/apt): audio recording
  • openai-whisper (via pip): transcription
  • ffmpeg: audio processing (usually already present)

2.2 record_chunks.sh

Records audio from default microphone in fixed-duration chunks:

  • Format: 16kHz, mono, 16-bit WAV
  • Command: rec -q -r 16000 -c 1 -b 16 "$FILENAME" trim 0 "$CHUNK_DURATION"
  • Naming: chunk_YYYYMMDD_HHMMSS_NNNN.wav

2.3 transcribe_live.py

Core transcription engine with:

Keyword categories - adapt these to the workshop topic:

python
KEYWORDS = {
    "category1": ["keyword1", "keyword2", ...],
    "category2": ["keyword3", "keyword4", ...],
}

Generate keyword categories based on the workshop modules and topic. If the workshop is in a non-English language, include both the native language terms and their English equivalents.

Output format:

  • Terminal: colored prompter with category tags and highlighted keywords
  • live_log.jsonl: structured entries {timestamp, file, text, keywords}
  • live_summary.md: running markdown summary with detected topics
  • transcripts/*.txt: raw transcription per chunk

Whisper configuration:

  • Model: configurable (tiny/base/small/medium/turbo)
  • Language: from --lang argument
  • fp16: False (for CPU/MPS compatibility)

2.4 start.sh

Launcher that:

  • Accepts model and chunk duration as arguments
  • Starts recorder in background
  • Starts transcriber in foreground
  • Traps Ctrl+C to cleanly stop both processes
  • Prints configuration summary on start

Phase 3: Ongoing Note Management

This is the most important phase - it runs throughout the workshop.

3.1 When user provides notes or keywords

When the user types observations, keywords, or raw notes:

  1. Classify the content into the appropriate module (theory/tools/exercises)
  2. Update the relevant module file with structured content
  3. Update today's journal entry (journal/YYYY-MM-DD.md)
  4. Update _toc.yml if new files are created
  5. Build JupyterBook: jupyter-book build .
  6. Commit changes to git with descriptive message

3.2 When analyzing transcripts

When the user asks to process transcripts from live_audio/:

  1. Read live_log.jsonl or individual transcript files
  2. Decode transcription errors (Whisper artifacts, garbled words)
  3. Reconstruct the speaker's actual message with high confidence
  4. Extract pedagogical insights, practical tips, key concepts
  5. Create/update a dedicated notes file in the relevant module
  6. Flag low-confidence interpretations explicitly
  7. Build a table of transcription errors for educational purposes

3.3 Journal entry format

markdown
# Journal: YYYY-MM-DD

## Workshop: <title>

**Date:** <full date>
**Location:** <if known>
**URL:** <if known>

---

## Notes

### <Topic 1>

<structured notes>

### <Topic 2>

<structured notes>

---

## Day Summary

<end-of-day summary>

3.4 Iterative transcript analysis

When user says "iterate", "update notes", or similar:

  1. Check for NEW transcripts since last analysis
  2. Process only the new ones
  3. Append new topics/insights to existing notes file
  4. Update journal with new findings
  5. Rebuild book and commit

Phase 4: Quality Guidelines

Transcript interpretation rules

  • Never trust transcripts literally - they contain ~20-30% errors for non-English
  • Cross-reference garbled words with workshop context and known terminology
  • Mark uncertainty with explicit notes when reconstruction is ambiguous
  • Build error tables mapping Whisper artifacts to probable meanings
  • Prefer context over phonetic similarity when decoding

Content organization rules

  • Theory goes in theory.md - concepts, frameworks, principles
  • Tools go in tools.md - software, commands, configurations
  • Exercises go in exercises.md - hands-on tasks, step-by-step guides
  • Speaker insights go in dedicated lecture_notes_*.md files
  • Cross-reference between files using {doc} directives

Git commit rules

  • Commit after every meaningful update
  • Message format: what was added/changed + brief context
  • Always include Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Quickstart

After setup, tell the user:

Workshop ready! Commands:

  Start recording:   ./live_audio/start.sh [model] [chunk_sec]
  Open book:         open _build/html/index.html

During the workshop, type your notes and I will:
  - Organize them into the right module
  - Update the journal
  - Commit to git

To analyze transcripts, say: "iterate notes" or "analyze transcripts"

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Live Workshop làm được gì?

Set up a JupyterBook-based workshop journal with live audio transcription, keyword extraction, and structured knowledge base. Use when attending lectures, workshops, or meetings that need real-time note-taking and organized output.

Vì sao nên dùng Live Workshop trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Live Workshop là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Live Workshop trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/nasqret/live-workshop-skill/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Live Workshop?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Live Workshop với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Live Workshop với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Live Workshop có miễn phí không?

Kỹ năng này được nasqret phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇