SONUB
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

Type codex in a project folder and it starts. It reads your project, edits files and runs commands to test its own work. This page covers installing it and your first run, and links to the course chapters that go deeper.

Master — subagents, cloud, GitHub, several AIs together

Hand work to and the , get reviews from @codex on , 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 Codex to start subagents 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 TOML 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 diff 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

codex cloud runs work in OpenAI's cloud 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 (repository, setup script, secrets, internet access) in the Codex settings in ChatGPT.
  • codex cloud shows the task list and starts new tasks. You can also hand one over directly with codex cloud exec --env <environment ID> "…".
  • codex apply <task ID> applies the change made in the cloud to your repository (git apply).
  • Have it try the same job several times (--attempts) and pick the best result.
Terminal
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 GitHub to Codex and just writing @codex review in a comment gets you a review. With the GitHub Action (openai/codex-action) it can also run automatically on every PR.

  • @codex review — reviews that PR and reports only serious problems (P0, 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 prompt 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 read-only 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 ## Code Review Rules section in AGENTS.md 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 Claude Code in one project.

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

  • codex review --uncommitted — Codex reviews the uncommitted changes. --base <branch> reviews a whole branch.
  • git diff | claude -p "…" — Claude Code reviews the changes Codex made.
  • From inside another AI's session, codex exec 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 (commit): AGENTS.md, .codex/config.toml, .codex/hooks.json, .codex/agents/, .agents/skills/
  • Personal (do not commit): ~/.codex/config.toml, profile 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 hooks, not with instructions.
  • Pass CI keys only to the step that runs Codex, and run reviews read-only.

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 config.toml and profiles
  • Repeated jobs go to skills, must-follow rules to hooks, outside tools through MCP
  • Repeated work is automated 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-18. These tools change often — if a command fails, see the official docs.

Guidelines

AI

Certificate

Study

Vibe Coding

Game

Practice

Teachers

Chat

Forum

Create

Community

More

Glossary

Pick a word you don't know. You'll see a simple explanation and related terms.

No matching term yet.

Pick a term to see its explanation.