Download for MacApple silicon, macOS 14+
Skill

file-watcher

@rohitg00 Updated 2026-07-27

Configure file watching hooks to auto-react to config changes, env file updates, and dependency modifications. Use to set up reactive workflows.

agent-orchestrationai-agentsai-codingai-workflowclaudeclaude-codeclaude-code-pluginclaude-code-skills

Install

With your agent

Install OMGSkills skill "rohitg00/pro-workflow:skills/file-watcher" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/rohitg00/pro-workflow /tmp/pro-workflow && ln -s /tmp/pro-workflow/skills/file-watcher ~/.claude/skills/file-watcher

From README

File Watcher Use Claude Code's FileChanged and CwdChanged hooks to create reactive workflows that respond to file system changes. Trigger Use when: Setting up auto-reload for config changes Watching for dependency updates Monitoring build output Creating reactive development workflows How File Watching Works Claude Code's SessionStart and CwdChanged hooks support returning watchPaths to register file watchers. The current cwd-changed.js script focuses on env injection; to add watch registration, your hook script must output this JSON structure: When watched files change, the FileChanged hook fires with: Environment Injection CwdChanged and FileChanged hooks can write to CLAUDEENVFILE to inject environment variables into subsequent Bash commands: Common Watch Patterns Watch .env for Changes Watch package.json for Dependency Changes Detect when dependencies change and remind to run npm . Watch tsconfig.json for Config Changes Remind to restart TypeScript checks when config changes.