codex
БесплатноБез исполняемых скриптовНе проверенRun OpenAI Codex CLI (via AWS Bedrock) non-interactively to get a second opinion, review a diff, or delegate a task. Use when the user asks to "run codex"…
от ispc★ 2 997 звёзд на GitHubОб этом скилле
Running Codex
Codex is installed at /usr/bin/codex and configured in ~/.codex/config.toml
to use the amazon-bedrock-runtime provider (region us-east-2). Always run it
non-interactively with codex exec; the interactive TUI cannot be driven from
Claude Code.
1. Precheck
echo "token: ${AWS_BEARER_TOKEN_BEDROCK:+set}"; echo "proxy: ${https_proxy:+set}"
Both must print set. Never print or log the token value. If either is
missing, stop and tell the user: the token comes from the Bedrock Token
Generator, and Bedrock is only reachable through proxy-us.intel.com:911.
2. Run
OUT=$(mktemp /tmp/codex-out.XXXXXX)
timeout 600 codex exec \
-C /localdisk2/aneshlya/ispc/applications.compilers.ispc.core \
-s read-only \
-o "$OUT" \
"<prompt>" </dev/null > /tmp/codex-log.txt 2>&1
echo "exit=$?"; cat "$OUT"
-owrites only Codex's final message to$OUT; the full transcript goes to/tmp/codex-log.txt. Read the log only when the run fails.</dev/nullis required, otherwisecodex execwaits for stdin.- Use
-s read-onlyby default. Use-s workspace-writeonly when the user explicitly wants Codex to edit files, and review its changes withgit diffafterwards. - Runs can take several minutes: use a Bash timeout of 600000 ms, or
run_in_backgroundfor long tasks. - Codex does not see this conversation. Put everything it needs in the prompt:
goal, relevant file paths, branch, and constraints. For a diff review, tell it
to run
git diff(orgit diff main...HEAD) itself rather than pasting the diff.
3. Report
Relay Codex's answer to the user, clearly attributed to Codex. Do not treat its claims as verified: check any finding against the code before acting on it, and say which ones you confirmed.
Troubleshooting
Model metadata for ... not found: harmless warning, ignore it.failed to load AWS credentials: the credential provider was not enabled:AWS_BEARER_TOKEN_BEDROCKis missing or expired in the process making the request. Forcodex exec, fix the current environment. For the user's interactivecodex, the background app-server daemon was started without the token. Check it without printing the value:
If it printsPID=$(python3 -I -c 'import json,os;print(json.load(open(os.path.expanduser("~/.codex/app-server-daemon/daemon.pid")))["pid"])') tr '\0' '\n' < /proc/$PID/environ | grep -c '^AWS_BEARER_TOKEN_BEDROCK='0, kill that exact PID (neverpkill -f, which matches the calling shell). Codex starts a new daemon on the next launch.401fromapi.openai.com: the config is not applied. Top-level keys (model,model_provider, ...) must come before the first[table]header in~/.codex/config.toml.- Connection errors or hangs: the proxy env vars are missing.
Установить codex в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл codex?
Run OpenAI Codex CLI (via AWS Bedrock) non-interactively to get a second opinion, review a diff, or delegate a task. Use when the user asks to "run codex", "ask codex", or get a Codex review/answer.
Как установить скилл codex?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл codex запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic