Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

codex-first

БесплатноЗапускает вложенные скриптыНе проверен

Claude Code / OpenClaw-on-Claude work routing: delegate hands-on work to Codex under the native-Claude model gate. Keep specification, judgment, and…

steipeteот steipete★ 7 577 звёзд на GitHub

Об этом скилле

Codex First

Launch flags — read first, copy verbatim

Default every Codex worker, fresh or resumed, to GPT-6.2 Sol, high reasoning, on the direct-API provider (Peter, 2026-11-23), with the Fast tier flags (service_tier="fast", sent as API priority; Peter, 2026-10-30). Pass all of them unless the user requests an override.

# fresh
codex exec --yolo -C "$WT" \
  -m gpt-6.2-sol -c 'model_provider="openai_api_direct"' -c 'model_reasoning_effort="high"' \
  --enable fast_mode -c 'service_tier="fast"' \
  -o "$OUT" - < "$ORDER"
# resume: pass the same flags again; resume inherits none of them, not even the provider
codex exec resume "$SID" --dangerously-bypass-approvals-and-sandbox \
  -m gpt-6.2-sol -c 'model_provider="openai_api_direct"' -c 'model_reasoning_effort="high"' \
  --enable fast_mode -c 'service_tier="fast"' -o "$OUT" -
  • 6.2 Sol needs the API here: with codex-cli 0.164.0 the ChatGPT-account route returns 400 model_not_found (not supported when using Codex with a ChatGPT account). codex exec resume uses the provider in force at resume time, not the session's recorded one (codex-cli 0.164.0, 2026-11-23): a resume without the provider flag lands on the saved route and fails the same way.
  • codex-cli 0.164.0 advertises no tier for 6.2: it warns service tier ... is not advertised and omits it, so 6.2 runs at the standard tier. codex-cli 0.171.0 (Peter's Mac since 2026-11-23) accepts fast for 6.2 without that warning. Keep the Fast flags. Older CLIs also warn that 6.2 uses fallback model metadata; that is expected.
  • Route fallback: 6.2 or the direct provider unusable (that 400 on the API route, an access error, provider auth command … exited, 401/Missing bearer) → run the order on GPT-6.1 Sol, high, Fast over the saved route (drop the provider flag) and say so in the report. Never repair credentials ad hoc. scripts/codex-resume does this switch automatically.
  • Old Codex CLIs silently omit tiers they do not know (codex-cli 0.147 on Team warned not advertised and sent no tier); keep the CLI current. Verified on Team with 0.166.0, 2026-10-30.
  • Ultrafast only on request, and only on 6.1 Sol (not advertised for 6.2): use -m gpt-6.1-sol on a route whose catalog lists the tier (launch details), swap in -c 'service_tier="ultrafast"', and add -c 'model_auto_compact_token_limit=260000'. It is served up to ~282k prompt tokens, flaky at 288–294k, and silently fast at ≥300k (measured 2026-10-13); the 260k cap keeps it there. Rollouts record only the requested tier; prove the served tier with a direct probe (response.service_tier). Details: launch details.
  • Context: workers get the base 500k window. Only when the order needs a whole-repo context, launch with -p sol61-1m (or -p astra-1m) instead of the -m/model_provider flags: CLI overrides beat the profile, and those profiles pin 6.1 Sol/Astra on the direct provider because the 1M catalogue has no genuine 6.2 entry yet. See $codex-huge-context.
  • Copy all model/provider/reasoning/tier flags into wrappers; override only on user request. Verify launch arguments (fast default; requested ultrafast is valid on 6.1 Sol).

Security audits and cyber-classifier stops → Daybreak (Peter, 2026-10-15/18; reworked 2026-11-23)

Daybreak is a per-request access program (access_programs.cyber), not a model. The gpt-daybreak-{blue,red}-latest aliases are retired (404 model_not_found). Entitlement belongs to the API project; selecting a program grants nothing.

  • Security audit lanes (threat models, injection/secret-exposure audits, permission inventories, security review of hardening diffs) launch on Red from the start (Peter 2026-10-18: "use daylight red model for security audits"). Implementation workers stay on Sol at Standard.
  • Worker stops with This content was flagged for possible cybersecurity risk → resume the same session on Blue with the same model; still flagged → resume on Red (Peter: "use daybreak red if you hit a blocker with regular models"). Don't rephrase to dodge the classifier or hop between regular models.
CYBER=(-c 'model_provider="openai_api_direct"' -c 'model_providers.openai_api_direct.capabilities.cyber_access_programs=true')
# Blue: same model, reduced refusals
codex exec resume "$SID" --dangerously-bypass-approvals-and-sandbox -m gpt-6.2-sol "${CYBER[@]}" \
  --cyber-access-program daybreak_blue -c 'model_reasoning_effort="high"' -o "$OUT" -
# Red: purpose-trained cyber model (audits, or Blue still flagged)
codex exec --yolo -C "$WT" -m gpt-6-cyber "${CYBER[@]}" \
  --cyber-access-program daybreak_red -c 'model_reasoning_effort="high"' -o "$OUT" - < "$ORDER"
  • Needs codex-cli ≥0.171.0. On the custom direct provider, Codex silently drops --cyber-access-program unless the provider declares capabilities.cyber_access_programs = true (the -c ab
Полный SKILL.md на GitHub

Установить codex-first в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/coordination.mdreferences/launch-details.mdreferences/resume-and-watchdog.mdreferences/troubleshooting.mdscripts/codex-resumescripts/codex-resume.test.sh

FAQ

Что делает скилл codex-first?

Claude Code / OpenClaw-on-Claude work routing: delegate hands-on work to Codex under the native-Claude model gate. Keep specification, judgment, and verification in Claude; prefer isolated Codex-backed autoreview.

Как установить скилл codex-first?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл codex-first запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить codex-first с