CLI reference
chain compress
Compress a skill to a token-efficient version (strips frontmatter boilerplate, large code blocks, and verification checklists)
Example
chain compress Options
-
--allCompress all personal and chain_hub skills
-
--dry-runShow compression ratio without writing output files
-
--statsShow token estimates before and after
-
--chain-home <path>Override hub path for this command
Related documentation
Full command table: Commands reference · Troubleshooting