caveman-rtk-integration
Installation
SKILL.md
Caveman + RTK Integration Skill
This skill provides a reusable approach for integrating the Caveman JS templating engine with RTK to minimize token output when formatting CLI command results.
Overview
When working with CLI tools that produce verbose output, combining Caveman templating with RTK can reduce token usage by 60-90% by:
- Using RTK to minimize noise from CLI commands
- Using Caveman templates to define output structure once
- Only transmitting the variable data between runs
Installation & Setup
1. Install Caveman globally
npm install -g caveman
2. Create Caveman wrapper script
Create ~/bin/caveman with the following content: