iii-exec
Installation
SKILL.md
iii-exec
The iii-exec worker runs a sequential pipeline of shell commands as part of engine startup. Each entry in the configured exec: array launches as a separate child process and must exit 0 before the next entry starts; the final entry is kept running as a long-lived process for the engine's lifetime. An optional watch: glob list restarts the whole pipeline whenever a matching file changes.
The worker exposes no callable functions and no trigger types — its surface is entirely declarative. There is nothing for an agent to call at runtime; configure exec: (and optionally watch:) on the worker and the engine manages the lifecycle, supervising and shutting the process down alongside itself.
When to Use
- The engine should manage the lifecycle of a separate long-running app or daemon (boot, supervise, shut down together).
- You need prep steps that must succeed in order before a long-lived server starts (for example, install then build then serve).
- During development, the pipeline should restart automatically when source files change (via
watch:).
Boundaries
- Not a runtime command executor — the pipeline runs at engine startup only; there is no function to "run this command now."
- Not a scheduler — use the
iii-crontrigger for recurring jobs;iii-execis one-shot startup plus a single long-lived process. - Entries run sequentially, not in parallel, and do not share working directory or environment; chain dependent steps with
&&inside one entry. - A non-zero exit on any intermediate command stops the pipeline and the long-lived command never starts.