macOS Job Inventory — Audit LaunchAgents and Loaded Jobs

    1

    Read-only inventory of macOS LaunchAgent plists and whether launchd reports each label as loaded.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    macOS Job Inventory — Audit LaunchAgents and Loaded Jobs

    Example session with this skill installed

    Inventory the com.example LaunchAgents in ./agents and tell me which are loaded and which plists are broken.

    • Read your context and instructions
    • Compiled the macos job inventory

    Summary

    I ran scripts/macos_job_inventory.py on ./agents with the pattern com.example.*.plist. Three plist files were found: two are valid but not loaded, and one is not a valid plist. No jobs were loaded, unloaded, or edited.

    Command

    python3 scripts/macos_job_inventory.py --directory agents --pattern 'com.example.*.plist'
    

    Output (exit code 1)

    LABEL	LOAD STATE	PLIST STATUS
    com.example.backup	not loaded	valid
    com.example.broken.plist	unknown	invalid plist (InvalidFileException)
    com.example.report	not loaded	valid
    3 plist file(s)
    

    Findings

    ItemLoad statePlistMeaning
    com.example.backupnot loadedvalidThe file is fine, but launchd does not list this label
    com.example.reportnot loadedvalidSame as above
    com.example.broken.plistunknowninvalidThe file could not be parsed, so its label is unknown (shown by file name)

    Exit code 1 because one plist is invalid.

    Next steps

    1. Fix or remove com.example.broken.plist, then re-run.
    2. If backup and report should be running, load them with launchctl yourself (this tool never does).
    3. For loaded jobs, still check their logs: "loaded" is not proof that a job works.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Build a concise inventory of macOS LaunchAgent property lists and whether launchd currently reports each label as loaded. Uses plist files as the inventory source and avoids printing program arguments or environment values.

    What it does

    • Reads every plist matching a glob (default ~/Library/LaunchAgents/*.plist, or --directory / --pattern)
    • Reads each file's Label and compares it with the labels from launchctl list
    • Prints a table: label, load state (loaded / not loaded / unknown), plist status (valid / invalid)

    Safety and privacy

    Read-only. It does not load, unload, edit, or restart jobs. It prints labels and load state only, never ProgramArguments or environment values.

    Exit codes

    • 0: every discovered plist parsed
    • 1: at least one plist was invalid
    • 2: the inventory could not be collected (for example launchctl list failed)

    Limitations

    "Loaded" only means launchd knows the label. It is not proof that the job runs or succeeds; check its logs and expected outputs separately. LaunchDaemons and other directories are covered only if you point --directory at them.

    Requirements

    macOS and Python 3.10 or newer. No third-party packages.

    macOS only. "Loaded" only means launchd lists the label, not that the job runs or succeeds. Scans one directory and glob per run (default ~/Library/LaunchAgents). Does not inspect logs or schedules.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    Requires

    macOS
    Python

    Permissions

    Terminal / Shell
    Read Files
    Listed12 days ago
    Updated5 days ago

    What's inside

    Frequently Asked Questions

    It lists LaunchAgent plist files, reads each Label, and shows whether `launchctl list` reports that label as loaded. Unparseable plists are reported as invalid.

    No. It only reads plist files and runs `launchctl list`. It never loads, unloads, edits, or restarts anything.

    No. Output contains only labels (or the file name for invalid plists), load state, and plist status. ProgramArguments and environment values are never printed.

    macOS and Python 3.10 or newer. No third-party packages. Any SKILL.md-compatible agent that can run a local script (for example Claude Code, Codex CLI, or Cursor) can use it, or you can run it directly in a terminal.

    Three files: SKILL.md (instructions for the agent), README.md (options, output, and exit codes), and scripts/macos_job_inventory.py (the inventory script). No third-party source code is bundled.

    New in LLM Ops