A high-priority text-writing skill that replaces standard write tools to ensure perfect cross-platform encoding and newline compatibility.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install qclaw-text-file
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install qclaw-text-file using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
qclaw-text-file is a specialized technical skill designed for Openclaw Skills to handle the complexities of cross-platform text writing. It serves as a mandatory interceptor for all text file creation tasks, solving the common issues of garbled characters (mojibake) and incompatible line endings between Windows, macOS, and Linux.
By automating the detection of proper encodings like UTF-8 with or without BOM, GBK, and UTF-16, this skill ensures that generated files—such as CSVs, batch scripts, and configuration files—open correctly in their target environment. It is the definitive solution for developers needing reliable file exports and automated system configuration across different operating systems.
This skill requires Python 3.6+ and has no external dependencies beyond the Python standard library. To begin using it within the Openclaw Skills framework, ensure the script is accessible in your environment:
# Check platform defaults before first use
python3 "{SKILL_DIR}/scripts/write_file.py" --detect
The skill manages file generation based on a strict taxonomy of file extensions and target platforms. Below is the encoding logic applied for Openclaw Skills:
| File Type | macOS / Linux Encoding | Windows Target Encoding |
|---|---|---|
| .csv / .tsv | utf-8 (No BOM) | utf-8-sig (With BOM) |
| .bat / .cmd | utf-8 | gbk (if Chinese present) |
| .reg | utf-16 (With BOM) | utf-16 (With BOM) |
| .json / .yaml | utf-8 (No BOM) | utf-8 (No BOM) |
| .sh / .bash | utf-8 (LF) | utf-8 (LF) |
It supports outputting status updates in a standard JSON format, providing details on bytes_written, encoding, and newline style used.
Loading
A professional integration for managing Tencent Survey (wj.qq.com) operations including survey creation, structural updates, and data retrieval via AI agents.

A universal client for discovering and invoking Tencent Music OpenAPI operator services with fully automated authentication.

A high-performance AI video compression skill that automatically optimizes large video files to fit under strict 8MB limits using cloud GPU rendering.

A mandatory system-level skill providing foundational execution rules, encoding standards, and automated user memory for AI agents.

A comprehensive framework for creating modular, self-contained skills that transform general-purpose AI into specialized agents with domain expertise.

Crystal Geyser is an Openclaw Skills module providing deep technical and business insights into one of America's most successful independent bottled water brands, CG Roxane.








































