OkayTeacher
EN English 한국어 日本語 中文 हिन्दी বাংলা اردو Español Português Français Deutsch Русский العربية Bahasa Indonesia Tiếng Việt ไทย Türkçe

How to enable notifications

Notifications are unavailable in this browser or on this address. Try a supported browser on the secure SONUB site.

If notifications are blocked, allow them in your browser settings.

  1. Open the site controls beside the address bar, or your browser’s site settings. Set Notifications for this site to Allow.
  2. In your device settings, allow notifications for your browser and check Do Not Disturb or Focus.
  3. Return to SONUB, reload the page, and use the bell to enable notifications.

On iPhone or iPad, add SONUB to your Home Screen, open it there, then allow notifications.

OpenAI

Codex — OpenAI’s coding agent

Install Codex, run your first task in a project folder, then level up in four tabs. Start by checking what you need and copying your install command.

Master — subagents, cloud, GitHub, several AIs together

Hand work to subagents and the cloud, get reviews from @codex on GitHub, review each other's work with other AIs such as Claude Code, and have the team work from the same setup.

Subagents — hand off parts of the work

Ask to start and it splits research, building and review to run at the same time. Each has its own conversation, so the main conversation stays clean.

  • Built-in default, worker and explorer are there from the start, and /subagents moves between subagents.
  • Make your own subagents as files in .codex/agents/ (project) or ~/.codex/agents/ (you) — name, description, developer_instructions.
  • Subagents inherit the parent's sandbox and approval settings.
  • Split the roles in your request, like "Review the current with reviewer, and meanwhile have worker write tests".
.codex/agents/reviewer.toml
name = "reviewer"
description = "Reviews diffs for bugs and missing tests. Read-only."
developer_instructions = """
Run git diff. List bugs with file and line, then missing tests.
Never edit files.
"""
model_reasoning_effort = "high"

Codex cloud — hand work to the cloud

runs work in 's environment. It does not use your computer, so you can hand over several jobs at once and apply only the finished results you choose to your files.

  • First create an environment (, setup , , internet access) in the Codex settings in .
  • codex cloud shows the task list and starts new tasks. You can also hand one over directly with codex cloud exec --env <environment > "…".
  • codex apply <task ID> applies the change made in the cloud to your repository ().
  • Have it try the same job several times (--attempts) and pick the best result.
codex cloud                                   # see and start cloud tasks
codex cloud exec --env <ENV_ID> "Add input checks to the signup form"
codex cloud list
codex apply <TASK_ID>                         # apply the result to your files

GitHub — @codex review in PRs

Connect a repository to Codex and just writing @codex review in a comment gets you a review. With the (openai/codex-action) it can also run automatically on every PR.

  • @codex review — reviews that PR and reports only serious problems (, P1). You can turn on automatic review of every PR in the Codex settings.
  • Any other @codex … comment starts a cloud task with that content.
  • openai/codex-action@v1 takes and sandbox, runs Codex and gives the final answer as final-message — post it as a comment in a next step.
  • Pass the key as a repository secret (OPENAI_API_KEY), and keep sandbox at for a review that only reads.
.github/workflows/codex-review.yml
name: Codex review
on:
  pull_request:
jobs:
  review:
    runs-on: ubuntu-latest
    permissions:
      contents: read
    steps:
      - uses: actions/checkout@v4
      - uses: openai/codex-action@v1
        id: codex
        with:
          openai-api-key: ${{ secrets.OPENAI_API_KEY }}
          prompt: "Review this pull request. List bugs and missing tests."
          sandbox: read-only
      # the answer is in steps.codex.outputs.final-message

Put a ## Rules section in and Codex's PR reviews follow those rules.

Using several AIs together — review each other

When another reviews one AI wrote, problems that one would miss alone show up. If you share the same instructions through AGENTS.md, it is easy to switch between Codex and in one project.

Splitting the roles is another way. One AI plans and builds, another reviews and tests, and a person reads the final diff and decides whether to merge.

  • codex review --uncommitted — Codex reviews the uncommitted changes. --base <> reviews a whole branch.
  • diff | claude -p "…" — Claude Code reviews the changes Codex made.
  • From inside another AI's session, can hand one job to Codex (for example writing tests or making a picture).
  • When the two AIs disagree, have both give evidence (file, line, test result) and let a person check and choose.
Terminal
# Claude Code wrote the change — Codex reviews it
codex review --uncommitted

# Codex wrote the change — Claude Code reviews it
git diff | claude -p "Review this diff. List bugs and missing tests."

# From inside another AI's session, hand one job to Codex
codex exec --sandbox workspace-write "Write unit tests for src/price.ts"

Running a team setup — together on the same settings

When many people and many AIs work in one repository, settings pile up fast. Decide what is shared and what is personal, and what is a request and what is enforced.

  • Shared (): AGENTS.md, .codex/config.toml, .codex/hooks.json, .codex/agents/, .agents/skills/
  • Personal (do not commit): ~/.codex/config.toml, files, ~/.codex/AGENTS.md
  • Keep AGENTS.md short. Add a rule only when the same mistake repeats, and delete wrong rules.
  • Enforce what must be followed with the sandbox, approvals and , not with instructions.
  • Pass keys only to the step that runs Codex, and run reviews read-only.

Master practice — automation and working with other AIs

  1. Run Codex once without a conversation: codex exec "Find the test of this project" > report.md, then read report.md.
  2. Save your usual settings (, sandbox) in ~/.codex/config.toml, open codex again and check with /status that they apply.
  3. Make a second folder with add ../my-project-b -b try-b and give Codex and Claude Code different jobs. When both finish, have each review the other's diff.
  4. Leave @codex review on a GitHub pull request and see the review arrive (connect Codex to the repository first).
  5. Add one team rule to AGENTS.md, give the same job to Codex and Claude Code, and compare whether both follow the rule.

If you get stuck: codex exec is read-only by default, so add --sandbox workspace-write when it must edit files. If a setting does not apply, check the current values with /status and codex --help. Done all five? Check yourself with the checklist below.

Master checklist

  • Shared rules in AGENTS.md — other AIs such as Claude Code work from the same instructions
  • You choose the sandbox and approvals to fit the job, with defaults written in and profiles
  • Repeated jobs go to skills, must-follow rules to hooks, outside tools through
  • Repeated work is with codex exec and the GitHub Action
  • Big jobs are split across subagents and codex cloud, and only chosen results are applied
  • AIs review each other's work, and a person checks the final diff and tests

The tools change often. If a command does not work, check codex --help and the official docs first. Options in older articles (--full-auto, [profiles.x]) may already have changed.

Official documentation

Checked against the official documentation on 2026-10-19. These tools change often — if a command fails, see the official docs.