👀
AutomationJavaScript

File Watcher

by rohitg00

File Watcher is an Automation skill for Claude Code, published by rohitg00 in pro-workflow.

2.8K stars270 forkson rohitg00/pro-workflowAdded 2026/08/17Repository updated 2026/08/10
agent-orchestrationai-agentsai-codingai-workflowclaudeclaude-codeclaude-code-pluginclaude-code-skillsclaude-skillscodexcontext-engineeringcursordeveloper-toolsgemini-clihooksproductivityself-correctionworkflowworktrees
Install in seconds
Install File Watcher
Copy File Watcher into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/rohitg00/pro-workflow/tree/main/skills/file-watcher ~/.claude/skills/file-watcher

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/rohitg00/pro-workflow.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/file-watcher/SKILL.md in rohitg00/pro-workflow
Installs to
~/.claude/skills/file-watcher
Collection
One of 25 skills cataloged from this repository
Category
Automation1523 skills

What File Watcher does

File Watcher sets up file watching hooks to auto-react to config changes, env file updates, and dependency modifications. Use it to create reactive workflows that respond to file system changes.

File Watcher is cataloged under Automation on DirSkills. File Watcher comes from a repository tagged agent-orchestration, ai-agents, ai-coding, ai-workflow and claude.

Documentation

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:

{
  "hookSpecificOutput": {
    "hookEventName": "SessionStart",
    "watchPaths": [
      "/absolute/path/to/.env",
      "/absolute/path/to/package.json"
    ]
  }
}

This is the opening of the README. Read the full README on GitHub.

Frequently asked about File Watcher

  • What else does rohitg00 publish alongside File Watcher?

    File Watcher is one of 25 skills that DirSkills catalogs from rohitg00/pro-workflow, the repository it ships in. Its siblings there include Agent Teams, Auto Setup and Batch Orchestration. Each one is a separate skill with its own page in this directory, installs the same way File Watcher does, and is maintained by rohitg00 in that same repository. The rest of the collection is listed on the rohitg00/pro-workflow page.

  • How does File Watcher compare to other Automation skills?

    File Watcher ranks #436 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of File Watcher against them. Open each page to compare what they document and how they install.

More from rohitg00/pro-workflow

File Watcher is one of 25 skills cataloged on DirSkills from rohitg00/pro-workflow.

See all 25 skills
👥
2w ago

Agent Teams

Agent Teams coordinates multiple Claude Code sessions as a team with shared task lists, mailbox messaging, and file-lock claiming. Use it to parallelize work on non-overlapping files or delegate cross-layer changes across a lead and teammates.
AI Engineering
2.8K270
2w ago

Auto Setup

Auto Setup detects the project type and configures quality gates, hooks, and settings for a new codebase. Use it when onboarding a new project or setting up CI integration.
Quality
2.8K270
🤖
2w ago

Batch Orchestration

Batch Orchestration decomposes large-scale, repetitive code changes into independent units and spawns parallel agents in isolated worktrees to implement them. Use it for migrations, refactors, codemods, and any change touching 10+ files with the same pattern.
Automation
2.8K270
🐛
2w ago

Bug Capture

Bug Capture turns a user-reported defect into a durable GitHub issue written in the project's own domain language, without exposing file paths or line numbers. Use it when a user reports a bug conversationally, runs a QA pass, or asks to file an issue.
Automation
2.8K270
🛡️
2w ago

Compact Guard

Compact Guard preserves critical context state before compaction and restores it after, so an agent can resume work without losing task progress, decisions, or next steps.
AI Engineering
2.8K270
🧠
2w ago

Context Engineering

Context Engineering helps you manage context windows in AI coding sessions by mastering four operations: Write, Select, Compress, and Isolate. Use it to keep token budgets efficient, plan compaction strategies, and partition work across subagents and worktrees.
AI Engineering
2.8K270