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

Capabilities

Typical Inputs

Typical Outputs

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.
file optimization
token efficiency
information preservation
get file path from argument
read original file content
inventory all discrete facts
condense prose and formatting
file path
original file content
optimized file
statistics report