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

publish

/publish

Planuje publikację odcinka shadowcast na YouTube (film długi i dwa Shorty z miniaturą) oraz opcjonalnie na Facebooku i Instagramie przez SocialBunny, według kalendarza kanału.

Repozytorium
shadowcast ↗
Licencja
MIT
Ostatnia zmiana repozytorium
05.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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.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 robi i kiedy

Planuje publikację odcinka shadowcast na YouTube (film długi i dwa Shorty z miniaturą) oraz opcjonalnie na Facebooku i Instagramie przez SocialBunny, według kalendarza kanału.

Wyzwalacze z opisu

schedule/publish episode Xconnect YouTubeset the banner

Argumenty

/publish <channel slug> <episode ID> | auth <slug> | brand <slug>
Oryginalny opis (EN)

Schedule a packaged shadowcast episode on YouTube (long video plus 2 Shorts, with thumbnail), and optionally on Facebook and Instagram through SocialBunny, using the channel's release calendar. Also YouTube auth and channel branding. Use for "schedule/publish episode X", "connect YouTube" or "set the banner".

Jak działa

  1. Connect YouTube (once per channel; the user must click through Google consent)
  2. Apply branding (after auth)
  3. Schedule an episode
  4. Facebook / Instagram (optional)
  5. Errors
Sekcje z nagłówków SKILL.md, w oryginale · 40 linii, 403 słów
Podgląd SKILL.md
---
name: publish
description: Schedule a packaged shadowcast episode on YouTube (long video plus 2 Shorts, with thumbnail), and optionally on Facebook and Instagram through SocialBunny, using the channel's release calendar. Also YouTube auth and channel branding. Use for "schedule/publish episode X", "connect YouTube" or "set the banner".
argument-hint: <channel slug> <episode ID> | auth <slug> | brand <slug>
---

# Publish

`T="${CLAUDE_PLUGIN_ROOT}/tools"`, `P="$T/publish/publish.py"`, `W="${SHADOWCAST_HOME:-$HOME/Shadowcast}/<slug>"`.
Nothing is ever published immediately:
- YouTube uploads are **private with a publishAt time**, and YouTube makes them public on schedule.
- SocialBunny posts get a future `scheduledAt`.
- `publish.state.json` records every upload, so re-running is always safe.

## Connect YouTube (once per channel; the user must click through Google consent)
`python3 "$P" auth <slug>` opens a browser on port 8765.
- Tell the user to pick the **new channel's** Brand Account, not their personal channel.
- Then run `python3 "$P" whoami <slug>`, and save that exact title as `youtube.channel_title` in channel.json.

## Apply branding (after auth)
Run:
```
python3 "$P" brand <slug> --banner "$W/brand/banner.jpg" --description-file "$W/brand/description.txt" --keywords "<comma list from channel.json youtube.keywords>"
```
The API can't change the channel **name** or **profile picture**. Give the user `W/brand/avatar.png` and the name, with the Studio path: YouTube Studio → Customization → Branding / Basic info.

## Schedule an episode
1. Make sure the status is `packaged` (`python3 "$T/ep.py" list <slug>`).
2. `python3 "$P" schedule "<dir>/out/publish.json"` books the next free release day and prints the local times. Pass `--date YYYY-MM-DD` only if the user asked for a date.
3. `python3 "$P" publish "<dir>/out/publish.json" --dry-run`, then show the plan.
4. `python3 "$P" publish "<dir>/out/publish.json"` uploads with resume and retries; this takes several minutes per video.
   - Thumbnail upload fails with 403 until the channel is phone-verified (youtube.com/verify). Tell the user once; re-running later sets it.
5. `python3 "$P" comment "<dir>/out/publish.json"` posts the photo-credit comment on the long video. Ask the user to pin it in Studio.
6. Run `python3 "$T/ep.py" set <slug> <ID> scheduled release=<date>`, then `python3 "$T/notify.py" <slug> "Scheduled <ID>" "<title> goes live <day time>"`.
7. Report the YouTube links and times.

## Facebook / Instagram (optional)
These only run when `channel.json social.socialbunny` is set to `{"facebook": "<page handle>", "instagram": "<handle>", "fb_reels": true}` and the `socialbunny_api_key` key is set (`keys.py set socialbunny_api_key`).
- Check the accounts with `python3 "$P" accounts <slug>`. Long video goes to Facebook; Shorts go to Facebook and Instagram as Reels, at the same times.

## Errors
- "token is for 'X', manifest wants 'Y'": the wrong channel was authorised. Re-run auth and pick the right one.
- "Access blocked" in consent: the user's Google Cloud app is still in Testing. Publish it (see the setup skill).
- quotaExceeded: the YouTube API allows about 6 uploads a day per project. Wait 24 h; the next run resumes.

Wersje

RepozytoriumWynikLicencja
Ta strona · generalizingai/shadowcast100MIT
kochetkov-ma/claude-brewcode100MIT
mickeyyaya/evolve-loop100Apache-2.0
zimoliao/scholaraio100MIT
tencentcloud/octop100MIT
harbor-framework/harbor100Apache-2.0
a8cteam51/claude-code-plugins100MIT
eclecticv/skills100MIT
aetheria-labs1/storefront-skills100MIT

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

  • 90clone-channel
    Prowadzi od linku do kanału YouTube przez audyt, tożsamość nowego kanału i pierwszy odcinek z planem publikacji.
  • 90demo
    Tworzy na próbę jeden minutowy film demo, krótki Short i miniaturę w formacie podanego kanału YouTube, bez publikacji.
  • 100youtube-publish
    Bezpiecznie wgrywa gotowe filmy i Shorts na YouTube z terminala, planuje publikację i pilnuje, by nie było podwójnych wpisów.
  • 100youtube-description
    Pisze tytuły i gotowy opis z tagami YouTube dla odcinka podcastu, na podstawie transkrypcji, rozdziałów i notatek.
  • 85youtube-seo
    Optymalizuje filmy YouTube pod wyszukiwanie: tytuł, opis, tagi, miniaturę i widoczność kanału.
  • 85youtube-seo
    Pomaga optymalizować filmy YouTube pod wyszukiwanie: opisy, tagi, miniatury, tytuły i widoczność kanału.

Uwagi i zgłoszenia

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