Install
openclaw skills install unexpand-toolConvert spaces to tabs in text files. Use for consistent indentation and reducing file size by replacing spaces with tabs.
openclaw skills install unexpand-toolReplace sequences of spaces with tab characters. The inverse operation of expand-tool. Ideal for converting space-indented code to tab-indented format.
unexpand-tool [options] <file>
-t N: Set tab width in spaces (default: 8)-a: Convert all spaces, not just leading--first-only: Only convert leading sequencesunexpand-tool -t 4 file.py
unexpand-tool -a -t 2 data.txt
cat spaces.txt | unexpand-tool