codex-cc
/codex-cc
Deleguje zadania z Codex do lokalnego Claude Code w trybie print, zachowując skille, wtyczki, serwery MCP, polecenia, reguły CLAUDE.md i ustawienia, z wznawianiem sesji przez SESSION_ID.
- Autor
- Dianel555 ↗
- Repozytorium
- DSkills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 2
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/claude_bridge.py, tests/test_claude_bridge.py
Co robi i kiedy
Deleguje zadania z Codex do lokalnego Claude Code w trybie print, zachowując skille, wtyczki, serwery MCP, polecenia, reguły CLAUDE.md i ustawienia, z wznawianiem sesji przez SESSION_ID.
Oryginalny opis (EN)
Delegates coding tasks from Codex to local Claude Code in print mode while preserving Claude's normal runtime customizations by default. Use when: (1) You want Codex to call Claude Code locally, (2) You need Claude-side skills, plugins, MCP servers, custom commands, CLAUDE.md rules, or workspace settings to stay active, (3) You want resumable Claude sessions from Codex via SESSION_ID, (4) You need thin `claude mcp` / `claude plugin` passthrough from the same bridge.
Jak działa
- Quick Start
- Runtime Contract
- Parameters
- Sessions
- Passthrough
Podgląd SKILL.md
---
name: codex-cc
description: |
Delegates coding tasks from Codex to local Claude Code in print mode while preserving Claude's normal runtime customizations by default. Use when: (1) You want Codex to call Claude Code locally, (2) You need Claude-side skills, plugins, MCP servers, custom commands, CLAUDE.md rules, or workspace settings to stay active, (3) You want resumable Claude sessions from Codex via SESSION_ID, (4) You need thin `claude mcp` / `claude plugin` passthrough from the same bridge.
---
## Quick Start
```bash
python scripts/claude_bridge.py --cd "/path/to/project" --PROMPT "Analyze auth flow"
```
**Output:** JSON with `success`, `SESSION_ID`, `agent_messages`, `stream_file`
(the raw Claude JSONL stream), and optional `all_messages`, `stderr`, or `error`.
## Runtime Contract
- Default execution uses `claude -p` and does **not** force `--safe-mode`, `--bare`, `--disable-slash-commands`, or `--strict-mcp-config`.
- Claude Code therefore keeps its normal loading path for trusted-workspace customizations such as `CLAUDE.md`, skills, plugins, MCP servers, custom commands, and rules.
- `claude -p` skips the interactive trust dialog and silently ignores invalid settings files, so use this only in workspaces you already trust and whose `.claude` settings already validate.
- The bridge requests `stream-json`, persists each record immediately, and only treats Claude's final `result` record as a completed answer. Intermediate `assistant` records never mask a failed or incomplete turn.
- On Windows the PROMPT is delivered through stdin when `claude` resolves to a `.cmd`/`.bat` shim, so the prompt never passes through cmd.exe quoting and cannot hit the command-line length limit.
## Parameters
```text
usage: claude_bridge.py [-h] --PROMPT PROMPT --cd CD [--SESSION_ID SESSION_ID]
[--model MODEL]
[--permission-mode {,acceptEdits,auto,bypassPermissions,manual,dontAsk,plan}]
[--dangerously-skip-permissions] [--timeout TIMEOUT]
[--stream-file STREAM_FILE] [--return-all-messages]
{mcp,plugin} ...
options:
--PROMPT PROMPT Instruction for the task to send to Claude Code.
--cd CD Workspace root for Claude Code (cwd + --add-dir).
--SESSION_ID SESSION_ID Resume a conversation by session UUID.
--model MODEL Claude model override. Aliases resolve against the active endpoint.
--permission-mode ... Claude permission mode override.
--dangerously-skip-permissions Bypass Claude permission checks.
--timeout TIMEOUT Bridge-level timeout in seconds. Omit for no bridge deadline.
--stream-file STREAM_FILE Raw Claude stream-json JSONL destination.
--return-all-messages Include parsed stream records in the result.
subcommands:
mcp Thin passthrough to `claude mcp`.
plugin Thin passthrough to `claude plugin`.
```
## Sessions
Capture `SESSION_ID` from the first successful response and reuse it for follow-ups.
`SESSION_ID` is empty when a run never established a session (claude produced no stream output):
resume only with an id the bridge actually returned.
```bash
# New Claude session
python scripts/claude_bridge.py --cd "/project" --PROMPT "Inspect failing tests"
# Resume the same Claude session
python scripts/claude_bridge.py --cd "/project" --SESSION_ID "uuid-from-response" --PROMPT "Now propose the fix"
```
## Passthrough
```bash
python scripts/claude_bridge.py mcp list
python scripts/claude_bridge.py plugin list
```
Pliki w paczce (5)
- README.md 4 KB
- SKILL.md 4 KB
- ruff.toml 1 KB
- scripts/claude_bridge.py 21 KB
- tests/test_claude_bridge.py 25 KB
Wersje
W bazie nie ma innych skilli o nazwie codex-cc.
Migawka bazy z 13.11.2026 · wersja paczki d84bd5e7acfe (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100working-with-claude-code
Dostarcza dokumentację Claude Code: CLI, wtyczki, hooki, serwery MCP, skille i konfigurację. - 100working-with-claude-code
Opisuje Claude Code: instalację, wtyczki, hooki, MCP, skille i ustawienia na podstawie oficjalnej dokumentacji. - 100claude-code-plugin-development
Prowadzi przez tworzenie pluginów Claude Code, które pakują agentów, hooki, komendy, skille lub serwery MCP w dystrybuowalną całość. - 90Codex Integration
Deleguje złożone zadania kodowe do Codex CLI i koordynuje pracę między Claude a Codex. - 100setup
Konfiguruje Claude Code dla projektu lub urządzenia: CLAUDE.md, reguły, ustawienia, serwery MCP, agentów i hooki. - 100codex-to-cc
Jednorazowo konwertuje wtyczkę Codex do formatu Claude Code i dodaje jej obsługę w Claude Code.