← 返回 Skills 市场
dinghaibin

Cat Tool

作者 BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
51
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cat-tool
功能描述
Concatenate and display file contents to standard output.
使用说明 (SKILL.md)

Cat Tool - File Display

Read and concatenate files, displaying contents to stdout.

Quick Start

cat-tool myfile.txt

Features

  • Display file contents
  • Concatenate multiple files
  • Line numbers (-n)
  • Squeeze blank lines (-s)

Examples

cat-tool README.md
cat-tool file1.txt file2.txt > combined.txt
cat-tool -n script.py

See Also

  • Related documentation: man cat (if available)
安全使用建议
This skill appears to be what it says: a tiny local 'cat' script that reads files you pass to it and prints them to stdout, and it doesn't request credentials or install anything. However, SKILL.md advertises features (line numbering, squeezing blank lines, '-' for stdin) that are not implemented in scripts/cat.py — treat the documentation as inaccurate. The script also uses a bare except (which hides error details) and will attempt to open a file literally named '-' rather than reading stdin. Before installing or allowing an agent to use it, consider: (1) review or fix the script to implement advertised flags and proper stdin handling, (2) replace the bare except with specific error handling to surface useful messages, and (3) avoid passing sensitive file paths to the skill since it will read any file path you provide. If you need those improvements but cannot modify the skill, do not rely on the advertised flags or stdin behavior.
功能分析
Type: OpenClaw Skill Name: cat-tool Version: 1.0.0 The skill provides a standard file concatenation and display utility similar to the Unix 'cat' command. The implementation in 'scripts/cat.py' uses basic Python file operations to read and print file contents, and the 'SKILL.md' documentation contains no malicious instructions or prompt injections. No indicators of data exfiltration, malicious execution, or obfuscation were found.
能力评估
Purpose & Capability
Name and description match the included script: it's a simple file-display tool. However, SKILL.md claims features (line numbers -n, squeeze blank lines -s, and treating '-' as stdin) that are not implemented by scripts/cat.py. The script only opens and prints files by name and prints a generic error on failure.
Instruction Scope
SKILL.md instructs the agent to read and concatenate files and shows examples using flags like -n; the runtime script only supports reading files named on the command line. The SKILL.md examples (e.g., 'cat-tool -n') are misleading because the script does not parse or implement those options. Aside from that mismatch, the instructions stay within the expected scope (reading files specified by the user).
Install Mechanism
No install spec and only a tiny Python script are provided. No external downloads or package installs are required, so risk from the install mechanism is low.
Credentials
The skill requests no environment variables, credentials, or config paths. The script performs only local file reads for paths passed as arguments, which aligns with its purpose.
Persistence & Privilege
The skill does not request persistent presence or elevated privileges (always is false). It does not modify other skills or system configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cat-tool
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cat-tool 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug cat-tool
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Cat Tool 是什么?

Concatenate and display file contents to standard output. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 51 次。

如何安装 Cat Tool?

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

Cat Tool 是免费的吗?

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

Cat Tool 支持哪些平台?

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

谁开发了 Cat Tool?

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

💬 留言讨论