/install unexpand-tool
Unexpand - Space to Tab Converter
Replace sequences of spaces with tab characters. The inverse operation of expand-tool. Ideal for converting space-indented code to tab-indented format.
Usage
unexpand-tool [options] \x3Cfile>
Options
-t N: Set tab width in spaces (default: 8)-a: Convert all spaces, not just leading--first-only: Only convert leading sequences
Examples
unexpand-tool -t 4 file.py
unexpand-tool -a -t 2 data.txt
cat spaces.txt | unexpand-tool
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install unexpand-tool - After installation, invoke the skill by name or use
/unexpand-tool - Provide required inputs per the skill's parameter spec and get structured output
What is Unexpand Tool?
Convert spaces to tabs in text files. Use for consistent indentation and reducing file size by replacing spaces with tabs. It is an AI Agent Skill for Claude Code / OpenClaw, with 29 downloads so far.
How do I install Unexpand Tool?
Run "/install unexpand-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Unexpand Tool free?
Yes, Unexpand Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Unexpand Tool support?
Unexpand Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Unexpand Tool?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.