Agent skill

File Watcher

by qdhenry in qdhenry/Claude-Command-Suite

Chokidar-based file watcher that triggers claude -p on changes.

No licenceAuto-check passedDevelopment

Install File Watcher

skills CLI
$ npx skills add qdhenry/Claude-Command-Suite --skill file-watcher -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install qdhenry/Claude-Command-Suite file-watcher --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/qdhenry/Claude-Command-Suite.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/file-watcher .claude/skills/file-watcher && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
file-watcher
GitHub stars
1.3k
Token cost
~808 tokens
SKILL.md length
276 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

Chokidar-based file watcher that triggers claude -p on changes.

  • Works in 5 steps: Chokidar watches the target path for add… → Changes are debounced (default 500ms) to… → For each changed file, the {{file}}… → …
  • Claude -p on changes
  • SKILL.md covers Overview, Quick Start, CLI Reference and How It Works, plus 4 more sections
  • Calls node, bun and claude

What it does

File Watcher is an agent skill from qdhenry/Claude-Command-Suite. Chokidar-based file watcher that triggers claude -p on changes. Useful for automated AI reactions to file changes — design sync, code validation, config regeneration, etc.

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: Professional slash commands for Claude Code that provide structured workflows for software development tasks including code review, feature creation, security auditing, and…

When your agent uses it

  • Claude -p on changes

Example prompts

  • “/file-watcher”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Chokidar watches the target path for add and change events
  2. Changes are debounced (default 500ms) to batch rapid saves
  3. For each changed file, the {{file}} placeholder in the prompt is replaced with the actual file path
  4. claude -p '' --print is executed via child_process.execSync
  5. Claude's output is logged to stdout

What it can do on your machine

Read from SKILL.md and the folder at commit e89b2f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node
    • bun
    • claude
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

File Watcher loads about 808 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 276 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~808

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 276 words (~808 tokens).

“Sets up a file watcher using chokidar that monitors a path for changes and runs a Claude prompt against every changed file. The prompt supports a {{file}} placeholder that gets replaced with the changed file path.”

— opening of SKILL.md by qdhenry
name
file-watcher

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/file-watcher of qdhenry/Claude-Command-Suite.

Open the folder on GitHubat commit e89b2f0

Compare with similar skills

File Watcher next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

File Watcher compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
File Watcher this skillqdhenry/Claude-Command-Suite1.3k—~808Automated safety check: PassNone
Trellis Session Insightmindfold-ai/Trellis15k4 repos~1.7kAutomated safety check: PassAGPL-3.0
Openspec Verify ChangeFission-AI/OpenSpec71k2 repos~4.6kAutomated safety check: PassMIT
Warp Factory Fileswarpdotdev/warp65k1 repos~2.5kAutomated safety check: PassAGPL-3.0
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Analyze Logsactivepieces/activepieces25k1 repos~1.6kAutomated safety check: PassMIT

Similar skills

  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Openspec Verify Change

    Fission-AI/OpenSpec

    Verify implementation matches OpenSpec change artifacts. An agent skill from Fission-AI/OpenSpec.

    71k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Warp Factory Files

    warpdotdev/warp

    Authors and edits file-based Warp software factory definitions rooted at factory.yaml, covering agents, automations, scorers and webhooks, and validates them before a pull request.

    65k GitHub starsUsed in 1 repo~2.5k tokens
    DevelopmentAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Analyze Logs

    activepieces/activepieces

    Analyze application logs from the .evlog/logs/ directory. An agent skill from activepieces/activepieces.

    25k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed

More from qdhenry/Claude-Command-Suite

All 9 skills in this repo
  • Audit Env Variables

    qdhenry/Claude-Command-Suite

    Analyze environment variables in JavaScript/TypeScript projects.

    1.3k GitHub stars~2.8k tokensUpdated 7 mo ago
    Auto-check: notes
  • Elevenlabs Transcribe

    qdhenry/Claude-Command-Suite

    Transcribes audio/video files using ElevenLabs Scribe v2 API.

    1.3k GitHub stars~1.5k tokensUpdated 7 mo ago
    Auto-check: notes
  • Extract Video Frames

    qdhenry/Claude-Command-Suite

    Extracts frames and timestamped audio segments from video files (GIF, MP4, MOV) at configurable intervals and stores them in a directory with a manifest file.

    1.3k GitHub stars~1.6k tokensUpdated 7 mo ago
    Auto-check passed
  • Bigcommerce API

    qdhenry/Claude-Command-Suite

    BigCommerce API expert for building integrations, apps, headless storefronts, and automations.

    1.3k GitHub stars~1.5k tokensUpdated 7 mo ago
    Auto-check passed
  • Setup Agent Tail

    qdhenry/Claude-Command-Suite

    Configure agent-tail log aggregation for the current project.

    1.3k GitHub stars~1.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Setup Portless

    qdhenry/Claude-Command-Suite

    Sets up Portless for a project to replace port numbers with stable named .localhost URLs.

    1.3k GitHub stars~1.2k tokensUpdated 7 mo ago
    Auto-check: notes

Questions about File Watcher

What does File Watcher do?

Chokidar-based file watcher that triggers claude -p on changes. File Watcher is an agent skill from qdhenry/Claude-Command-Suite. Chokidar-based file watcher that triggers claude -p on changes.

When should I use File Watcher?

File Watcher fits situations like: Claude -p on changes.

How do I install File Watcher in Claude Code?

Run `npx skills add qdhenry/Claude-Command-Suite --skill file-watcher -a claude-code`. Or copy the skill folder (.claude/skills/file-watcher in qdhenry/Claude-Command-Suite) into .claude/skills/file-watcher in your project. Claude Code loads it when a task matches its description.

How do I install File Watcher in Codex?

Run `npx skills add qdhenry/Claude-Command-Suite --skill file-watcher -a codex`. Or copy the skill folder (.claude/skills/file-watcher in qdhenry/Claude-Command-Suite) into .agents/skills/file-watcher in your project. Codex loads it when a task matches its description.

Can I use File Watcher in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add qdhenry/Claude-Command-Suite --skill file-watcher -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/file-watcher, .gemini/skills/file-watcher, .github/skills/file-watcher and .opencode/skills/file-watcher in your project.

What does File Watcher need to run?

Going by SKILL.md and its folder, File Watcher needs the command-line tools its instructions call (node, bun, claude and npm). Our summary lists: Node.js.

Does File Watcher access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is File Watcher safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does File Watcher use?

No licence was found for File Watcher or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does File Watcher use?

About 808 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to File Watcher?

Skills that share tags, products or a category with File Watcher: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Openspec Verify Change (Fission-AI/OpenSpec, 71k stars), Warp Factory Files (warpdotdev/warp, 65k stars) and Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains File Watcher?

qdhenry (a GitHub user) maintains it in qdhenry/Claude-Command-Suite, which has 1,342 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on March 1, 2026.

Source: qdhenry/Claude-Command-Suite on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.