# codex

> Claude/Codex skill by [@garrytan](https://omgskills.com/library/garrytan/index.md) · 132k stars · Updated 2026-09-09

OpenAI Codex CLI wrapper — three modes. (gstack)

## Install

```sh
git clone https://github.com/garrytan/gstack /tmp/gstack && ln -s /tmp/gstack/codex ~/.claude/skills/codex
```

## From README

When to invoke this skill Code review: independent diff review via codex review with pass/fail gate. Challenge: adversarial mode that tries to break your code. Consult: ask codex anything with session continuity for follow-ups. The "200 IQ autistic developer" second opinion. Use when asked to "codex review", "codex challenge", "ask codex", "second opinion", or "consult codex". Voice triggers (speech-to-text aliases): "code x", "code ex", "get another opinion". Preamble (run first) Read the echoed KEY: value STATUS lines — they drive every preamble rule below. Degraded mode: if SKILLSTARTPROTO: 1 is missing from the output (script absent, stale , or a different protocol number), apply safe defaults: treat SESSIONKIND as interactive, do NOT assume Conductor, skip onboarding/telemetry steps (their gates are marker-based, so consent and onboarding prompts are DEFERRED to the next healthy run — never lost), tell the user to run ./ or /gstack-upgrade, and proceed with their task.

## Links

- HTML page: https://omgskills.com/skills/garrytan/gstack/codex/
- GitHub: https://github.com/garrytan/gstack
- Author: [@garrytan](https://omgskills.com/library/garrytan/index.md)

## More from this repo

- [gstack](https://omgskills.com/skills/garrytan/gstack/index.md) — Router for the gstack skill suite.
   - [@garrytan](https://omgskills.com/library/garrytan/index.md) · 132k stars
- [autoplan](https://omgskills.com/skills/garrytan/gstack/autoplan/index.md) — Auto-review pipeline — reads the full CEO, design, eng, and DX review skills from disk and runs them sequentially with...
   - [@garrytan](https://omgskills.com/library/garrytan/index.md) · 132k stars
- [benchmark](https://omgskills.com/skills/garrytan/gstack/benchmark/index.md) — Performance regression detection.
   - [@garrytan](https://omgskills.com/library/garrytan/index.md) · 132k stars
