{"id":46905145,"url":"https://github.com/cevr/counsel","last_synced_at":"2026-03-15T05:02:10.474Z","repository":{"id":343118908,"uuid":"1176401707","full_name":"cevr/counsel","owner":"cevr","description":"Route a prompt from Claude to Codex or from Codex to Claude","archived":false,"fork":false,"pushed_at":"2026-03-10T23:09:43.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-11T04:33:10.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cevr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-09T01:36:24.000Z","updated_at":"2026-03-10T23:09:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"92a353b6-2723-415c-997f-3f69765708d3","html_url":"https://github.com/cevr/counsel","commit_stats":null,"previous_names":["cevr/counsel"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cevr/counsel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fcounsel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fcounsel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fcounsel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fcounsel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cevr","download_url":"https://codeload.github.com/cevr/counsel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cevr%2Fcounsel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30412217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T00:40:14.898Z","status":"online","status_checked_at":"2026-03-12T02:00:07.260Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-11T01:03:04.878Z","updated_at":"2026-03-12T02:00:54.898Z","avatar_url":"https://github.com/cevr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# counsel\n\nOne command. Opposite agent only.\n\nIf you are in Claude, `counsel` routes to Codex. If you are in Codex, it routes to Claude.\n\n## Install\n\n```bash\nbun install\nbun run build\nbin/counsel --help\n```\n\nFor local PATH wiring during development:\n\n```bash\nbun run link\n```\n\n## Usage\n\n```bash\ncounsel \"Review src/auth for regression risk\"\ncounsel --deep \"Challenge this migration plan\"\ncounsel --from claude -f prompt.md\necho \"Trace the data flow in src/\" | counsel\n```\n\nFlags: `-f/--file`, `--from`, `--deep`, `-o/--output-dir`, `--dry-run`, `-V/--version`\n\n## Output\n\n`counsel` prints the preview or result payload to stdout.\n\nEach run writes:\n\n```text\n/tmp/counsel/\u003cslug\u003e/\n├── prompt.md\n├── claude.md or codex.md\n└── claude.stderr or codex.stderr\n```\n\n## Requirements\n\n- `claude` on `PATH` for Claude targets\n- `codex` on `PATH` for Codex targets\n- Auto-detection via `CLAUDE_CODE`, `CLAUDE_CODE_ENTRYPOINT`, `CODEX_THREAD_ID`, or `CODEX_CI`\n\nIf detection is ambiguous, pass `--from`.\n\n## Skill\n\nRepo skill lives in `skills/counsel/`.\n\n## Development\n\n```bash\nbun run gate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcevr%2Fcounsel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcevr%2Fcounsel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcevr%2Fcounsel/lists"}