use-codex
Use when the user asks to use Codex, GPT, Sol, Luna or Astra.
Skill by AmitRockBear
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/amitrockbear-use-codex
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/use-codex
What's inside
- Skill name
use-codex- Description
- Use when the user asks to use Codex, GPT, Sol, Luna or Astra.
- License
- MIT
- Instructions
- 38 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- troubleshooting.md · references/
SKILL.md (first lines)
1. Resolve the model: `gpt-6-sol`, `gpt-6-luna` or `gpt-6-astra` according to the request; default to Astra. Use the requested effort (`low`, `medium`, `high`, `xhigh`, `max`), default `medium` for the all models. Select the assigned worktree for implementation or repository for read-only work; run with full access using `--dangerously-bypass-approvals-and-sandbox` on every invocation; keep the requested edit scope in the prompt. 2. Check available disk space on the task output volume using the operating system’s disk-usage tool or Python’s `shutil.disk_usage`. If less than 10 GiB is free, notify the user before starting and leave deletion decisions to them. Session logs under `~/.codex/sessions` can be large; inspect before attributing disk use. 3. Fill every placeholder below. Write a self-contained prompt with the goal, success criteria, context, assigned paths, read-only/edit scope, constraints, verification and expected output. Tell Codex to preserve unrelated changes and include existing authorization for commits, pushes, deployment or global configuration changes; those actions require explicit authorization. Codex does not inherit Claude’s context. ```bash CODEX_TASK_DIR="<absolute task output directory>" CODEX_WORK_DIR="<assigned worktree or repository>" mkdir -p "$CODEX_TASK_DIR" CODEX_RUN_DIR="$(mktemp -d "$CODEX_TASK_DIR/codex.XXXXXX")" CODEX_ARTIFACT_DIR="$CODEX_RUN_DIR/artifacts" CODEX_REPORT="$CODEX_RUN_DIR/report.md" CODEX_RUNLOG="$CODEX_RUN_DIR/run.log" CODEX_PROMPT="$CODEX_RUN_DIR/prompt.txt" mkdir -p "$CODEX_ARTIFACT_DIR" cat > "$CODEX_PROMPT" <<'PROMPT' <Complete task prompt, including scope, constraints and expected output.> Return your final report in the final response; the caller saves it. PROMPT codex exec --skip-git-repo-check \ -m "<codex_model>" \ -c 'model_reasoning_effort="<codex_effort>"' \ -C "$CODEX_WORK_DIR" \ --add-dir "$CODEX_ARTIFACT_DIR" \ --dangerously-bypass-approvals-and-sandbox \ -o "$CODEX_REPORT" \ - < "$CODEX_PROMPT" > "$CODEX_RUNLOG" 2>&1 ``` Use the requested output directory, otherwise `./outputs/<task>`. Let `-o` write the final report. For authorized artifact creation, put the resolved `$CODEX_ARTIFACT_DIR` path in the prompt; read-only reviewers return findings in their final response. 4. Start the command through Bash `run_in_background: true` or an equivalent harness-owned process session. Keep its task handle/PID and wait for completion before returning; continue independent work meanwhile. Use only that handle for monitoring or stopping the run. Capture stderr and inspect the report and log as well as exit status. For a missing report, read [troubleshooting](references/troubleshooting.md) with the owned process status and log to identify a supported cause or report uncertainty. 5. Validate review findings against the source and verify implementations with proportionate checks. Report the outcome and material limits. ## Claude workflow wrapper Use a thin Claude wrapper when delegating Codex through Claude’s subagent tools: `model: 'sonnet', effort: 'low'`. Give it the self-contained task, assigned worktree, edit scope and unique run paths. Its job is to run Codex and return the completed report; it must retain the background task until completion. Label it `<codex_model>(<codex_effort>):<task>` and request structured report/status output through the harness schema when available. Reuse the user’s requested model restrictions when choosing the wrapper.
From AmitRockBear/skills, MIT.
More from AmitRockBear/skills
- 0.566score
typescript-best-practices
AmitRockBear
Use when reading or editing any .ts or .tsx file.
SkillAFreshness: AClaude Code +9 - 0.565score
verify-change
AmitRockBear
Use when verifying an implemented change or PR before handoff.
SkillAFreshness: AClaude Code +9 - 0.565score
use-cursor
AmitRockBear
Use when the user asks to run a model fable-5-1 or opus-5-5 through Cursor, Grok, including follow-ups to an existing Cursor task.
SkillAFreshness: AClaude Code +9 - 0.564score
write-skill
AmitRockBear
Use when creating, modifying or reviewing skills based on recurring corrections.
SkillAFreshness: AClaude Code +9 - 0.564score
use-claude
AmitRockBear
Use when the user asks Claude, Opus or Fable for a task, including follow-ups to an existing Claude task.
SkillAFreshness: AClaude Code +9 - 0.558score
pr-spec-review
AmitRockBear
Use when the user asks you to review the implementation of a task.
SkillAFreshness: AClaude Code +9 - 0.558score
pr-clean-code-review
AmitRockBear
Use when the user asks you to review the clean code or simplify the implementation of a PR.
SkillAFreshness: AClaude Code +9 - 0.558score
pr-walkthrough
AmitRockBear
Use when the user asks you to explain or give a walkthrough or help understand a pr.
SkillAFreshness: AClaude Code +9 - 0.555score
review-loop
AmitRockBear
Use when the user asks you to do a review loop for a PR.
SkillAFreshness: AClaude Code +9 - 0.554score
principle-boundary-discipline
AmitRockBear
Use when wiring validation, error handling or framework adapters.
SkillAFreshness: AClaude Code +9 - 0.554score
principle-type-system-discipline
AmitRockBear
Use when designing types, reviewing function signatures, or writing statically typed code.
SkillAFreshness: AClaude Code +9 - 0.543score
explainer-video
AmitRockBear
Use when the user explicitly asks to create an animated teaching or explainer video about a subject or a document.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 26, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/AmitRockBear/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AmitRockBear
- 0.566score
typescript-best-practices
AmitRockBear
Use when reading or editing any .ts or .tsx file.
SkillAFreshness: AClaude Code +9 - 0.565score
use-cursor
AmitRockBear
Use when the user asks to run a model fable-5-1 or opus-5-5 through Cursor, Grok, including follow-ups to an existing Cursor task.
SkillAFreshness: AClaude Code +9 - 0.565score
html-communication
AmitRockBear
Use for plans, specs, write-ups, findings, summaries, reports or comparisons presented as readable HTML; use for UI mocks when the user explicitly asks to…
SkillAFreshness: AClaude Code +9 - 0.565score
verify-change
AmitRockBear
Use when verifying an implemented change or PR before handoff.
SkillAFreshness: AClaude Code +9 - 0.564score
use-claude
AmitRockBear
Use when the user asks Claude, Opus or Fable for a task, including follow-ups to an existing Claude task.
SkillAFreshness: AClaude Code +9 - 0.564score
write-skill
AmitRockBear
Use when creating, modifying or reviewing skills based on recurring corrections.
SkillAFreshness: AClaude Code +9
Cite this page
use-codex skill. Agent Mart. https://agentmart.dev/skills/amitrockbear-use-codex (last updated 2026-10-24)