mac-watchdog

mac-watchdog is a skill for Claude Code, Codex from udecode/dotai. It costs 109 tokens per session (1,962 once invoked), scanned B, original, no licence file.

A Mac background watchdog that records memory use for processes and coding-agent sessions every 10 seconds. It can stop processes that use more than 40% of RAM and restart fseventsd when its memory use exceeds 1 GB.

In plain words
What is it for?
Use it to monitor and limit memory-heavy processes and Claude Code sessions, and to recover fseventsd after a large memory leak.
Why use it?
It helps prevent a Mac from freezing when agent workloads cause excessive memory use or when fseventsd develops a memory leak. It can also be installed, checked, or removed.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to monitor and limit memory-heavy processes and Claude Code sessions, and to recover fseventsd after a large memory leak.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/udecode/dotai/mac-watchdog
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 udecode/dotai --skill mac-watchdog
Clone the repo
git clone --depth 1 https://github.com/udecode/dotai

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 mac-watchdog

README.md
[![agentmods](https://agentmods.dev/badge/skills/udecode/dotai/mac-watchdog/github.svg)](https://agentmods.dev/skills/udecode/dotai/mac-watchdog)
Your own site
<a href="https://agentmods.dev/skills/udecode/dotai/mac-watchdog"><img src="https://agentmods.dev/badge/skills/udecode/dotai/mac-watchdog/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 mac-watchdog

Your own site · 80×15
<a href="https://agentmods.dev/skills/udecode/dotai/mac-watchdog"><img src="https://agentmods.dev/badge/skills/udecode/dotai/mac-watchdog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,962 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00109 $0.01962
Opus 5.5 $0.00044 $0.00785
Sonnet 5.5 $0.00022 $0.00392
Haiku 4.5 $0.00011 $0.00196

Measured 6d ago against content hash 38c595ad4af0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

mac-watchdog 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 6d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/fseventsd-diag.sh, scripts/fseventsd.sh, scripts/install-fseventsd.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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

2. To install the fseventsd watchdog, or to apply an edit to `scripts/fseventsd.sh`, the user runs `sudo zsh <skill>/scripts/install-fseventsd.sh`, because it needs root; give them the command. It copies the watchdog to
skills/mac-watchdog/SKILL.md · 60 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

7 files 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. 6d ago First seen · 60 lines · 109 tokens per session scan B 38c595ad4af0

Subscribe to this mod's changes

mac-watchdog is a skill published in the GitHub repository udecode/dotai (1,163 stars, last pushed 6d ago), with no licence file. It adds 109 tokens to every session and 1,962 once invoked, about $0.0004 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-11-26.

Related

mac-watchdog compared with skills from other repositories

mac-watchdog next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mac-watchdogudecode/dotaiSkill1.2k6d agononeB109Claude Code, Codex
x-tweet-by-conversationbrowser-act/skillsSkill6.5k28d agoMITA218Claude Code, Codex
oma-scholarfirst-fluke/oh-my-agentSkill1.5kyesterdayMITA30Claude Code
monorepo-managementwshobson/agentsSkill43k2d agoMITC54Claude Code
render-3d-product-showcasegooseworks-ai/goose-skillsSkill1.4k4d agoMITA159Claude Code, Codex
render-airdrop-carouselgooseworks-ai/goose-skillsSkill1.4k4d agoMITA207Claude Code, Codex
email-lifecycle-flow-writergooseworks-ai/goose-skillsSkill1.4k4d agoMITA50Claude Code, Codex