{
  "schemaVersion": "1.0",
  "item": {
    "slug": "launchagent-manager",
    "name": "Launchagent Manager",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/RuneweaverStudios/launchagent-manager",
    "canonicalUrl": "https://clawhub.ai/RuneweaverStudios/launchagent-manager",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/launchagent-manager",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=launchagent-manager",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "_meta.json",
      "scripts/launchagent_manager.py"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-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/launchagent-manager"
    },
    "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/launchagent-manager",
    "agentPageUrl": "https://openagent3.xyz/skills/launchagent-manager/agent",
    "manifestUrl": "https://openagent3.xyz/skills/launchagent-manager/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/launchagent-manager/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Description",
        "body": "List, classify, prune LaunchAgents; analyze openclaw.json so the proper gateway LaunchAgent remains connected and tokens match. Keeps only OpenClaw-related agents; can unload/delete others."
      },
      {
        "title": "LaunchAgent Manager",
        "body": "Manages LaunchAgents in ~/Library/LaunchAgents and analyzes openclaw.json so the gateway LaunchAgent stays correct: loaded when it should be, and tokens matching config vs running gateway.\n\nList/prune: Classify agents as OpenClaw (keep) or other (prune). OpenClaw = Label or path contains \"openclaw\".\nConfig check: Read openclaw.json → gateway port, auth mode, token set; find the gateway plist (e.g. ai.openclaw.gateway); report loaded? running? tokens match? (Uses gateway-guard status when available.) Recommends loading the plist or running gateway-guard ensure --apply if needed.\n--fix: With --config, can load the gateway plist if not loaded and run gateway-guard ensure --apply if tokens mismatch."
      },
      {
        "title": "Usage",
        "body": "Ensure gateway stays connected: Run --config to verify the gateway LaunchAgent is loaded and tokens match; use --config --fix to load plist and sync auth.\nList what's running: see OpenClaw vs other agents.\nRemove non-OpenClaw LaunchAgents: prune so only OpenClaw daemons remain.\n\npython3 <skill-dir>/scripts/launchagent_manager.py [--list] [--json]\npython3 <skill-dir>/scripts/launchagent_manager.py --config [--fix] [--json]\npython3 <skill-dir>/scripts/launchagent_manager.py --prune [--dry-run]\npython3 <skill-dir>/scripts/launchagent_manager.py --prune --apply [--delete-plists]\n\n--list (default) — List all LaunchAgents; show OpenClaw (kept) vs others (prune targets). Shows loaded/unloaded.\n--config — Analyze openclaw.json and gateway LaunchAgent: config path, gateway port, auth, token set; gateway plist label and loaded?; gateway process running?; tokens match (config vs running)? Recommendations if plist not loaded or tokens mismatch. Exit 0 if all ok, 1 if action needed.\n--config --fix — If gateway plist not loaded: run launchctl load <plist>. If tokens don't match: run gateway-guard ensure --apply --json. Requires gateway-guard skill.\n--config --json — Machine-readable report: config_path, gateway, gateway_launchagent, gateway_loaded, tokens_match, gateway_running, recommendations.\n--json — For --list: { \"openclaw\": [...], \"others\": [...] }.\n--prune — Operate on non-OpenClaw agents. Without --apply this is a dry-run (show what would be unloaded).\n--prune --dry-run — Only show what would be unloaded.\n--prune --apply — Unload each non-OpenClaw LaunchAgent. Plist files kept unless --delete-plists.\n--prune --apply --delete-plists — Unload and delete plist files (backed up to OPENCLAW_HOME/backups/launchagents)."
      },
      {
        "title": "Safety",
        "body": "Only user domain is touched: ~/Library/LaunchAgents/. System domain is not modified.\nOpenClaw detection is conservative: Label com.openclaw.* or any ProgramArgument containing \"openclaw\" → kept.\nWith --delete-plists, backups are written to OPENCLAW_HOME/backups/launchagents/ before deletion."
      },
      {
        "title": "Requirements",
        "body": "macOS (launchctl, plist in user LaunchAgents).\nPython 3 with plistlib (standard library)."
      }
    ],
    "body": "Launchagent Manager\nDescription\n\nList, classify, prune LaunchAgents; analyze openclaw.json so the proper gateway LaunchAgent remains connected and tokens match. Keeps only OpenClaw-related agents; can unload/delete others.\n\nLaunchAgent Manager\n\nManages LaunchAgents in ~/Library/LaunchAgents and analyzes openclaw.json so the gateway LaunchAgent stays correct: loaded when it should be, and tokens matching config vs running gateway.\n\nList/prune: Classify agents as OpenClaw (keep) or other (prune). OpenClaw = Label or path contains \"openclaw\".\nConfig check: Read openclaw.json → gateway port, auth mode, token set; find the gateway plist (e.g. ai.openclaw.gateway); report loaded? running? tokens match? (Uses gateway-guard status when available.) Recommends loading the plist or running gateway-guard ensure --apply if needed.\n--fix: With --config, can load the gateway plist if not loaded and run gateway-guard ensure --apply if tokens mismatch.\nUsage\nEnsure gateway stays connected: Run --config to verify the gateway LaunchAgent is loaded and tokens match; use --config --fix to load plist and sync auth.\nList what's running: see OpenClaw vs other agents.\nRemove non-OpenClaw LaunchAgents: prune so only OpenClaw daemons remain.\npython3 <skill-dir>/scripts/launchagent_manager.py [--list] [--json]\npython3 <skill-dir>/scripts/launchagent_manager.py --config [--fix] [--json]\npython3 <skill-dir>/scripts/launchagent_manager.py --prune [--dry-run]\npython3 <skill-dir>/scripts/launchagent_manager.py --prune --apply [--delete-plists]\n\n--list (default) — List all LaunchAgents; show OpenClaw (kept) vs others (prune targets). Shows loaded/unloaded.\n--config — Analyze openclaw.json and gateway LaunchAgent: config path, gateway port, auth, token set; gateway plist label and loaded?; gateway process running?; tokens match (config vs running)? Recommendations if plist not loaded or tokens mismatch. Exit 0 if all ok, 1 if action needed.\n--config --fix — If gateway plist not loaded: run launchctl load <plist>. If tokens don't match: run gateway-guard ensure --apply --json. Requires gateway-guard skill.\n--config --json — Machine-readable report: config_path, gateway, gateway_launchagent, gateway_loaded, tokens_match, gateway_running, recommendations.\n--json — For --list: { \"openclaw\": [...], \"others\": [...] }.\n--prune — Operate on non-OpenClaw agents. Without --apply this is a dry-run (show what would be unloaded).\n--prune --dry-run — Only show what would be unloaded.\n--prune --apply — Unload each non-OpenClaw LaunchAgent. Plist files kept unless --delete-plists.\n--prune --apply --delete-plists — Unload and delete plist files (backed up to OPENCLAW_HOME/backups/launchagents).\nSafety\nOnly user domain is touched: ~/Library/LaunchAgents/. System domain is not modified.\nOpenClaw detection is conservative: Label com.openclaw.* or any ProgramArgument containing \"openclaw\" → kept.\nWith --delete-plists, backups are written to OPENCLAW_HOME/backups/launchagents/ before deletion.\nRequirements\nmacOS (launchctl, plist in user LaunchAgents).\nPython 3 with plistlib (standard library)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/RuneweaverStudios/launchagent-manager",
    "publisherUrl": "https://clawhub.ai/RuneweaverStudios/launchagent-manager",
    "owner": "RuneweaverStudios",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/launchagent-manager",
    "downloadUrl": "https://openagent3.xyz/downloads/launchagent-manager",
    "agentUrl": "https://openagent3.xyz/skills/launchagent-manager/agent",
    "manifestUrl": "https://openagent3.xyz/skills/launchagent-manager/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/launchagent-manager/agent.md"
  }
}