macOS Job Inventory — Audit LaunchAgents and Loaded Jobs
Read-only inventory of macOS LaunchAgent plists and whether launchd reports each label as loaded.
$12
Works with the AI Agents you already use
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
| Item | Load state | Plist | Meaning |
|---|---|---|---|
| com.example.backup | not loaded | valid | The file is fine, but launchd does not list this label |
| com.example.report | not loaded | valid | Same as above |
| com.example.broken.plist | unknown | invalid | The file could not be parsed, so its label is unknown (shown by file name) |
Exit code 1 because one plist is invalid.
Next steps
- Fix or remove com.example.broken.plist, then re-run.
- If backup and report should be running, load them with launchctl yourself (this tool never does).
- 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
Labeland compares it with the labels fromlaunchctl 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 listfailed)
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.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
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
- Software
Python