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.
npx skills add pivoshenko/pivoshenko.ai --skill macos-maintenancegit clone --depth 1 https://github.com/pivoshenko/pivoshenko.aiWrote 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.
[](https://agentmods.dev/skills/pivoshenko/pivoshenko.ai/macos-maintenance)<a href="https://agentmods.dev/skills/pivoshenko/pivoshenko.ai/macos-maintenance"><img src="https://agentmods.dev/badge/skills/pivoshenko/pivoshenko.ai/macos-maintenance/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.
<a href="https://agentmods.dev/skills/pivoshenko/pivoshenko.ai/macos-maintenance"><img src="https://agentmods.dev/badge/skills/pivoshenko/pivoshenko.ai/macos-maintenance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00169 | $0.01846 |
| Opus 5 | $0.00084 | $0.00923 |
| Sonnet 5 | $0.00034 | $0.00369 |
| Haiku 4.5 | $0.00017 | $0.00185 |
Grade B, and why
macos-maintenance scanned grade B with 1 finding 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 4d ago.
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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- **OS updates**: `sudo softwareupdate -i -a` — sudo -> ask; may require restart, say which updates do. How it starts
The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
macOS Maintenance
Periodic once-over: sweep (read-only) -> report -> confirm -> apply -> verify. Optimization = real wins only: updates applied, reboot when due, indexing sane, startup load lean. No snake-oil (purge, blind cache wipes, repair-permissions theater). Storage/junk -> macos-cleanup, hand off.
Sweep (read-only)
Run all categories, every one shows up in the report — clean ones as "ok", never silently omitted. Warn up front: softwareupdate -l + diskutil verifyVolume take a minute+.
- Updates —
softwareupdate -l(slow);brew update >/dev/null && brew outdated(metadata-only refresh, ok in sweep);brew doctor(warnings only, most are noise — flag real ones). - Disk health —
df -h /free %;diskutil info disk0 | grep -i smart-> must say Verified;diskutil verifyVolume /(read-only First Aid, live-volume ok);tmutil listlocalsnapshots /count (thinning is automatic — report only). - Memory/CPU —
memory_pressure(plain run prints summary);sysctl vm.swapusage— heavy swap + warning level -> note worst consumers viatop -l 2 -o mem -n 5 -stats pid,command,cpu,mem. - Battery —
pmset -g batt;system_profiler SPPowerDataType | grep -E 'Cycle Count|Condition|Maximum Capacity'-> Condition ≠ Normal or capacity <80% = attention. - Backups —
tmutil destinationinfo(configured at all?);tmutil latestbackup(may need Full Disk Access -> fallbacktmutil listbackups | tail -1). Last backup >7d = attention; not configured = say so once, user's call. - Spotlight —
mdutil -s /(enabled? stuck "in progress"?);ps aux | grep -E 'mds_stores|mdworker' | grep -v grepCPU%. Optimization: big dev trees indexed -> suggest Spotlight Privacy exclusions for build-artifact dirs (node_modules,target,.venvparents) — GUI only, System Settings -> Siri & Spotlight. - Crashes/panics —
ls -lt ~/Library/Logs/DiagnosticReports | head;ls /Library/Logs/DiagnosticReports 2>/dev/null | grep -i panic. Repeated crashes of one app or any kernel panic = attention + name it. - Uptime —
uptime. >14d -> recommend reboot (memory leaks + pending updates accumulate; that's the whole fix, no theater). - Startup load —
osascript -e 'tell app "System Events" to get name of every login item'+ LaunchAgents count. Just the headcount here — deep dead-agent audit lives inmacos-cleanup, point there if list looks bloated.
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.
- 4d ago Changed 414d47fe268c
- 9d ago First seen · 56 lines · 169 tokens per session scan B 729cbff57a42
macos-maintenance is a skill published in the GitHub repository pivoshenko/pivoshenko.ai (4 stars, last pushed 4d ago), licensed MIT. It adds 169 tokens to every session and 1,846 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
newsjack-detector
Monitor current news and reaction signals, then decide which are credible newsjacking opportunities for a client. Uses the local monitoring engine for evidence, but the skill owns PR judgment, brand safety, standing, decay, angle fit, and handoff.
crisis-holding
Draft crisis holding statements, journalist Q&A posture, and what-not-to-say guidance from confirmed incident facts, with a hard legal-counsel gate. Builds each statement through proven crisis-comms frameworks (holding-statement anatomy, SCCT, CAP order, the legitimate non-answer, bridge/flag/block).
find-journalists
Build, refine, dedupe, and enrich small fit-checked journalist lists for newsjack campaigns. Uses the newsjack CLI (preferred) or the medialyst MCP for news search and journalist enrichment, and falls back to a best-effort local mode with no verified contacts; the agent owns how returned data is organized.
voice-extractor
Capture a user's real writing voice from 5-20 prior samples, store a local voice.yaml fingerprint, and enforce it on newsjack drafts so AI tells disappear. Measures voice with named stylometry lenses (Burrows's Delta function-word vector, MATTR lexical diversity, sentence-length burstiness, Biber Dimension-1 register…
80-livekit-agents-majiayu000-claude-skill-registr
Create your LiveKit Agents skill from official documentation, then learn to improve it throughout the chapter.
fact-check
Extract factual claims from PR copy, verify each claim independently, attach concrete citations, and warn when certainty is low. Runs each claim through proven newsroom verification methods (lateral reading, source-tier climbing, provenance pillars, triangulation, calibrated rating) and puts the burden of proof on the…