vintlin/computer-care-skills/folder-watch
Claude Code and agent skill by vintlin/computer-care-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when watching a folder for file changes to run commands on edit, restart a local service, trigger a backup, send a notification, or debug file-change automation on macOS or Linux.
Install
npx vskill@latest install vintlin/computer-care-skills/folder-watchSKILL.md
Folder Watch
Overview
Folder watchers should be explicit about what is watched, what command runs, where logs go, and how failures are reported. Prefer reversible local automation before installing persistent agents.
Workflow
- Define watched paths and ignore rules. Exclude noisy temporary files (swap files, build artifacts,
.DS_Store) by extension or glob. Debounce or filter aggressively — do not restart a service on every transient write. - Choose the watcher. Prefer
watchexecwhen available; fall back to a simple polling script otherwise. Always set an explicit working directory (--workdirorcd). On macOS avoid Linux-only flags likefind -newermt— usestat -f %mor a portable alternative. - Decide event handling. Choose debounce (coalesce rapid changes), restart (kill and re-run on each event), or queue.
- Capture stdout/stderr to a log file. Make the log path explicit.
- Add notification only after the command is reliable. Keep credentials out of skill files and scripts — use environment variables, keychain, or a local secret manager. Include command, exit code, log path, and changed file in notifications. Avoid sending sensitive file contents.
- Test with a harmless file change before enabling persistent automation. Do not install a launchd or systemd watcher until a foreground test succeeds end-to-end.
Quick Examples
Run a command after changes:
Debounce noisy changes:
Portable recent-file check for macOS:
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/folder-watch/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vintlin/computer-care-skills/folder-watch)