360 Secure SkillHub
360 安全技能中心

Table Tool

该 Skill 提供命令行工具 table-tool,可将管道或空格分隔的文本数据整理为视觉对齐的表格,支持自定义列分隔符、自动列宽和表头识别。输入为文本文件或标准输入,输出为对齐后的表格文本,不涉及网络请求或外部服务。

dinghaibin
dinghaibin
热度 33.59
最近更新 2026-05-11 17:47:30
分类:效率依赖:代码执行 / 读写文件应用场景:数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add table-tool
Metadata
name
table-tool
description
Format data into aligned table columns. Use for displaying structured data with organized rows and columns.

Table - Data Table Formatter

Organize text data into visually aligned tables with configurable column widths, separators, and header rows. Supports pipe-delimited and space-separated input formats.

Usage

table-tool [options] <file>

Options

  • -s SEP: Column separator (default: pipe |)
  • -a: Auto-fit column widths
  • -h: Treat first line as header

Examples

table-tool data.txt
table-tool -s ',' -h data.csv
echo "a|b|c\n1|2|3" | table-tool