file-converter

File format converter. Detect formats, convert between JSON/YAML/XML/CSV/Markdown, minify and prettify code. Commands: detect, json2yaml, yaml2json, csv2md, md2csv, xml2json, json2xml, minify, prettify. Use for data format conversion, code compression, code beautification. Use when you need file converter capabilities. Triggers on: file converter.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "file-converter" with this command: npx skills add ckchzh/file-converter

🔄 File Converter

One command, any format. Convert between JSON, YAML, XML, CSV, and Markdown. Minify and prettify code files.

Quick Start

bash scripts/convert.sh <command> [file]

Commands

CommandDescriptionExample
detect <file>Auto-detect file formatdetect data.txt
json2yaml <file>JSON → YAMLjson2yaml config.json
yaml2json <file>YAML → JSONyaml2json config.yaml
csv2md <file>CSV → Markdown tablecsv2md report.csv
md2csv <file>Markdown table → CSVmd2csv table.md
xml2json <file>XML → JSONxml2json data.xml
json2xml <file>JSON → XMLjson2xml data.json
minify <file>Compress JSON/CSS/JSminify app.js
prettify <file>Beautify codeprettify min.json

Workflow

  1. Run detect to confirm source format
  2. Pick the right conversion command
  3. Use prettify to verify output readability
  4. Use minify to compress production files

Notes

  • Output goes to stdout — redirect with > to save
  • Supports pipe input: cat data.json | bash scripts/convert.sh json2yaml -
  • Run detect first on unknown files to avoid garbled output

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Raspberry Pi Manager

Manage Raspberry Pi devices — GPIO control, system monitoring (CPU/temp/memory), service management, sensor data reading, and remote deployment. Use when you...

Registry SourceRecently Updated
0167
Profile unavailable
Coding

Tesla Commander

Command and monitor Tesla vehicles via the Fleet API. Check status, control climate/charging/locks, track location, and analyze trip history. Use when you ne...

Registry SourceRecently Updated
0160
Profile unavailable
Coding

Code Reviewer Cn

代码审查、重构建议、安全漏洞检查、命名规范、复杂度分析、注释文档生成. Use when you need code reviewer cn capabilities. Triggers on: code reviewer cn, 圈复杂度估算, 嵌套深度检测, 命名风格一致性, 注释率计算与评级, 重复行检测.

Registry SourceRecently Updated
0222
Profile unavailable