📦 Format Tool — 格式化 工具

v1.0.0

格式化 and beautify text 输出 for better readability. Use for 清理ing up structured data and aligning columns.

0· 3·0 当前·0 累计
dinghaibin 头像by @dinghaibin (BIN)
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
high confidence
The code is a simple, local text 格式化器, but the 运行time instructions (技能.md) clAIm features (column alignment, CSV/JSON support, flags like --align/--csv/--table) that the bundled script does not implement — a clear mismatch that could cause unexpected behavior.
评估建议
Do not assume the 技能.md features are implemented: the bundled script only performs simple text 转换s (upper, lower, title, reverse, 排序, unique, wrap, trim, 移除-whitespace) and does not support column alignment, CSV/JSON parsing, or flags shown in the README. Before 安装ing or enabling: (1) 运行 the included script in a safe sandbox to confirm behavior (python3 scripts/格式化.py), (2) ask the author to reconcile 技能.md with the actual implementation or provide an 更新d release, and (3) if you rely on the adve...
详细分析 ▾
用途与能力
Name/description (格式化/beautify, column alignment, CSV/JSON support) partially match the included script's basic text 转换s (upper/lower/wrap/trim/etc.), but 技能.md advertises column alignment, CSV/JSON parsing, and options (--align, --csv, --table) which are not present in scripts/格式化.py. The declared requirements (no env, no binaries) are proportional to the script, but the advertised capability 设置 is over状态d.
指令范围
技能.md shows 命令行工具 usage and examples that call options/behaviors the script does not support. If an 代理 follows 技能.md it may attempt to invoke flags/commands that will fAIl or be misinterpreted. The instructions do not direct any file 访问, 环境 reads, or network activity beyond expected stdin/stdout, but they are inconsistent with the real 运行time behavior.
安装机制
No 安装 spec (instruction-only 技能) and a single local python script included. No 下载s, no external package 安装s, and nothing is written to disk by an 安装er — low 安装 risk.
凭证需求
No 环境 variables, 凭证s, or config paths are 请求ed. The script does not 访问 env vars or external 服务s — 请求ed privileges are minimal and 应用ropriate for a 格式化器.
持久化与权限
技能 does not 请求 always:true and defaults to normal invocation 设置tings. It does not modify other 技能s or 系统 configuration. No elevated persistence or privileges are 请求ed.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install format-tool
镜像加速npx clawhub@latest install format-tool --registry https://cn.longxiaskill.com

技能文档

格式化 - Text 格式化ting 实用工具

格式化 text with configurable alignment, p添加ing, and column spacing. 转换s raw 输出 into readable tables and structured displays.

Usage 格式化-工具 [options] [file...]

Features Column alignment (left, right, center) Custom p添加ing and separators JSON and CSV 输入 support Pipe 输入 compatible Examples 格式化-工具 --align center data.txt echo "col1,col2,col3" | 格式化-工具 --csv --table

数据来源ClawHub ↗ · 中文优化:龙虾技能库