Skip to content
Back to skills

Watchexec File Watcher Command Rerunner

ASecurity

watchexec is a standalone file-watching tool written in Rust that automatically executes commands when it detects file modifications. It respects .gitignore rules, coalesces rapid filesystem events, and works cross-platform without requiring any language runtime.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythonrustgogitapisecurity

Works with

  • api

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill watchexec-file-watcher-command-rerunner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Watchexec File Watcher Command Rerunner?

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

Security grade badge for Watchexec File Watcher Command Rerunner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-watchexec-file-watcher-command-rerunner/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-watchexec-file-watcher-command-rerunner)

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: "watchexec File Watcher and Command Re-Runner"
slug: "watchexec-file-watcher-command-rerunner"
description: "watchexec is a standalone file-watching tool written in Rust that automatically executes commands when it detects file modifications. It respects .gitignore rules, coalesces rapid filesystem events, and works cross-platform without requiring any language runtime."
github_stars: 6882
verification: "security_reviewed"
source: "https://github.com/watchexec/watchexec"
category: "Developer Tools"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "watchexec/watchexec"
  github_stars: 6882
---

# watchexec File Watcher and Command Re-Runner

watchexec is a standalone file-watching tool written in Rust that automatically executes commands when it detects file modifications. It respects .gitignore rules, coalesces rapid filesystem events, and works cross-platform without requiring any language runtime.

## Installation

Requirements and caveats from upstream:
- Simple invocation and use, does not require a cryptic command line involving xargs
- Does not require a language runtime, not tied to any particular language or ecosystem
- Call/restart python server.py when any Python file in the current directory (and all subdirectories) changes:

Basic usage or getting-started notes:
- Example use cases:
- Automatically run unit tests
- Run linters/syntax checkers

- Source: https://github.com/watchexec/watchexec
- Extracted from upstream docs: https://raw.githubusercontent.com/watchexec/watchexec/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/watchexec-file-watcher-command-rerunner/)

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.