file-converter
File format converter. Detect formats, convert between JSON/YAML/XML/CSV/Markdown, minify and prettify code. Commands: detect, json2yaml, yaml2json, csv2md.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ckchzh/file-converterWhat This Skill Does
The file-converter skill is a robust, local-first utility designed to streamline data transformation and code formatting tasks directly within your terminal environment. It acts as a swiss-army knife for developers and data analysts who frequently handle various structured data formats. The skill provides a clean, command-line interface to perform essential operations such as pretty-printing and minifying JSON data, encoding and decoding URLs, generating hex dumps, and detecting file types. Beyond basic formatting, it facilitates the conversion between common formats, ensuring data interoperability. Because it runs locally using standard Unix tools like sed, awk, and grep, it provides a high-performance, privacy-conscious solution that ensures your sensitive data never leaves your machine for processing. Whether you are debugging an API response or preparing configuration files for deployment, this skill ensures consistency and readability.
Installation
To integrate this utility into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/ckchzh/file-converter
Once installed, you can configure the data directory by setting the FILE_CONVERTER_DIR environment variable, though it defaults to ~/.file-converter/ automatically. Ensure you have bash 4.0 or higher installed to utilize all feature sets.
Use Cases
- Debugging API Responses: Use the pretty-json command to quickly format bulky, minified JSON responses from web APIs into a readable structure.
- Data Pipeline Preparation: Convert and sanitize data files between YAML and JSON for configuration management or CI/CD pipelines.
- System Forensics: Utilize the hex dump functionality to inspect binary file contents for troubleshooting or verifying file integrity.
- Web Development: Quickly encode or decode URLs to clean up strings or prepare parameters for HTTP requests.
Example Prompts
- "Pretty print the content of my current API response file using file-converter."
- "Can you detect the format of the file named data.bin and show me its file statistics?"
- "Please convert the provided JSON block into a minified version to save space in my configuration file."
Tips & Limitations
To get the most out of file-converter, ensure your environment has the necessary standard Unix utilities installed, as the script relies heavily on grep, sed, and awk. While it excels at structure and formatting, remember that it is a local tool; large file processing may impact system resources, so monitor your performance on particularly massive datasets. If you encounter issues, verify your shell version and ensure the FILE_CONVERTER_DIR has sufficient write permissions.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ckchzh-file-converter": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution
Related Skills
header
Header design reference — navigation patterns, sticky headers, responsive menus, accessibility. Use when designing website headers or implementing navigation components.
docker-helper
Dockerfile生成、docker-compose编排、命令速查、调试排错、镜像优化、仓库配置. Use when you need docker helper capabilities. Triggers on: docker helper.
rsyslog
RSyslog advanced system logging reference. RainerScript configuration, input/output modules (imtcp/imfile/omfwd/omelasticsearch), templates with property replacer, content-based filtering, TLS-encrypted remote logging, queue performance tuning, and debug troubleshooting.
Fitness Plan — Science-Based Training & Workout Auditor
Track workouts, calculate BMI/1RM, and access exercise science guides. 支持科学健身计划制定、BMI/最大力量计算及运动解剖学参考。Use when planning gym sessions, calculating macro needs, or auditing training splits.
pesticide
Pesticide management reference — chemical classes, application methods, IPM strategies, residue limits, safety protocols. Use when selecting pest control products, calculating spray rates, or managing pesticide compliance.