Caveman Init
description: Drop the always-on caveman activation rule into the current repo for every IDE agent argument-hint: "[--dry-run|--force] [--only ]"
Write the per-repo caveman rule files (Cursor, Windsurf, Cline, Copilot, AGENTS.md) into the current repo, then report the result.
How to run the init script — pick the first that applies:
- If
src/tools/caveman-init.jsexists in the current repo (you are inside a caveman checkout), run:node src/tools/caveman-init.js $ARGUMENTS - Otherwise download and run the standalone script (it is self-contained and supports stdin execution):
curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/main/src/tools/caveman-init.js | node - $ARGUMENTS
Use --dry-run first if the user did not pass --force, so we never silently overwrite an existing rule file.