A local script that compresses prompt files to minimize token costs in iterative AI development cycles.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install compression
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install compression using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Trinity Compress is a specialized utility designed for developers building with AI agents. It targets the prompt bloat that occurs during iterative development loops by stripping unnecessary characters and formatting from prompt files before they are sent to LLM providers. By integrating this into your workflow, you can significantly lower operational costs and stay within context limits without sacrificing the core logic of your instructions.
As part of the ecosystem of Openclaw Skills, it provides a lightweight, local-first solution for token management. Unlike model-based compressors, Trinity Compress runs entirely on your machine using bash scripts, ensuring that your data stays private while providing instant results.
To get started with this addition to your Openclaw Skills library, follow these steps:
# For Linux/macOS
./scripts/install.sh
# For Windows
./scripts/install.ps1
bash scripts/trinity-compress.sh balanced
Trinity Compress organizes its operations through the following file structure:
| File/Component | Description |
|---|---|
| trinity-compress.config.json | Central configuration defining rules, exclusions, and target directories. |
| scripts/trinity-compress.sh | Core execution engine for local text processing and token reduction. |
| *.bak | Temporary backup files created during the compression lifecycle for safety. |
| Makefile Snippets | Optional integration points for commands like optimize-prompts and optimize-undo. |
Loading
An advanced AI tool for deep understanding of images, videos, and complex documents using the GLM-4.6V model.

A specialized tool for automating movie and TV show requests through your personal Overseerr instance using natural language.

A specialized shopping agent that scouts major retailers and refurbished marketplaces to deliver the top 3 best deals directly into Discord channels.

A specialized skill for providing accurate, Catechism-cited Catholic teaching and spiritual resources via AI agents.

A lightweight local script that compresses prompt files to minimize token usage in iterative AI development cycles.

A powerful automation skill for managing Obsidian vaults and Markdown notes via the command line using notesmd-cli.








































