本文へスキップ
TakoAPI
スキル一覧に戻る

toolguard-daemon-control

johnnylambada 作

iOS & macOS Development
493ダウンロード数はclawskills.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などお使いのコーディングエージェントにプロンプトを貼り付けてください。

リンク