codex-adapter
/codex-adapter
Przekazuje jedno ograniczone, mechaniczne zadanie (na przykład zmianę nazwy symbolu w wielu plikach) do Codex CLI jako wykonawcy innego niż Claude, z tą samą bramką przeglądu przed merge'em.
- Autor
- wrg32786 ↗
- Repozytorium
- aigent-os ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
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.
Co robi i kiedy
Przekazuje jedno ograniczone, mechaniczne zadanie (na przykład zmianę nazwy symbolu w wielu plikach) do Codex CLI jako wykonawcy innego niż Claude, z tą samą bramką przeglądu przed merge'em.
Oryginalny opis (EN)
Route ONE bounded, mechanical task to the Codex CLI as a non-Claude executor, under the same review-before-merge gate as any other agent-produced diff. Use when the user explicitly asks to hand a task to Codex, or names OpenAI Codex / a non-Claude executor for a mechanical change (rename a symbol across files, add a config entry, apply a scripted find/replace). Not for open-ended or strategic work -- that stays with the operating Claude session.
Jak działa
- Scope -- what "bounded and mechanical" means
- Before you invoke it
- Invocation
- After it runs -- the review gate
- What this is not
Podgląd SKILL.md
--- name: codex-adapter description: Route ONE bounded, mechanical task to the Codex CLI as a non-Claude executor, under the same review-before-merge gate as any other agent-produced diff. Use when the user explicitly asks to hand a task to Codex, or names OpenAI Codex / a non-Claude executor for a mechanical change (rename a symbol across files, add a config entry, apply a scripted find/replace). Not for open-ended or strategic work -- that stays with the operating Claude session. allowed-tools: Read, Bash user-invocable: true triggers: - route this to codex - use codex for this - hand this to codex - run this through codex - codex exec - non-claude executor --- # Codex Adapter This is aigent-OS's first (and currently only) non-Claude executor: a thin wrapper around `daemons/codex-adapter.sh` that runs a single bounded, mechanical task through the [Codex CLI](https://developers.openai.com/codex)'s non-interactive `codex exec` mode. ## Scope -- what "bounded and mechanical" means Good fits: a scripted rename, a config/gitignore entry, a repetitive multi-file edit with a clear before/after, a lint-fix pass. The task prompt you hand it should be checkable by a human (or you) glancing at the resulting diff -- if you can't describe in one sentence what "done" looks like, it's not bounded enough for this adapter; do it yourself instead. Not a fit: architecture decisions, anything requiring judgment about tradeoffs, anything touching credentials/secrets/production config, anything the user hasn't explicitly asked to route to Codex. ## Before you invoke it 1. Confirm the Codex CLI is actually available: `command -v codex` (or whatever `AIGENT_CODEX_BIN` is set to). If it isn't installed, tell the user instead of guessing at a path. 2. State the bounded task in one sentence, and the target directory. If either is unclear, ask -- don't invoke on a guess. ## Invocation ```bash bash daemons/codex-adapter.sh "<bounded task prompt>" --dir <path> [--sandbox <mode>] ``` - `AIGENT_CODEX_BIN` (env, default `codex`) -- path or name of the Codex CLI binary. Never hardcode a machine-specific path in the invocation; set the env var if the binary isn't on `PATH`. - `--dir <path>` -- working directory the task runs in. Default: current directory. - `--sandbox <mode>` -- passed through to `codex exec --sandbox`. Default `workspace-write` (Codex may read/write inside `--dir`, nothing wider). Example: ```bash AIGENT_CODEX_BIN=codex bash daemons/codex-adapter.sh \ "Add a .gitignore entry for *.tmp files" --dir . ``` ## After it runs -- the review gate The adapter **never commits or pushes**. It writes: - `.aigent/codex-runs/<timestamp>/output.log` -- the raw Codex CLI transcript - `.aigent/codex-runs/<timestamp>/review.diff` -- a working-tree diff (tracked changes + a synthetic diff for any new untracked files) if `--dir` is a git repository - `.aigent/codex-runs/<timestamp>/status.txt` -- `git status --porcelain` for the same tree Read `review.diff` before doing anything else. Treat a Codex-produced change exactly like a sub-agent's diff: verify it does what was asked, then decide whether to stage/commit it yourself. If `--dir` isn't a git repository, the adapter says so explicitly and you review the files directly instead. ## What this is not Not a general multi-LLM router -- it's one task class routed to one executor. Extending this to route by task type, or to wire additional CLIs (Gemini CLI, opencode, etc.) behind the same interface, is future work, not something to imply is already live.
Wersje
W bazie nie ma innych skilli o nazwie codex-adapter.
Migawka bazy z 13.11.2026 · wersja paczki 639f65d7fb41 (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
- 100codex-first-executor
Wprowadza politykę Codex-first dla zewnętrznego wykonawcy: kieruje zadania do Claude lub Codex według ich cech i decyduje, czy dane zadanie przekazać Codex. - 100wb-exec
Przekazuje ograniczone zadania kodowania i testów zewnętrznemu wykonawcy CLI i zbiera wynik wraz z różnicami w plikach. - 100codex
Przekazuje zadanie do OpenAI Codex CLI (codex exec) zamiast wykonywać je samodzielnie, na przykład recenzję, refaktoryzację, drugą opinię lub kontynuację sesji. - 100codex-cli
Deleguje zadania do OpenAI Codex CLI z innego środowiska agenta, na przykład Claude Code: sprawdza instalację, uruchamia polecenia codex exec, wznawia sesje, zbiera wyniki i obsługuje obrazy. - 90Codex Integration
Deleguje złożone zadania kodowe do Codex CLI i koordynuje pracę między Claude a Codex. - 100codex
Uruchamia OpenAI Codex CLI przez AWS Bedrock nieinteraktywnie, by uzyskać drugą opinię, przejrzeć diff lub zlecić zadanie.