Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aidotnet avatar

File Watcher

  • 48 installs
  • 84 repo stars
  • Updated January 28, 2026
  • aidotnet/moyucode

file-watcher is a Claude Code skill that watches files and directories for changes and can trigger a command on each change.

About

file-watcher is a Claude Code skill that watches files and directories for changes using a bundled Python script based on the watchdog library. A developer points it at a directory or file and it triggers on modifications, optionally filtering by glob pattern or running a command such as a build. It is useful for auto-running builds or tests as source files change.

  • Watches directories or single files for changes
  • Supports glob pattern filters like *.py
  • Runs a shell command on change (e.g. npm run build)

File Watcher by the numbers

  • 48 all-time installs (skills.sh)
  • Ranked #1,098 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

file-watcher capabilities & compatibility

Capabilities
file watching · change detection · build automation
Use cases
devops
Pricing
Free
From the docs

What file-watcher says it does

Watch files and directories for changes with event callbacks, pattern filtering, and action triggers.
SKILL.md
python scripts/file_watcher.py ./src/ --exec "npm run build"
SKILL.md
npx skills add https://github.com/aidotnet/moyucode --skill file-watcher

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs48
repo stars84
Last updatedJanuary 28, 2026
Repositoryaidotnet/moyucode

What it does

Watch a source directory and run a build or notification command whenever files change.

When should I use this skill?

A developer needs to monitor files and react to change notifications.

What you get

Files are watched and a chosen command runs automatically on each change.

By the numbers

  • 4 usage modes: watch directory, pattern filter, exec-on-change, watch single file

Files

SKILL.mdMarkdownGitHub ↗

File Watcher Tool

Description

Watch files and directories for changes with event callbacks, pattern filtering, and action triggers.

Trigger

  • /watch command
  • User needs to monitor files
  • User wants change notifications

Usage

# Watch directory
python scripts/file_watcher.py ./src/

# Watch with pattern filter
python scripts/file_watcher.py ./src/ --pattern "*.py"

# Watch and run command on change
python scripts/file_watcher.py ./src/ --exec "npm run build"

# Watch specific file
python scripts/file_watcher.py config.json

Tags

watch, files, monitor, events, automation

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.