Przejdź do treści
Biblioteka skilli
Marketing i treści · Automatyzacja

chatcut-media-guide

/chatcut-media-guide

Importuje lokalne lub pobrane media do projektu ChatCut i ponownie łączy brakujące pliki z istniejącymi zasobami.

Repozytorium
agent-plugin ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
12.11.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 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

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

Skrypty: scripts/serve-local-media.mjs

Co robi i kiedy

Importuje lokalne lub pobrane media do projektu ChatCut i ponownie łączy brakujące pliki z istniejącymi zasobami.

Oryginalny opis (EN)

Use when the user needs to import local or downloaded media, or relink missing media to an existing ChatCut asset. Prefer the editor loopback bridge when the editor and files are on the same machine.

Jak działa

  1. Same-machine editor import
  2. Relink an existing asset
  3. Fallback
Sekcje z nagłówków SKILL.md, w oryginale · 38 linii, 587 słów
Podgląd SKILL.md
---
name: chatcut-media-guide
description: Use when the user needs to import local or downloaded media, or relink missing media to an existing ChatCut asset. Prefer the editor loopback bridge when the editor and files are on the same machine.
---

# ChatCut Media Guide

Check `browse_assets` first when a file may already be imported.

## Same-machine editor import

1. Confirm the user selected the file for import. Open the target project using `browserHandoff.url` or `editorUrl`, and keep exactly one editor tab for it open on the same machine/network namespace as the local shell. A remote sandbox's localhost is not the user's localhost.
2. Start the bundled loopback server with Node 18+ and the origin of the actual editor URL:

```bash
node <this-skill-dir>/scripts/serve-local-media.mjs --origin <editor-origin> /path/to/source.mp4
```

Keep it alive using the host's background-process support while calling MCP. It serves only the listed files over `127.0.0.1` URLs without an access token and exits after 900 seconds. URLs use the public `chatcut-local-media-v1` path prefix to remain compatible with existing editors. Legacy token-prefixed URLs remain supported; the JSON `token` field contains that public prefix, not a credential.

3. Import multiple files in **one** `import_media` call: `{"action":"from_editor","files":[...]}`. Copy each file's `assetId`, `url`, `filename`, and `sizeBytes` from the printed `imports` array into `files`, omitting its per-file `action`. URLs may come from different running helpers. Send 1–16 files per call; for larger sets, submit successive batches of 16. Up to eight files are processed concurrently; the editor streams each one straight into its local store, so a card with transfer progress appears as soon as the download starts. The original top-level single-file arguments still work.
4. Inspect every entry in `results`: successful entries have `ok:true` and `status:"locally_imported"`; failed entries have an `error`. Results preserve input order and include `assetId` and `filename`, with top-level `succeeded`/`failed` counts. Retry only failed files with the same asset IDs. Keep the helpers alive until all files succeed, and keep the editor open for server sync, background upload, and transcription.
5. Verify the asset with `browse_assets` before placing it on the timeline. Wait on `track_progress target:"transcription"` before transcript or caption work. Do not wait for upload unless the next operation explicitly requires cloud bytes.

On timeout, check `browse_assets` and retry with the same `assetId`. Keep that ID even if restarting the helper changes its URL. If the editor cannot reach the helper, browser local-network access is unavailable, or host policy denies the transfer, stop and ask the user to upload through the visible editor instead of trying another transfer route.

## Relink an existing asset

For missing local media, preserve the existing asset and all timeline references:

1. Get the existing `assetId` from `browse_assets` and locate the corresponding original source file.
2. Serve that file with `scripts/serve-local-media.mjs` as above.
3. Call `import_media` with the helper's `url`, `filename`, and `sizeBytes`, set `action: "relink_from_editor"`, and replace the generated ID with the **existing assetId**.
   For multiple files, use the same `files` array form, with an existing asset ID in every entry.
4. Wait for `status: "locally_relinked"` before stopping the helper. Keep the editor open while upload or transcription finishes.

Relink always reads the supplied file. The media type must match, and the file must be the corresponding original rather than a replacement edit. If project sync has not exposed the target to the editor, wait and retry. A failed relink must not fall back to creating a new asset.

## Fallback

If the host cannot run the helper or the editor cannot access its loopback URL, ask the user to upload the file in the visible target-project editor. Do not invent asset IDs or URLs, and do not upload files the user did not identify or approve. Public URLs must be downloaded to a readable local file before using the same-machine route.
Pliki w paczce (2)
  • SKILL.md 4 KB
  • scripts/serve-local-media.mjs 1 KB

Wersje

W bazie nie ma innych skilli o nazwie chatcut-media-guide.

Migawka bazy z 13.11.2026 · wersja paczki 17b82507b628 (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

  • 82ChatCut 使用帮助
    Odpowiada na pytania o funkcje i sposób użycia ChatCut.
  • 90chatcut-export-guide
    Prowadzi przez renderowanie, eksport i udostępnianie projektu ChatCut, gdy trzeba go pobrać lub dostarczyć.
  • 100chatcut-editing-sop
    Montuje w ChatCut pionowe nagrania mówione i poradniki według ustalonego procesu: rytm, napisy, dźwięk i kontrola retencji.
  • 85asset-import
    Pozyskuje i importuje media z plików lokalnych i adresów URL do biblioteki zasobów projektu OpenChatCut do montażu wideo, wybierając między import_media, download_media i działaniem ręcznym.
  • 90viral-video-cloner
    Odtwarza wirusowe wideo z własną osobą, produktem lub miejscem, zachowując ruchy, kamerę i tempo oryginału, np. w ChatCut.
  • 95filmcraft
    Obsługuje edytor wideo FilmCraft przez CLI i serwer MCP: przegląda projekty, importuje media, renderuje podglądy i eksportuje pliki.

Uwagi i zgłoszenia

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