
- 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- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads file-watcher automatically when relevant.
- 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
/watchcommand- 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
exceljs
aidotnet/moyucode
在Node.js中读取、操作和写入Excel电子表格(XLSX)。完全支持样式、公式、图表和大文件流式处理。
Popular other skills
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.
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.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.