exec-truncate

Installation
SKILL.md

Exec-Truncate Skill

Domain-aware output truncation for shell command execution. Compresses verbose output while preserving critical information.

What It Does

This skill provides intelligent truncation for common command patterns:

  • git diff — Keeps first 100 + last 20 lines, shows only additions (+)
  • git log — Condensed one-liners with short hashes (7 chars), subjects, branches
  • grep/rg/find — Caps at 50 matches, strips path prefixes
  • ls -la/ls -l — Max 100 entries, keeps filename + abbreviated size
  • build tools — Strips ANSI codes, progress bars; keeps errors/warnings only

Integration Note

This is a standalone skill, not wired into OpenClaw's exec tool. OpenClaw distributions are compiled/bundled, so this runs as a utility the AI applies manually to output it already has.

Available Functions

Installs
2
First Seen
Apr 24, 2026
exec-truncate from skills.volces.com