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.00181 | $0.01900 |
| Opus 5.5 | $0.00072 | $0.00760 |
| Sonnet 5.5 | $0.00036 | $0.00380 |
| Haiku 4.5 | $0.00018 | $0.00190 |
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 1mo 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 — 57 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 -> Spotlight (Siri & Spotlight on pre-15) - 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.
- 1mo ago Changed · +1 lines · +12 tokens per session 9b7017143670
- 1mo ago Changed 5bdfac47ebe1
- 1mo ago Changed 414d47fe268c
- 2mo 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 (6 stars, last pushed 2d ago), licensed MIT. It adds 181 tokens to every session and 1,900 once invoked, about $0.0007 per session on Opus 5.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).
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…
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…
find-journalists
Build a researched, fit-checked journalist list for a specific PR campaign. Prefer Medialyst's asynchronous media-list research workflow when available, with explicit approval before credit spend; otherwise produce a best-effort local list with only publicly listed, source-cited contacts.
press-clip
Turn a live article URL into a press clip that looks like the real coverage — the publication's own logo, fonts, photos and layout kept intact, the ads and clutter removed, and (for a roundup) just the client's section. Renders to PDF. You inspect each site and tailor the removal; the bundled script carries no…