360 Secure SkillHub
360 安全技能中心

Format Tool

该 Skill 提供 format-tool 命令行工具,把原始输出整理为可读的表格和结构化显示,支持左对齐、右对齐、居中对齐,可自定义填充与分隔符,并兼容 JSON、CSV 及管道输入。实现位于 scripts/format.py,需 bash 与 python3 运行。

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

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dinghaibin/format-tool
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
format-tool
description
Format and beautify text output for better readability. Use for cleaning up structured data and aligning columns.

Format - Text Formatting Utility

Format text with configurable alignment, padding, and column spacing. Transforms raw output into readable tables and structured displays.

Usage

format-tool [options] [file...]

Features

  • Column alignment (left, right, center)
  • Custom padding and separators
  • JSON and CSV input support
  • Pipe input compatible

Examples

format-tool --align center data.txt
echo "col1,col2,col3" | format-tool --csv --table