file-watcher-setup
Set up cross-platform file system watching with debouncing and efficient change detection
npx skills add a5c-ai/babysitter --skill file-watcher-setup --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# file-watcher-setup Set up cross-platform file system watching with debouncing, efficient change detection, and proper resource management. ## Capabilities - Watch files and directories - Configure debouncing - Handle recursive watching - Filter file types - Detect add/change/delete events - Handle watcher errors - Resource cleanup ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string" }, "watchLibrary": { "enum": ["chokidar", "native", "nsfw"] }, "debounceMs": { "type": "number", "default": 300 } }, "required": ["projectPath"] } ``` ## Chokidar Example ```javascript const chokidar = require('chokidar'); const watcher = chokidar.watch('/path/to/watch', { ignored: /(^|[\/\\])\../, persistent: true, ignoreInitial: true, awaitWriteFinish: { stabilityThreshold: 300, pollInterval: 100 } }); watcher .on('add', path => console.log(`Added: ${path}`)) .on('change', path => console.log(`Changed: ${path}`)) .on('unlink', path => console.log(`Removed: ${path}`)); ``` ## Related Skills - `file-dialog-abstraction` - `file-system-integration` process
- Capabilities
- Input Schema
- Chokidar Example
- Related Skills
What does the file-watcher-setup skill do?
Set up cross-platform file system watching with debouncing and efficient change detection
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill file-watcher-setup --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
