MCPInstall

file-watcher

监视文件和目录变化,支持事件回调和过滤。

Installs
53
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/aidotnet/moyucode --skill file-watcher
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads file-watcher automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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: ✅

FAQ

What does the file-watcher skill do?

监视文件和目录变化,支持事件回调和过滤。

How do I install file-watcher?

Run npx skills add https://github.com/aidotnet/moyucode --skill file-watcher in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/file-watcher/ (personal) or .claude/skills/file-watcher/ (project).

Which AI agents can use file-watcher?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is file-watcher safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains file-watcher?

It is published by aidotnet in aidotnet/moyucode. It has 53 recorded installs.

More from aidotnet/moyucode

View all →

bilibili-analyzer

aidotnet/moyucode

自动分析B站视频内容,下载视频并拆解成帧图片,使用AI分析并生成详细的专题文档或实操教程。

1.1K installs

exceljs

aidotnet/moyucode

在Node.js中读取、操作和写入Excel电子表格(XLSX)。完全支持样式、公式、图表和大文件流式处理。

Data & Databases185 installs

cron-scheduler

aidotnet/moyucode

Open the skill to read its SKILL.md instructions.

177 installs

puppeteer

aidotnet/moyucode

Open the skill to read its SKILL.md instructions.

125 installs

clipboard-manager

aidotnet/moyucode

Open the skill to read its SKILL.md instructions.

100 installs

nodemailer

aidotnet/moyucode

Open the skill to read its SKILL.md instructions.

95 installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs