Skip to content
Back to skills

File Watcher

ASecurity

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

  • 85 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
toolspythongobashgit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add AIDotNet/MoYuCode --skill file-watcher --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of File Watcher?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for File Watcher
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aidotnet-file-watcher/badge)](https://www.skillsdirectory.com/skills/aidotnet-file-watcher)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: file-watcher
description: 监视文件和目录变化,支持事件回调和过滤。
metadata:
  short-description: 监视文件变化
source:
  repository: https://github.com/gorakhargosh/watchdog
  license: Apache-2.0
---

# 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

```bash
# 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: ✅

Files in this skill

  • SKILL.md906 B
  • scripts/file_watcher.py2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.