← 返回 Skills 市场
1455
总下载
0
收藏
18
当前安装
1
版本数
在 OpenClaw 中安装
/install file-reader
功能描述
文件读取技能。当用户需要读取文件内容、查看文件、cat 文件时激活。支持读取文本文件、配置文件、代码文件等。
使用说明 (SKILL.md)
file-reader
概述
文件读取技能。当用户需要读取文件内容、查看文件、cat 文件时激活。支持读取文本文件、配置文件、代码文件等。
基本使用方法
python read.sh "\x3Cfile>"
命令行参数
| 参数 | 说明 |
|---|---|
\x3Cfile> |
要读的文本(必填) |
安全使用建议
This skill appears to be a minimal file-reader, but the SKILL.md contains a clear mistake: it says to run the bundled read.sh with 'python', while read.sh is a bash script that runs 'cat'. Before installing or enabling it, ask the author to fix the invocation (e.g., 'bash read.sh' or './read.sh') or update the script to be Python. Also note that the script will read any file path given to it, so avoid using it to read sensitive system files or secrets. If you plan to allow autonomous invocation, be extra cautious because the agent could read files without interactive confirmation; test the skill in a safe sandbox first and verify the corrected instructions and script behavior.
功能分析
Type: OpenClaw Skill
Name: file-reader
Version: 1.0.0
The skill provides a functional wrapper for the 'cat' command via 'read.sh' to read arbitrary file contents. While this aligns with the stated purpose of a file reader, the ability to access any file on the system is a high-risk capability. Furthermore, the 'SKILL.md' documentation contains a technical error, instructing the agent to execute the bash script using 'python', which would result in a runtime error.
能力评估
Purpose & Capability
The skill claims to be a simple file-reader and includes a tiny shell script (read.sh) that cats an arbitrary file—this is coherent with the description. However, SKILL.md instructs calling the script with 'python read.sh', yet no Python-specific code exists and no required binaries are declared. The script actually requires a POSIX shell and the 'cat' utility; the declared requirements omit these and the invocation command is incorrect.
Instruction Scope
The SKILL.md instructs running a command that doesn't match the included script (uses 'python' on a bash script). Aside from that mismatch, the instructions only direct reading the file path provided by the user; there are no hidden endpoints, extra env vars, or references to unrelated files. The mismatch could cause failures or unexpected behavior if an agent follows the instructions literally.
Install Mechanism
No install spec (instruction-only) and only three small files are included. Nothing is downloaded or extracted during install, which is low-risk.
Credentials
The skill requests no environment variables, no credentials, and no config paths. That is proportionate for a file-reading helper.
Persistence & Privilege
The skill is not forced always-on and uses normal agent-invocation defaults. It does not modify other skills or request elevated/persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install file-reader - 安装完成后,直接呼叫该 Skill 的名称或使用
/file-reader触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the file-reader skill.
- Enables reading and displaying contents of text, config, and code files.
- Activated when the user requests to read, view, or "cat" a file.
- Usage via bash: python read.sh "<file>".
元数据
常见问题
File Reader 是什么?
文件读取技能。当用户需要读取文件内容、查看文件、cat 文件时激活。支持读取文本文件、配置文件、代码文件等。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1455 次。
如何安装 File Reader?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install file-reader」即可一键安装,无需额外配置。
File Reader 是免费的吗?
是的,File Reader 完全免费(开源免费),可自由下载、安装和使用。
File Reader 支持哪些平台?
File Reader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 File Reader?
由 jwu26(@jwu26)开发并维护,当前版本 v1.0.0。
推荐 Skills