← All Skills
🪓
Chisle Agent Token Efficiency
Four real skills and companion rules for coding agents: compress prose, reduce code through a YAGNI ladder, and recoverably trim oversized tool output on supported hosts.
Key Features
- Terse answers and YAGNI code decisions
- Read-only code-and-prose bloat audit
- Recoverable oversized tool-output compression
- Install and uninstall support for eleven agents
Installation
Requires Node.js 18 or newer. Run `npx chisle --list` to inspect detection and `npx chisle --dry-run` to preview changes; use a target such as `npx chisle --only codex` to limit scope. Claude Code can also install it through its plugin marketplace, while Pi can install npm:chisle. `npx chisle --uninstall` removes managed global content; project rule files for Cursor, Windsurf, Cline, Kiro, and Copilot must be removed in each repository.
How to Use
Use `/chisle` for the compact mode and `stop chisle`, `normal mode`, or `/chisle off` to disable it. `/chisle-audit` performs a read-only audit of code and prose bloat. Claude Code, Pi, and OpenCode can use tool-output compression; other hosts mainly receive static rules or skills. Oversized output preserves selected error lines and can spill the full local text to disk for targeted recovery.
Requirements
MIT and free. The installer has no runtime third-party dependencies, but it edits detected user-level agent configuration or rule files in the current project; use --dry-run and --only first. Claude, Pi, and OpenCode hooks or plugins run with the current user's permissions and may compress Bash, search, fetch, or MCP output. Critical Read, Edit, and Write output is excluded, and CHISLE_COMPRESS=0 or related switches can disable compression. Spill and statistics state stays in local config directories. Claude SessionStart checks the npm registry for major releases every three days by default, only to show a notice and never to auto-update; CHISLE_UPDATE_CHECK=0 disables it. Upstream savings figures come from limited task benchmarks and may be smaller or regress in real work; they are not a guarantee.
Related Skills