Przejdź do treści
Biblioteka skilli
DevOps i chmura · Automatyzacja

pi-supervised-execution

/pi-supervised-execution

Pomaga uruchamiać pi z cron lub systemd, gdy stdin i PATH różnią się od powłoki i zadanie po cichu zawodzi.

Repozytorium
agent-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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 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 robi i kiedy

Pomaga uruchamiać pi z cron lub systemd, gdy stdin i PATH różnią się od powłoki i zadanie po cichu zawodzi.

Oryginalny opis (EN)

Use when launching pi from cron, systemd, or another supervisor, where stdin or PATH may differ from an interactive shell and the job silently fails.

Jak działa

  1. Authorization and test boundary
Sekcje z nagłówków SKILL.md, w oryginale · 26 linii, 388 słów
Podgląd SKILL.md
---
name: pi-supervised-execution
description: "Use when launching pi from cron, systemd, or another supervisor, where stdin or PATH may differ from an interactive shell and the job silently fails."
---
# Pi Supervised Execution

## Authorization and test boundary

These instructions grant no permission. Confirm the exact resources, allowed effects and data handling before acting. Use synthetic canaries and disposable fixtures for deliberate failures; never use real credentials as test inputs. Keep secrets and fragments out of model context, arguments, logs and plaintext artifacts. Imports, constructors, help and dry-run commands may have effects. Establish external-effect isolation before executing untrusted code; application stubs are not a sandbox. Record untested scope and obtain separate authorization for production changes or destructive actions.

Purpose: keep a pi invocation alive under a system supervisor. Each supervisor removes something pi needs: systemd can provide stdin at end-of-file, and cron can provide a minimal PATH that causes exit code 127. The form that works in an interactive shell often fails under a supervisor, with a different symptom each time.

Rule: invoke pi by absolute path, with stdin and environment declared explicitly, never inherited. A wrapper script can own the stdin pipe and resolve the binary path, which covers both cases without guessing which one is missing.

Inputs: the absolute path of the pi binary, the prompt or mode, and the supervisor type.

Steps:

1. Compare the supervisor's environment with an interactive shell. List the stdin source, the PATH, and the working directory.
2. Write a wrapper that resolves the binary path, sets PATH explicitly if needed, and supplies its own stdin.
3. Abort with a named reason when a binary is missing. The message must say which binary was missing and show the effective PATH. A bare exit code hides the cause, and a silent job looks like "nothing to do".
4. For cron, a PATH line at the top of the crontab helps, but the absolute path inside the script is what makes the script correct on its own.
5. Test the launch under the real supervisor, not only from the shell, and read its log after the first scheduled run.

Negative control: remove the PATH entry in a test copy and confirm the named abort appears instead of a bare exit code.

Lesson: when a neighboring job already works under the same supervisor, read its configuration before writing a new one.

Done criteria: the wrapper's abort messages, the absolute paths used, the supervisor configuration, and one successful run recorded in the supervisor log.

Wersje

W bazie nie ma innych skilli o nazwie pi-supervised-execution.

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

  • 95cron-scheduling
    Konfiguruje cykliczne zadania w cron i timerach systemd, z obsługą stref czasowych, ponawianiem i diagnozą nieuruchomionych zadań.
  • 100linux-cron-jobs-systemd-timers
    Automatyzuje cykliczne zadania konserwacyjne w systemie Linux przez wpisy crontab i obserwowalne timery systemd.
  • 95systemd-cheatsheet
    Podaje polecenia systemd: start, stop, enable i status usług, pisanie plików unit, zapytania journalctl i timery zamiast cron.
  • 86cron-delivery-pitfalls
    Pomaga, gdy wynik zadania cron nie dociera do odbiorcy albo skrypt cron kończy się błędem.
  • 100systemd-services
    Tworzy i zarządza usługami i timerami systemd oraz konfiguruje zależności usług i limity zasobów.
  • 100systemd-services
    Tworzy i zarządza usługami i timerami systemd oraz konfiguruje zależności usług i limity zasobów.

Uwagi i zgłoszenia

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