plist-drift-detector

plist-drift-detector is a skill for Claude Code, Codex from dailyaiagents-cpu/dailyai-os. It costs 59 tokens per session (800 once invoked), scanned A, original, MIT.

A scheduled checker for macOS launchd services. launchd is the system that starts and manages background jobs, while plist files describe those jobs.

In plain words
What is it for?
Use it to detect services loaded without a matching source file or source files that are not loaded, send Telegram alerts when drift changes, and record an intentional baseline.
Why use it?
It finds differences between services currently loaded and the plist files kept as the intended source of truth, while avoiding repeated alerts for unchanged differences.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to detect services loaded without a matching source file or source files that are not loaded, send Telegram alerts when drift changes, and record an intentional baseline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dailyaiagents-cpu/dailyai-os/plist-drift-detector
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dailyaiagents-cpu/dailyai-os --skill plist-drift-detector
Clone the repo
git clone --depth 1 https://github.com/dailyaiagents-cpu/dailyai-os

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for plist-drift-detector

README.md
[![agentmods](https://agentmods.dev/badge/skills/dailyaiagents-cpu/dailyai-os/plist-drift-detector/github.svg)](https://agentmods.dev/skills/dailyaiagents-cpu/dailyai-os/plist-drift-detector)
Your own site
<a href="https://agentmods.dev/skills/dailyaiagents-cpu/dailyai-os/plist-drift-detector"><img src="https://agentmods.dev/badge/skills/dailyaiagents-cpu/dailyai-os/plist-drift-detector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for plist-drift-detector

Your own site · 80×15
<a href="https://agentmods.dev/skills/dailyaiagents-cpu/dailyai-os/plist-drift-detector"><img src="https://agentmods.dev/badge/skills/dailyaiagents-cpu/dailyai-os/plist-drift-detector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 800 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00800
Opus 5.5 $0.00024 $0.00320
Sonnet 5.5 $0.00012 $0.00160
Haiku 4.5 $0.00006 $0.00080

Measured 2mo ago against content hash 3882a86b0075, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plist-drift-detector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/plist-drift-detector/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

plist-drift-detector

Why this exists

The existing launchd-drift-recovery watches 4 hard-coded labels. Audit on 2026-05-07 found 16 loaded-only and 12 source-only labels of drift across the broader fleet. Either class can hide a real bug (a service registered out-of-band; a service quietly removed from the loadout). This skill reconciles them and alerts only when the drift set changes — stable drift is logged but quiet.

How to run

bash skills/plist-drift-detector/run.sh             # default — alert on change
bash skills/plist-drift-detector/run.sh --dry-run   # no Telegram, no state writes
bash skills/plist-drift-detector/run.sh --baseline  # write current drift as baseline (use after intentional changes)
bash skills/plist-drift-detector/run.sh --synthetic # synthetic test: artificially injects a missing plist into the comparison

Pipeline

  1. List loaded labels matching the daily-ai prefix set (ai.openclaw.*, ai.hermes.*, ai.dailyaiagents.*, com.dailyai.*, com.dailyaiagents.*, com.dai.*).
  2. List source plists in config/launchd/*.plist (excluding DEAD-* archived plists).
  3. Compute set differences:
    • loaded_only — running but no source-of-truth (suspicious — out-of-band installation)
    • source_only — checked into source but not loaded (suspicious — should be running)
  4. Read previous run's state from data/plist-drift/state.json. Compare today's drift set hash to yesterday's.
  5. If hash changed AND we are not in cooldown (last alert >6h ago), Telegram-alert with diff. Otherwise silent.
  6. Always update state file with current drift snapshot + ts.

Status codes

STATUS=GREEN — no drift STATUS=YELLOW drift=N hash=... — drift exists; same as last run; silent STATUS=ALERT drift=N changed_from=... — drift changed; Telegram sent

State

data/plist-drift/state.json:

{
  "ts": "2026-05-07T17:41Z",
  "loaded_only": ["..."],
  "source_only": ["..."],
  "hash": "sha256(loaded_only|source_only)",
  "last_alert_ts": "2026-05-07T17:41Z"
}

Read the full file on GitHub · 62 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 62 lines · 59 tokens per session scan A 3882a86b0075

Subscribe to this mod's changes

plist-drift-detector is a skill published in the GitHub repository dailyaiagents-cpu/dailyai-os (0 stars, last pushed 6mo ago), licensed MIT. It adds 59 tokens to every session and 800 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

plist-drift-detector compared with skills from other repositories

plist-drift-detector next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plist-drift-detectordailyaiagents-cpu/dailyai-osSkill06mo agoMITA59Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code