安全扫描
OpenClaw
安全
high confidence该技能是一个小型本地 'cat' 实现,内部一致,无需凭据或安装,但文档宣传的某些功能(-n、-s、'-' 作为 stdin)并未在所含脚本中实现。
评估建议
This 技能 应用ears 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 请求 凭证s or 安装 anything. However, 技能.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 安装ing or allowing a...详细分析 ▾
ℹ 用途与能力
Name and description match the included script: it's a simple file-display 工具. However, 技能.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 失败.
ℹ 指令范围
技能.md instructs the 代理 to read and concatenate files and shows examples using flags like -n; the 运行time script only supports reading files named on the command line. The 技能.md examples (e.g., 'cat-工具 -n') are misleading because the script does not 解析 or implement those options. Aside from that mismatch, the instructions stay within the expected scope (reading files specified by the user).
✓ 安装机制
No 安装 spec and only a tiny Python script are provided. No external 下载s or package 安装s are required, so risk from the 安装 mechanism is low.
✓ 凭证需求
The 技能 请求s no 环境 variables, 凭证s, or config paths. The script performs only local file reads for paths passed as arguments, which aligns with its purpose.
✓ 持久化与权限
该技能不会请求常驻权限或提升权限(always 为 false),也不会修改其他技能或系统配置。
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install cat-tool
镜像加速npx clawhub@latest install cat-tool --registry https://cn.longxiaskill.com镜像同步中
技能文档
Cat Tool - 文件显示 读取并拼接文件,将内容输出至 stdout。
快速开始 cat-tool myfile.txt
功能 显示文件内容 拼接多个文件 显示行号(-n) 压缩空行(-s)
示例 cat-tool README.md cat-tool file1.txt file2.txt > combined.txt cat-tool -n script.py
另见 相关文档:man cat(如有)