What you want\nAdd a flag to the caveman CLI command that outputs the transformed prompt as a JSON object instead of plain text.\n\nBefore/after example\n\nBefore: caveman "fix the bug" → "fix bug"\nAfter: caveman --json "fix the bug" → {"prompt": "fix bug", "mode": "full", "tokens_saved": "~65%"}\n\n\nWhy good\nEnables caveman to be piped into AI agent pipelines where structured output is required. Agents like OpenClaw, Claude Code, and Codex can parse JSON and route the compressed prompt programmatically.\n
What you want\nAdd a flag to the caveman CLI command that outputs the transformed prompt as a JSON object instead of plain text.\n\nBefore/after example\n
\nBefore: caveman "fix the bug" → "fix bug"\nAfter: caveman --json "fix the bug" → {"prompt": "fix bug", "mode": "full", "tokens_saved": "~65%"}\n\n\nWhy good\nEnables caveman to be piped into AI agent pipelines where structured output is required. Agents like OpenClaw, Claude Code, and Codex can parse JSON and route the compressed prompt programmatically.\n