AGENT SKILL
entr
Use this skill when the user wants to run commands when files change.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- entr
- description
- Use this skill when the user wants to run commands when files change.
03 SKILL.md 正文
Entr Plugin
Run arbitrary commands when files change. A high-performance file watcher for automation.
Commands
File Watching
entr run watch— Run command when files change
Usage Examples
- "find src/ | entr -s 'make | head -n 20'"
- "ls *.js | entr -r node app.js"
- "echo my.sql | entr -cp psql -f /_"
Installation
brew install entr
Examples
# Rebuild project when source files change
find src/ | entr make
# Auto-reload a node.js server
ls *.js | entr -r node app.js
# Clear screen and run command after SQL update
echo my.sql | entr -cp psql -f /_
# Watch directory for file additions
while sleep 0.1; do ls src/*.rb | entr -d make; done
Key Features
- High-performance file system monitoring
- Receives file list from stdin
- Supports restart mode for long-running processes
- Clear screen option for clean output
- Directory watching for new files
- Shell command execution with flags
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57