pi-supervised-execution
/pi-supervised-execution
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.
- Author
- otixe ↗
- Repository
- agent-skills ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
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.
Original author 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.
How it works
- Authorization and test boundary
SKILL.md preview
--- 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.
Versions
The database has no other skills named pi-supervised-execution.
Database snapshot: 13.11.2026 · package version 56828b26d8c8 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95cron-scheduling
Schedule and manage recurring tasks with cron and systemd timers. Use when setting up cron jobs, writing systemd timer units, handling timezone-aware scheduling, monitoring failed jobs, implementing retry patterns, or debugging why a scheduled task didn't run. - 100linux-cron-jobs-systemd-timers
Use this skill when automating recurring system maintenance tasks using standard crontab entries and modern, observable systemd timers. - 95systemd-cheatsheet
Use when the user needs systemd commands: systemctl start, stop, enable and status, writing unit files, journalctl log queries, timers instead of cron, boot targets, and diagnosing services that fail to start. - 86cron-delivery-pitfalls
Use when a cron result goes unseen or a cron script fails. - 100systemd-services
Create and manage systemd services and timers. Configure service dependencies and resource limits. Use when managing system services. - 100systemd-services
Create and manage systemd services and timers. Configure service dependencies and resource limits. Use when managing system services.