LogoClawIndex
CasesSkillsAbout
LogoClawIndex

trim - Token-Efficient File Optimization

Optimize a file for token efficiency while preserving 100% of information and functionality.

Tags

Updated: 2026-02-13
file optimizationtoken efficiencyinformation preservation

Capabilities

get file path from argumentread original file contentinventory all discrete factscondense prose and formatting

Typical Inputs

file pathoriginal file content

Typical Outputs

optimized filestatistics report

What this skill does

  • get file path from argument
  • read original file content
  • inventory all discrete facts
  • condense prose and formatting
  • verify against inventory items
  • write optimized file
  • report before/after statistics

Inputs

  • file path
  • original file content

Outputs

  • optimized file
  • statistics report

Requirements

  • explicit user command "/trim"
  • file access permissions

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.