Bash equivalent of the PowerShell build change: Claude gets general.md inlined into CLAUDE.md plus one generated skill per rule-skills.tsv entry; Codex keeps every rule as a plain file with unchanged AGENTS.md text. Adds the same build-time validation as the PowerShell script: duplicate agent/plugin/rule-skill names, JSON validity (jq, falling back to a functional python3 probe), balanced TOML quotes/brackets, and a tree-wide (not per-file) leftover-placeholder scan for speed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>