live-tutorial
Skill này làm gì
Skill này giúp agent AI ghi lại một đoạn hướng dẫn ngắn về ứng dụng và biến nó thành video hướng dẫn. Skill dành cho người muốn có video từng bước mà không phải tự quay màn hình.
Khi nào nên dùng
- ✓Khi bạn muốn một video hướng dẫn cho thấy cách hoàn thành một tác vụ trong ứng dụng.
- ✓Khi bạn cần phụ đề và chú thích được thêm vào từng bước của đoạn hướng dẫn.
- ✓Khi một đồng nghiệp cần một video hướng dẫn ngắn về một quy trình trong ứng dụng của bạn.
Liên kết skill
https://github.com/leon-ai/leon/blob/develop/skills/agent/live-tutorial/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể quay một video hướng dẫn ngắn cho thấy cách tạo hóa đơn mới trong ứng dụng của chúng tôi, với phụ đề cho từng bước không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đi qua quy trình trong ứng dụng của bạn và chụp ảnh màn hình ở mỗi bước. Sau đó nó tạo một video MP4 có chú thích từ các ảnh chụp đó và kiểm tra kết quả.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Live Tutorial
Demonstrate the requested workflow, then return a verified MP4 made from its real screenshots.
Write captions and annotation text in the language of the user's tutorial request, keeping app control names as displayed.
The request already authorizes completing and rendering the tutorial. Do not ask whether to continue or offer screenshots/text instead of the requested video merely because execution paused. Resume with the same recording, captures, and manifest; ask only for genuinely missing information or authorization.
Use PNG paths returned in each observation's artifacts array. The recording output_dir is the destination for the video, not the location of those screenshots; do not search it for frames. The renderer is ready to run with the manifest below: no source inspection, image-processing code, or dependency setup is needed.
Use the live tool results for recording directories, screenshot paths, and current target tokens. After a pause, read a specific saved artifact only if the checkpoint omits a required value; do not scan directories or reread evidence already available. Each new window observation invalidates earlier tokens, so make one observation with any needed query and screenshot, then act immediately from that same result. Use the shell tool only for the final renderer command.
- Select the target application and one short route from its current view to the requested result. Demonstrate only the requested workflow, not every related option. Do not reset the application or visit unrelated settings merely to create a starting frame. If already at the result, show only the navigation needed to teach the requested step; do not claim a pre-existing state was caused by an action you did not perform.
- Start
computer_use.cua.start_recordingwithrecord_video: false; retainoutput_dir. - Use the shortest supported route: a known keyboard shortcut, an accessibility-backed action, or
computer_use.cua.invoke_menufor native menus; never shell automation. Capture the starting state before acting. During recording, supported input actions automatically return a fresh screenshot and element queries include screenshots. Reuse the returned observation for verification and the next step instead of taking another identical screenshot. Observe again only if the result lacks needed evidence. Captions must describe what you actually did, including any shortcut; retain the meaningful intermediate states. - Always stop recording. Select 2–6 distinct captures from the successful route, normally one per action plus the result; omit setup, failed attempts, retries, and polling. Keep valid captures across retries rather than re-recording the workflow. The final result must agree with the demonstrated actions. Use a short instruction for each action and a confirmation caption for the result.
- Write the manifest below with the file tool, then run the bundled renderer through the shell tool. Copy the returned artifact paths verbatim, including profile and session IDs; do not reconstruct them. Satellite results provide server-local copies for rendering. Do not replace this with a raw screen recording or a custom automation/rendering script. Do not inspect or rewrite the renderer unless it reports an error.
- Check the renderer's
resolvedTargetsagainst the intended controls and the source observations. Correct any mismatch before returningfileMarkerverbatim. The returnedpreviewPathsidentify the rendered step frames. If unfinished, explain the obstacle.
Render
"$NODE" "$LEON_CODEBASE_PATH/skills/agent/live-tutorial/scripts/render-tutorial.mjs" --manifest "/exact/path/to/tutorial.json"
Leon supplies NODE and LEON_CODEBASE_PATH. Do not set a working directory or construct executable paths. No system Node, Python, or FFmpeg installation is needed.
On PowerShell, use & $env:NODE "$env:LEON_CODEBASE_PATH/skills/agent/live-tutorial/scripts/render-tutorial.mjs" --manifest "/exact/path/to/tutorial.json".
Manifest:
{
"outputDir": "<output_dir from start_recording>",
"steps": [
{"screenshotPath": "<pre-action PNG path>", "targetToken": "<element_token from this exact capture>", "instruction": "Open the relevant setting."},
{"screenshotPath": "<result PNG path>", "instruction": "Read the displayed value."}
]
}
Use exact current-session paths and captions of at most 240 characters. Prefer targetToken: the renderer reads capture-bound geom
Câu hỏi thường gặp
Đầu ra của skill này là gì?
Nó tạo ra một video MP4 đã được xác minh, làm từ ảnh chụp màn hình thật của ứng dụng bạn.
Agent có thể tạm dừng và tiếp tục sau không?
Có. Skill có thể tiếp tục ghi hình và giữ nguyên các ảnh chụp cùng ghi chú.
Phụ đề có bằng ngôn ngữ của tôi không?
Skill viết phụ đề bằng ngôn ngữ của yêu cầu hướng dẫn của bạn, và giữ nguyên tên các nút điều khiển như hiển thị trên màn hình.
Chi tiết
Mô tả gốc của tác giả
Create an annotated MP4 tutorial from a workflow demonstrated in the owner's actual application. Use when asked for a tutorial video, not merely to watch an action live.
repo: leon-ai/leon
Độ phổ biến
- Sao GitHub
- 18k
- Vị trí xếp hạng
- #10742
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
coding
18kGiúp agent của bạn đọc, thay đổi và kiểm thử mã trong một dự án, theo hướng dẫn riêng của dự án và trong phạm vi bạn đã đặt.
document-authoring
18kGiúp agent của bạn tạo biểu đồ, PDF, file Word, bảng tính và bộ slide, rồi kiểm tra từng file trước khi bạn nhận.
media-production
18kGiúp agent của bạn tạo và chỉnh sửa hình ảnh, đồ họa vector, âm thanh và video, rồi kiểm tra các file hoàn chỉnh trước khi giao.
Skill tương tự
taste-application
280kGiúp agent tạo video theo phong cách cụ thể: sao chép nhịp dựng từ video mẫu, tạo cảnh mới, chỉnh màu và ghép với các đoạn có sẵn.
taste-distillation
280kGiúp agent phân tích video để tạo style pack gồm màu sắc, nhịp cắt và yếu tố hình ảnh, tái sử dụng để tạo video mới cùng phong cách.
ui-demo
280kGiúp agent ghi lại video demo giao diện chỉn chu. Hữu ích để tạo hướng dẫn hoặc cho thấy một ứng dụng web hoạt động ra sao.