drain
/drain
Obsługuje lokalną kolejkę zadań z chmury: publikuje komentarze LinkedIn, pobiera analizy i zatwierdzone wpisy, a potem oznacza każdy punkt jako wykonany lub wygasły.
- Autor
- harmix ↗
- Repozytorium
- open-stanley ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Obsługuje lokalną kolejkę zadań z chmury: publikuje komentarze LinkedIn, pobiera analizy i zatwierdzone wpisy, a potem oznacza każdy punkt jako wykonany lub wygasły.
Wyzwalacze z opisu
Oryginalny opis (EN)
Work through the local queue that cloud scheduled runs left for this machine — LinkedIn comments to post, LinkedIn feed scans, analytics pulls, posts approved for publishing — using this computer's logged-in browser, then mark each item done or expired and report. Use when a session starts with queued items, when the user says "catch up", "run the queue", "post what's pending", or when the launchd/cron drain job fires. Runs only on a machine with a browser.
Jak działa
- 1. Read the queue
- 2. Job types and what to do
- 3. Close each item
- 4. Report
Podgląd SKILL.md
--- name: drain description: Work through the local queue that cloud scheduled runs left for this machine — LinkedIn comments to post, LinkedIn feed scans, analytics pulls, posts approved for publishing — using this computer's logged-in browser, then mark each item done or expired and report. Use when a session starts with queued items, when the user says "catch up", "run the queue", "post what's pending", or when the launchd/cron drain job fires. Runs only on a machine with a browser. --- # Drain the local queue **Cloud mode only.** In laptop mode (the default) every job runs with the browser and nothing is queued, so this skill has nothing to do; `queue-check` prints nothing and that is the normal outcome. In cloud mode, scheduled runs can reach your MCPs but not your browser, so anything that needs LinkedIn's UI or an X reply box is parked in `ledger/local-queue.jsonl` with an expiry. This skill is the worker. It runs whenever the laptop is online: from the `SessionStart` hook (it tells you at the top of any session that items are waiting), from the launchd job in `templates/launchd/` inside your window, or when you ask. ## 1. Read the queue `skills/stanley/scripts/stanley-vault queue-check` prints pending, unexpired items as JSON lines and marks expired ones. If the vault is on Google Drive, `sync` first so you see what the cloud wrote. Group by job type and do the oldest first. ## 2. Job types and what to do | `job` | payload | action | |---|---|---| | `comment` | platform, url, text, author | Open the post, confirm it still exists and the author is not the user, post `text` exactly, `comment-add`, `surfaced-add` | | `publish` | platform, draft path or text, assets, schedule time | Follow `/open-stanley:publish`; if the scheduled time has passed by more than 2h, ask before posting | | `scan` | platform, lanes, since | Follow `/open-stanley:scout` steps 1–5 for that platform only; results go to the user through `notify` and to `surfaced.jsonl` | | `analytics` | post urls | Pull metrics via the browser, `metrics-add` for each | | `study` | creator handle | Follow `/open-stanley:study` | Items whose payload references a URL that no longer exists, or whose target is older than the expiry, are marked `--failed` with the reason. Never post a comment on a stale thread just because it was queued. ## 3. Close each item `skills/stanley/scripts/stanley-vault queue-done <id> --result "<one line>"` or `--failed`. Then `sync`. ## 4. Report One message: what was done (with URLs), what failed and why, what's still pending and when it expires. Keep it under eight lines. This message is what the next cloud recap reads, so it must be in the vault (`runs.jsonl` via `run-start`/`run-end`) as well as in chat.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · harmix/open-stanley | 85 | MIT |
| Esposter/Esposter | 90 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 19741fe3d4fe (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
- 100merge-queue
Przegląda i opróżnia lokalną kolejkę odroczonych scaleń worktree, które launchd ponawia aż do skutku, w trybie list, drain lub dla jednego zgłoszenia. - 91discover
Odświeża kolejkę ofert pracy bez przeglądarki: pobiera źródła, filtruje, ocenia i zapisuje wyniki. - 100job-linkedin
Pisze pakiet profilu LinkedIn, ocenia go w skali 100, planuje posty i komentarze oraz sortuje wklejone wiadomości, a publikuje je użytkownik. - 100linkedin-browser
Czyta profil, wyniki wyszukiwania ofert i osoby na LinkedIn w przeglądarce zalogowanego użytkownika oraz wysyła zaproszenia, które użytkownik zatwierdził. - 100do-it
Przechodzi przez listę zadań projektu po jednej zakolejkowanej partii naraz, gdy użytkownik napisze „do it” albo prosi o kolejną pozycję. - 84work-loop
Opróżnia backlog zadań autonomiczną pętlą uruchamianą przez /loop: triażuje zgłoszenia, realizuje elementy przez /work-items:work i przygotowuje PR, których nie scala.