@cvr/counsel
v0.0.1
Published
Route a prompt from Claude to Codex or from Codex to Claude
Readme
counsel
One command. Opposite agent only.
If you are in Claude, counsel routes to Codex. If you are in Codex, it routes to Claude.
Install
bun install
bun run build
bin/counsel --helpFor local PATH wiring during development:
bun run linkUsage
counsel "Review src/auth for regression risk"
counsel --deep "Challenge this migration plan"
counsel --from claude -f prompt.md
echo "Trace the data flow in src/" | counselFlags: -f/--file, --from, --deep, -o/--output-dir, --dry-run, --json, -V/--version
Output
Each run writes:
agents/counsel/<slug>/
├── prompt.md
├── run.json
├── claude.md or codex.md
└── claude.stderr or codex.stderrRequirements
claudeonPATHfor Claude targetscodexonPATHfor Codex targets- Auto-detection via
CLAUDE_PROJECT_DIR,CODEX_THREAD_ID, orCODEX_CI
If detection is ambiguous, pass --from.
Skill
Repo skill lives in skills/counsel/.
Development
bun run gate