Przejdź do treści
Biblioteka skilli
Edukacja · Budowanie i kod

live-tutorial

/live-tutorial

Tworzy opisany film MP4 z samouczkiem na podstawie przepływu pracy pokazanego w prawdziwej aplikacji właściciela.

Repozytorium
leon ↗
Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/render-tutorial.mjs

Co robi i kiedy

Tworzy opisany film MP4 z samouczkiem na podstawie przepływu pracy pokazanego w prawdziwej aplikacji właściciela.

Oryginalny opis (EN)

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.

Jak działa

  1. Render
Sekcje z nagłówków SKILL.md, w oryginale · 48 linii, 744 słów
Podgląd SKILL.md
---
name: live-tutorial
description: 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.
compatibility: Leon runtime with managed Node.js, the FFmpeg tool, and an active profile and session.
metadata:
  author: "Louis Grenard <louis@getleon.ai>"
  version: "1.2.9"
---

# 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

```bash
"$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:

```json
{
  "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 geometry from the PNG's companion JSON and draws the control outline, arrow, and step number automatically.

Use `point: {x, y, coordinateWidth, coordinateHeight}` when the intended control has no accessible target geometry, even if other controls in the capture do. Copy the exact x/y and coordinate dimensions from the successful action performed on that capture; do not estimate a new annotation point. Never copy a point from another capture or mix window and desktop coordinates. The final result frame must have no point annotation; omit its marker or use a verified `targetToken` when highlighting a result is genuinely useful.

A tutorial request authorizes demonstrating navigation, not choosing an unspecified setting value or completing a destructive, financial, publishing, or security-sensitive action. Stop before committing such changes unless the owner explicitly authorized them.
Pliki w paczce (2)
  • SKILL.md 6 KB
  • scripts/render-tutorial.mjs 13 KB

Wersje

W bazie nie ma innych skilli o nazwie live-tutorial.

Migawka bazy z 13.11.2026 · wersja paczki 05bc71b06f7d (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 86first-video-tutorial
    Prowadzi przez krok 3 z 4 samouczka i pomaga stworzyć pierwsze wideo.
  • 96first-image-tutorial
    Prowadzi przez pierwszy z czterech kroków samouczka, czyli dodanie pierwszego obrazu.
  • 98video-to-skill
    Zamienia wideo, tutorial lub kurs w zainstalowany skill kursowy, który uczy, daje ćwiczenia z informacją zwrotną i odpowiada na pytania.
  • 90tutorial-pipeline
    Prowadzi produkcję narracyjnego wideo-poradnika aplikacji webowej w Tutorial Studio: przyjęcie, scenariusz, reżyserię i dwie bramki zatwierdzeń.
  • 90tutorial-pipeline
    Prowadzi produkcję narracyjnego wideo-poradnika aplikacji webowej w Tutorial Studio: przyjęcie, scenariusz, reżyserię i dwie bramki zatwierdzeń.
  • 90screenbrowser
    Tworzy film instruktażowy z lektorem dla aplikacji webowej: pisze przewodnik z kodu, przekazuje go do Screen Browser i odbiera film.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.