본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

toolguard-daemon-control

johnnylambada 제작

iOS & macOS Development
493clawskills.sh가 보고한 다운로드 수
1조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Manage long-running processes as macOS launchd services.

설명

이 스킬이 하는 일

Manages executables as persistent macOS launchd user agents. Handles plist creation, service lifecycle (start, stop, restart), and log access through a set of shell scripts. Services auto-restart on crash and run without elevated privileges.

Using launchd instead of background shell processes means services survive session ends and restart automatically on failure without any manual intervention.

사용 시점

  • Keep a local proxy server running after terminal closes
  • Auto-restart a development backend that crashes intermittently
  • Run a scheduled background worker as a persistent user service
  • Check which background services are currently active on macOS
  • Tail logs from a long-running daemon without manual log hunting

예시 워크플로

입력

User asks: run my Go server at ~/projects/myapp as a background service that restarts on crash

에이전트
  1. 1

    Build the Go binary with go build to produce an absolute binary path

  2. 2

    Call install.sh with the service name, binary path, any required args, and --workdir set to the project directory

  3. 3

    Verify the service is running with status.sh

  4. 4

    Confirm log output is appearing with logs.sh --follow

출력

Service installed at ~/Library/LaunchAgents/ai.toolguard.myapp.plist, running as a user agent, logs streaming to ~/Library/Logs/toolguard/myapp/

설치

clawhub install johnnylambada/toolguard-daemon-control

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크