360 Secure SkillHub
360 安全技能中心

Cat Tool

该 Skill 用于读取一个或多个文件,将内容拼接后输出到标准输出,支持显示文件、拼接多文件以及加行号(-n)、压缩空行(-s)等选项。随附 scripts/cat.py 脚本,运行时涉及 bash、python3,并依赖 cat 命令。未说明安装方式、错误处理及二进制文件处理行为。

分类:效率
dinghaibin
dinghaibin
热度 30.57
最近更新 2026-05-11 17:46:13

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dinghaibin/cat-tool
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
cat-tool
description
Concatenate and display file contents to standard output.

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)