← 返回 Skills 市场
entr
作者
Gustavo Madeira Santana
· GitHub ↗
· v1.0.0
2142
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install entr
功能描述
Run arbitrary commands when files change. Useful for watching files and triggering builds or tests.
使用说明 (SKILL.md)
entr (Event Notify Test Runner)
A utility for running arbitrary commands when files change.
Usage
entr takes a list of filenames from standard input and executes the utility specified as the first argument.
Syntax
\x3Cfile_listing_command> | entr \x3Cutility> [arguments]
Options
-c: Clear the screen before invoking the utility.-r: Reload a persistent child process (e.g., a server).-s: Evaluate the first argument using the interpreter specified bySHELL.
Examples
Rebuild project when sources change:
find src/ -name "*.c" | entr make
Run tests when JS files change:
git ls-files | grep '\.js$' | entr npm test
Auto-reload a Node server:
ls *.js | entr -r node app.js
Agent Notes
entr blocks the terminal. When using it as an agent:
- Use
processtool to run it in the background if you need to do other things. - Or use it for a quick "watch mode" session where you intend to monitor output for a while.
安全使用建议
This skill is just documentation for using the external 'entr' program — it does not install anything. Before using or allowing an agent to invoke it: (1) ensure you have the official 'entr' package installed from your OS package manager or trusted source; (2) review and control the exact commands you will run under entr — it will execute arbitrary shell commands on file changes and those commands can be destructive; (3) avoid running watched commands as a privileged user, and prefer testing in a sandboxed or non-production directory first; (4) if you allow autonomous agent invocation, restrict the agent's ability to run destructive commands or limit it to safe wrappers that validate inputs.
功能分析
Type: OpenClaw Skill
Name: entr
Version: 1.0.0
The skill bundle describes the `entr` utility, which allows executing arbitrary commands when files change. While `entr` is a legitimate tool, its core functionality of running "arbitrary commands" and specifically the `-s` option (evaluating arguments using `SHELL`) provides a broad and powerful command execution primitive. This capability, exposed as an AI agent skill, presents a significant risk for potential misuse or prompt injection, even though the skill itself does not demonstrate explicit malicious intent. The `SKILL.md` file details these capabilities.
能力评估
Purpose & Capability
The name/description match the SKILL.md content: this skill documents usage of the 'entr' utility to run commands on file changes. It requests no binaries, env vars, or config paths and does not try to perform unrelated actions.
Instruction Scope
Instructions stay on-topic (examples show piping file lists into entr and options). However, by design the tool runs arbitrary utilities/commands when files change — that capability is powerful and could be harmful if the commands provided are unsafe. The SKILL.md also suggests using a 'process' tool to run it in background (agent-specific advice) but does not instruct reading unrelated files or secrets.
Install Mechanism
No install spec—this is instruction-only, so nothing is downloaded or written by the skill itself (lowest install risk).
Credentials
No environment variables or credentials are requested. The only environment reference is that the '-s' option evaluates the command under SHELL, which is expected and proportional.
Persistence & Privilege
always:false (no forced inclusion). disable-model-invocation is false (agent may invoke autonomously), which is the platform default; there is no attempt to modify other skills or system configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install entr - 安装完成后,直接呼叫该 Skill 的名称或使用
/entr触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
entr 是什么?
Run arbitrary commands when files change. Useful for watching files and triggering builds or tests. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2142 次。
如何安装 entr?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install entr」即可一键安装,无需额外配置。
entr 是免费的吗?
是的,entr 完全免费(开源免费),可自由下载、安装和使用。
entr 支持哪些平台?
entr 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 entr?
由 Gustavo Madeira Santana(@gumadeiras)开发并维护,当前版本 v1.0.0。
推荐 Skills