{
  "schemaVersion": "1.0",
  "item": {
    "slug": "toolguard-daemon-control",
    "name": "toolguard-daemon-control",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/johnnylambada/toolguard-daemon-control",
    "canonicalUrl": "https://clawhub.ai/johnnylambada/toolguard-daemon-control",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/toolguard-daemon-control",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=toolguard-daemon-control",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/logs.sh",
      "scripts/uninstall.sh",
      "scripts/install.sh",
      "scripts/status.sh",
      "scripts/list.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/toolguard-daemon-control"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/toolguard-daemon-control",
    "agentPageUrl": "https://openagent3.xyz/skills/toolguard-daemon-control/agent",
    "manifestUrl": "https://openagent3.xyz/skills/toolguard-daemon-control/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/toolguard-daemon-control/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "toolguard-daemon-control",
        "body": "Manage any executable as a persistent macOS launchd user agent."
      },
      {
        "title": "Overview",
        "body": "Services are installed as ~/Library/LaunchAgents/ai.toolguard.<name>.plist and run as user-level launch agents. They auto-restart on failure and log to ~/Library/Logs/toolguard/."
      },
      {
        "title": "Scripts",
        "body": "All scripts are in scripts/ relative to this skill's directory. Run them with bash."
      },
      {
        "title": "install.sh — Create and start a service",
        "body": "bash scripts/install.sh <service-name> <command> [args...] [--workdir <dir>] [--env KEY=VALUE ...]\n\nservice-name: Short identifier (e.g., toolguard-proxy). Used in plist filename and log paths.\ncommand: Absolute path to the executable.\nargs: Arguments passed to the command.\n--workdir <dir>: Working directory for the process (default: $HOME).\n--env KEY=VALUE: Environment variables (repeatable).\n\nExample:\n\nbash scripts/install.sh toolguard-proxy /usr/local/go/bin/go run ./cmd/server --config toolguard.dev.yaml --workdir ~/Documents/toolguard"
      },
      {
        "title": "uninstall.sh — Stop and remove a service",
        "body": "bash scripts/uninstall.sh <service-name>\n\nUnloads the service and removes the plist file. Logs are preserved."
      },
      {
        "title": "status.sh — Check service status",
        "body": "bash scripts/status.sh [service-name]\n\nWithout arguments, lists all ai.toolguard.* services. With a name, shows detailed status for that service."
      },
      {
        "title": "logs.sh — View service logs",
        "body": "bash scripts/logs.sh <service-name> [--follow] [--lines <n>]\n\nShows stdout and stderr logs. Default: last 50 lines."
      },
      {
        "title": "list.sh — List all managed services",
        "body": "bash scripts/list.sh\n\nLists all installed ai.toolguard.* services with their running state."
      },
      {
        "title": "Notes",
        "body": "Services run as the current user (no sudo required).\nServices auto-restart on crash (KeepAlive = true).\nTo run a Go project, use the compiled binary path or wrap in a shell script — launchd does not support go run directly. Use go build first, then point to the binary.\nLog directory: ~/Library/Logs/toolguard/<service-name>/\nPlist location: ~/Library/LaunchAgents/ai.toolguard.<service-name>.plist"
      }
    ],
    "body": "toolguard-daemon-control\n\nManage any executable as a persistent macOS launchd user agent.\n\nOverview\n\nServices are installed as ~/Library/LaunchAgents/ai.toolguard.<name>.plist and run as user-level launch agents. They auto-restart on failure and log to ~/Library/Logs/toolguard/.\n\nScripts\n\nAll scripts are in scripts/ relative to this skill's directory. Run them with bash.\n\ninstall.sh — Create and start a service\nbash scripts/install.sh <service-name> <command> [args...] [--workdir <dir>] [--env KEY=VALUE ...]\n\nservice-name: Short identifier (e.g., toolguard-proxy). Used in plist filename and log paths.\ncommand: Absolute path to the executable.\nargs: Arguments passed to the command.\n--workdir <dir>: Working directory for the process (default: $HOME).\n--env KEY=VALUE: Environment variables (repeatable).\n\nExample:\n\nbash scripts/install.sh toolguard-proxy /usr/local/go/bin/go run ./cmd/server --config toolguard.dev.yaml --workdir ~/Documents/toolguard\n\nuninstall.sh — Stop and remove a service\nbash scripts/uninstall.sh <service-name>\n\n\nUnloads the service and removes the plist file. Logs are preserved.\n\nstatus.sh — Check service status\nbash scripts/status.sh [service-name]\n\n\nWithout arguments, lists all ai.toolguard.* services. With a name, shows detailed status for that service.\n\nlogs.sh — View service logs\nbash scripts/logs.sh <service-name> [--follow] [--lines <n>]\n\n\nShows stdout and stderr logs. Default: last 50 lines.\n\nlist.sh — List all managed services\nbash scripts/list.sh\n\n\nLists all installed ai.toolguard.* services with their running state.\n\nNotes\nServices run as the current user (no sudo required).\nServices auto-restart on crash (KeepAlive = true).\nTo run a Go project, use the compiled binary path or wrap in a shell script — launchd does not support go run directly. Use go build first, then point to the binary.\nLog directory: ~/Library/Logs/toolguard/<service-name>/\nPlist location: ~/Library/LaunchAgents/ai.toolguard.<service-name>.plist"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/johnnylambada/toolguard-daemon-control",
    "publisherUrl": "https://clawhub.ai/johnnylambada/toolguard-daemon-control",
    "owner": "johnnylambada",
    "version": "0.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/toolguard-daemon-control",
    "downloadUrl": "https://openagent3.xyz/downloads/toolguard-daemon-control",
    "agentUrl": "https://openagent3.xyz/skills/toolguard-daemon-control/agent",
    "manifestUrl": "https://openagent3.xyz/skills/toolguard-daemon-control/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/toolguard-daemon-control/agent.md"
  }
}