← 返回 Skills 市场
jaxint

Exec Reducer

作者 jaxint · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
85
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install exec-reducer
功能描述
Provides reusable tools to batch process files for reading, writing, and searching, reducing exec command usage.
使用说明 (SKILL.md)

exec-batch-skill

功能

封装常用操作为可复用工具,减少exec调用

触发条件

当需要批量处理文件、搜索、写入时使用

使用方法

# 读取文件
python exec-batch-skill.py read \x3Cfilepath>

# 写入文件  
python exec-batch-skill.py write \x3Cfilepath> \x3Ccontent>

# 搜索
python exec-batch-skill.py search \x3Cquery>
安全使用建议
The script does what the description says (file read/write/search) but the documentation is wrong and the script allows unconstrained filesystem I/O. Before installing: (1) correct the SKILL.md to match the actual filename and arguments; (2) review the Python file yourself — it will read and overwrite any path the agent can access; (3) do not run the agent with elevated privileges or broad filesystem access if you enable this skill; (4) consider adding path whitelisting, input validation, and proper argument handling (join multi-token content) to avoid accidental data loss or exfiltration; (5) if you lack the ability to audit the code, treat this skill as higher risk and avoid enabling autonomous invocation or limit it to a sandboxed user.
能力评估
Purpose & Capability
The skill claims to reduce exec usage for batch file operations and the Python script implements read, write, append, list, and search operations — this is coherent with the name/description. However the SKILL.md examples reference a different filename (exec-batch-skill.py) and present a simplified 'search <query>' API that does not match the script signature (script requires <path> <pattern>). The mismatch between documentation and code is a red flag for sloppy packaging or misconfiguration.
Instruction Scope
SKILL.md instructs running a Python helper to read/write/search files which is within the stated purpose, but the docs are inaccurate (wrong script name and wrong search args). The script itself performs unconstrained filesystem I/O (reading arbitrary files, writing/appending, listing directories, recursive glob search). That capability is expected for a file-processing tool, but because the instructions are wrong and the script accepts arbitrary paths/contents (and does not sanitize or join argv content), an agent or user could accidentally read or overwrite sensitive files if invoked with broad access. The script also takes the content argument as a single argv token, so multi-word content will be truncated unless callers join args — another usability/behavior mismatch.
Install Mechanism
No install spec — instruction-only with a single Python script. Nothing is written to disk by an installer beyond the provided file in the skill bundle.
Credentials
The skill requires no environment variables or external credentials. The filesystem access it requests is aligned with its stated purpose, but still powerful: read/write/list/search operate on arbitrary paths without restrictions.
Persistence & Privilege
always is false and the skill does not request persistent or cross-skill configuration. Autonomous invocation (disable-model-invocation false) is the platform default; this combined with unrestricted file I/O increases blast radius but is not itself a packaging inconsistency.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install exec-reducer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /exec-reducer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: - Introduces exec-batch-skill for wrapping common file operations into reusable tools. - Provides batch file read, write, and search commands to minimize direct exec calls. - Includes trigger conditions and example usage in SKILL.md.
元数据
Slug exec-reducer
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Exec Reducer 是什么?

Provides reusable tools to batch process files for reading, writing, and searching, reducing exec command usage. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。

如何安装 Exec Reducer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install exec-reducer」即可一键安装,无需额外配置。

Exec Reducer 是免费的吗?

是的,Exec Reducer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Exec Reducer 支持哪些平台?

Exec Reducer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Exec Reducer?

由 jaxint(@jaxint)开发并维护,当前版本 v1.0.0。

💬 留言讨论