← 返回 Skills 市场
ckchzh

File Converter

作者 BytesAgain2 · GitHub ↗ · v2.1.0 · MIT-0
cross-platform ✓ 安全检测通过
1160
总下载
1
收藏
9
当前安装
13
版本数
在 OpenClaw 中安装
/install file-converter
功能描述
File format converter. Detect formats, convert between JSON/YAML/XML/CSV/Markdown, minify and prettify code. Commands: detect, json2yaml, yaml2json, csv2md.
使用说明 (SKILL.md)

file-converter

File format utility — pretty-print or minify JSON, encode/decode URLs, hex dump files, detect file types, and show file statistics.

Commands

pretty-json

scripts/script.sh pretty-json

minify-json

scripts/script.sh minify-json

url-encode

scripts/script.sh url-encode

url-decode

scripts/script.sh url-decode

hex

scripts/script.sh hex

detect

scripts/script.sh detect

stats

scripts/script.sh stats

help

scripts/script.sh help

version

scripts/script.sh version

Examples

scripts/script.sh pretty-json
scripts/script.sh minify-json
scripts/script.sh help

Configuration

Variable Required Description
FILE_CONVERTER_DIR No Data directory (default: ~/.file-converter/)

Data Storage

All data saved in ~/.file-converter/. Runs entirely on your machine.

Requirements

  • bash 4.0+
  • Standard Unix tools (grep, sed, awk)

Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
This skill appears to be a local file conversion toolkit and does not request credentials or make network calls. Before installing: (1) note there are two bundled scripts with overlapping commands — verify which script your agent will execute; (2) the README mentions a data directory (~/.file-converter/) but the code does not write there — if you expect persistent storage, inspect/modify the scripts; (3) there is a small bug/comment in cmd_base64_dec (it currently does not perform decoding) — test commands on non-sensitive sample files first; and (4) because the skill executes shell and Python code on files you provide, avoid running it on highly-sensitive files unless you review the scripts or run them in a sandbox.
功能分析
Type: OpenClaw Skill Name: file-converter Version: 2.1.0 The file-converter skill bundle provides standard utilities for format conversion (JSON, YAML, XML, CSV, Markdown) and text processing (Base64, URL encoding, hex dumps). The implementation uses Bash scripts (scripts/script.sh and scripts/convert.sh) that wrap Python logic, safely passing inputs via environment variables or command-line arguments to avoid shell injection. No indicators of data exfiltration, persistence, or malicious execution were found.
能力评估
Purpose & Capability
The skill name/description (file format conversions) matches the provided scripts: they implement JSON/YAML/XML/CSV/Markdown conversions, minify/prettify, encoding, and file inspection. Minor incoherences: SKILL.md claims data is stored under ~/.file-converter/ but I found no code writing to that path, and there are two overlapping scripts (scripts/script.sh and scripts/convert.sh) with partly duplicated command sets which could cause confusion about which script the agent will run.
Instruction Scope
SKILL.md instructs the agent to run bundled shell scripts which operate on local files and use Python and standard Unix utilities. The scripts do not read unrelated system files, do not call external network endpoints, and do not reference credentials or other secrets.
Install Mechanism
There is no install spec (instruction-only), and the bundle includes only local shell and Python scripts. No downloads, package installs, or archive extraction are requested.
Credentials
No credentials or sensitive environment variables are required. SKILL.md lists an optional FILE_CONVERTER_DIR variable (default ~/.file-converter/), but the scripts do not appear to use or write to that directory — this is a documentation/config mismatch rather than a credential request.
Persistence & Privilege
The skill does not request permanent presence (always:false). It does not modify other skills or system-wide configuration. Agent autonomous invocation is allowed by default (normal) and not combined with other red flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install file-converter
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /file-converter 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.0
v2.1.0: SKILL.md rewritten to match script.sh commands exactly.
v2.0.2
update
v2.0.1
SKILL.md aligned with script.sh for moderation fix
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.4
yaml-fix+quality
v2.3.3
yaml-fix+quality
v2.3.2
Quality upgrade
v2.3.1
Quality upgrade: custom functionality
v2.3.0
Quality fixes: removed third-party references, aligned docs with implementation
v2.2.0
Enhanced descriptions for better AI triggering
v1.0.2
Runtime fix
v1.0.1
- Removed the tips.md file. - No changes to commands or functionality.
v1.0.0
Initial public release of file-converter. - Convert between JSON, YAML, XML, CSV, and Markdown file formats. - Commands include: detect, json2yaml, yaml2json, csv2md, md2csv, xml2json, json2xml, minify, and prettify. - Supports code minification and beautification for JSON, CSS, JS. - Output is sent to stdout; can be redirected or used in pipelines.
元数据
Slug file-converter
版本 2.1.0
许可证 MIT-0
累计安装 9
当前安装数 9
历史版本数 13
常见问题

File Converter 是什么?

File format converter. Detect formats, convert between JSON/YAML/XML/CSV/Markdown, minify and prettify code. Commands: detect, json2yaml, yaml2json, csv2md. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1160 次。

如何安装 File Converter?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install file-converter」即可一键安装,无需额外配置。

File Converter 是免费的吗?

是的,File Converter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

File Converter 支持哪些平台?

File Converter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 File Converter?

由 BytesAgain2(@ckchzh)开发并维护,当前版本 v2.1.0。

💬 留言讨论