macos-launchd-service

Generate macOS launchd LaunchAgent infrastructure for auto-starting Python applications.

Updated Dec 27, 2025
One-click install
npx skills add https://github.com/pborenstein/plinth --skill macos-launchd-service
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: macos-launchd-service
Source: https://github.com/pborenstein/plinth/tree/main/skills/macos-launchd-service
Command: npx skills add https://github.com/pborenstein/plinth --skill macos-launchd-service

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill generates a complete macOS launchd service infrastructure to auto-start Python applications, including development mode with auto-reload, and log management helpers. It streamlines deploying long-running Python services on macOS by providing a ready-to-use LaunchAgent setup.

Core Features & Use Cases

  • Auto-start on login via RunAtLoad
  • Auto-restart on crash via KeepAlive
  • Logging stdout/stderr to ~/Library/Logs/
  • Development mode with auto-reload
  • Included helpers: install, uninstall, view logs, and process management

Quick Start

In your project directory, run the skill and answer prompts (Domain, Project name, Port, CLI command, Dev command, Process name), review the generated files under launchd/, and run: ./launchd/install.sh Then access the app at http://localhost:{port} and use ./view-logs.sh to monitor logs.