本文へスキップ
Skillpedia
動画編集18k · #10742

live-tutorial

できること

このスキルは、AIエージェントがアプリの作業の流れを記録し、短いウォークスルー動画として作るよう支援します。画面を自分で録画せずに、手順ごとの動画がほしい人向けです。

使う場面

  • ✓アプリでタスクを完了する方法を示すチュートリアル動画がほしいとき。
  • ✓操作の各手順に、字幕と注釈を加える必要があるとき。
  • ✓チームメイトに、アプリの作業の流れを説明する短い動画ガイドを渡したいとき。

スキルのリンク

https://github.com/leon-ai/leon/blob/develop/skills/agent/live-tutorial/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/leon-ai/leon/blob/develop/skills/agent/live-tutorial/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“当社のアプリで新しい請求書を作成する方法を示す、短いチュートリアル動画を作成してください。各手順に字幕を付けてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、アプリ内で作業の流れをたどり、各手順でスクリーンショットを撮ります。そのスクリーンショットから注釈付きのMP4動画を作り、結果を確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

  1. 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.
  2. Start computer_use.cua.start_recording with record_video: false; retain output_dir.
  3. Use the shortest supported route: a known keyboard shortcut, an accessibility-backed action, or computer_use.cua.invoke_menu for 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.
  4. 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.
  5. 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.
  6. Check the renderer's resolvedTargets against the intended controls and the source observations. Correct any mismatch before returning fileMarker verbatim. The returned previewPaths identify 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

よくある質問

このスキルの出力は何ですか?

実際のアプリのスクリーンショットから作られた、確認済みのMP4動画です。

エージェントは途中で止めて、後から再開できますか?

はい。同じキャプチャとメモを保ったまま、録画を再開できます。

字幕は私の言語で書かれますか?

チュートリアルの依頼と同じ言語で字幕を書きます。画面に表示されている操作名はそのまま残します。

詳細

作者による元の説明

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

人気

GitHubのスター
18k
ランキング
#10742
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル