unexpand-tool

Convert spaces to tabs in text files. Use for consistent indentation and reducing file size by replacing spaces with tabs.

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 "unexpand-tool" with this command: npx skills add dinghaibin/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] <file>

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

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.

General

risk-manager

Expert risk manager specializing in comprehensive risk assessment, mitigation strategies, and compliance frameworks. Masters risk modeling, stress testing, a...

Registry SourceRecently Updated
General

Web Search Plus

Unified multi-provider web search and URL extraction skill with intelligent auto-routing across Serper, Brave, Tavily, Querit, Linkup, Exa, Firecrawl, Perple...

Registry SourceRecently Updated
General

First Principles Thinking

Reason from fundamental truths instead of analogy, then improve accuracy and ideation through mechanism maps, assumption ledgers, least-to-most decomposition...

Registry SourceRecently Updated
General

Audiobook Listening Guide

Creates a focused listening plan for audiobooks with attention cues, pauses, and capture methods.

Registry SourceRecently Updated