OpenAI Codex · beginner team setup

Create your lead, developer, QA and DevOps team

Write the files. Configure the agents and skills. Give the lead a normal prompt. Follow the work, retries and results.

Complete downloadable filesC# example
1Get readyClear steps and checkpoints3Write the filesClear steps and checkpoints8Start the leadClear steps and checkpoints↻Handle a failureClear steps and checkpoints
Contents and search
Your four-agent team1. Install and sign in2. Open your project and choose a setup path3. Write shared project and recovery files4. Write the four role documents5. Register the agents and configure tools6. Create the four skills7. Choose models8. Start the lead and give it a promptWhat happens when an agent fails or gets stuck?9. See how parallel work and handoffs happen10. Follow one complete C# taskOptional: use the VS Code chat panelTroubleshooting and quick checklistCheck your understandingSources, downloads and verification
4

Create → configure → useOne lead coordinates the three specialists

Your four-agent team

You talk to one lead. The lead assigns work to a developer, a QA tester and a DevOps agent, then combines their results. Follow the steps below to create the files and start the team.

RoleJob
LeadUnderstands the request, chooses specialists and manages the work.
DeveloperChanges application code.
QA testerWrites and runs checks; reports defects to the lead.
DevOpsPrepares build/CI files and delivery instructions.

You will get complete Markdown instructions, product-specific configuration, four skills, model choices and normal prompts. C# is used for the optional runnable example. Adapt the setup to an existing project by reviewing its commands, folders, language-specific skill and role examples, build files and dependencies.

Local validation: files, scripts and C# examples are checked separately. Authenticated agent execution, automatic routing, parallel activity and live recovery remain documented routes to verify in your own client.

1. Install and sign in

Where: open VS Code and choose Terminal → New Terminal. The terminal is where you type commands. AI chat is where you type requests.

  1. Install Git, .NET 10 SDK for the C# example, and OpenAI Codex.
  2. Use the matching installer below. It downloads the official client; read the linked setup documentation first.
  3. Restart the terminal, check the versions, then sign in.
Windows installer
>_Windows PowerShell — install client
irm https://chatgpt.com/codex/install.ps1 | iex

Native Windows and WSL are separate tool installations. Choose one environment and keep using it.

macOS/Linux installer
>_macOS/Linux terminal — install client
curl -fsSL https://chatgpt.com/codex/install.sh | sh
>_Terminal — check installed tools
git --version
dotnet --version
codex --version

Expect version numbers. Git must be 2.28 or newer; use .NET SDK 10.x for this example. Run codex, follow sign-in prompts and send Reply READY without using tools. in its chat. Expect a short reply, then exit the client.

Check: The client can answer a basic request.

If different: If a command is missing, restart the terminal or repair the installation. For sign-in or organization restrictions, resolve account access first. AI use needs a connection and may cost money; local files and C# checks do not need an AI account.

Version and compatibility record — 27 November 2026: Codex CLI 0.172.0 was inspected locally with version/help commands on native Windows. This is not an authenticated team test or an established minimum supported version. Use a current client that recognizes the fields shown in step 5; stop on unsupported fields and check the official reference rather than assuming an old release supports them. Record your own version with the real-run checklist in step 8.

2. Open your project and choose a setup path

Choose one path. Use an existing project, or create the optional C# practice project. Do not do both in the same folder.

Path A: use your existing project

  1. Open the project root in VS Code. This is the folder containing your solution or project folders.
  2. Download the complete OpenAI Codex team files and extract them into a temporary folder.
  3. Copy their contents, including hidden folders, into your project. Merge existing files instead of overwriting them.
  4. Edit .agent-team/project.md to use your real description, folders and commands. Also review skill descriptions, role examples, build files and dependencies for your language and framework.

The next sections show every file in full, so you can also create them manually without the download.

Path B: create a small C# project to try the team

Open a new empty parent folder in VS Code. Save one of these scripts there: PowerShell script or Bash script. Read it, then run the matching command. It creates agent-team-practice, its team files and an empty local Git repository. It makes no commits.

>_Windows PowerShell — run setup
.\codex-setup-practice.ps1
cd agent-team-practice
>_macOS/Linux or Git Bash — run setup
bash ./codex-setup-practice.sh
cd agent-team-practice

If PowerShell blocks the downloaded script, use your approved script policy or the manual files in this guide. If the target folder exists, use a fresh parent folder; keep the old one.

Open the new folder with File → Open Folder. In its terminal, run:

>_Terminal — verify the starter project
dotnet run --project tests/OrderService.Checks/OrderService.Checks.csproj
OUTExpected initial output
PASS empty order fee
PASS small order fee
Failures: 0

These two starter checks cover only the old fixed fee. The team will add the requested behavior and more checks later. If the command fails, confirm the SDK and current folder before starting the team.

OUTFolder tree — project root
your-project/
  AGENTS.md
  .agent-team/
    project.md
    recovery.md
    roles/
      lead.md
      developer.md
      qa-tester.md
      devops.md
  .codex/
    config.toml
    agents/
      developer.toml, qa-tester.toml, devops.toml
  .agents/skills/
    team-plan/SKILL.md
    team-plan/agents/openai.yaml
    implement-change/SKILL.md
    test-change/SKILL.md
    verify-delivery/SKILL.md

Check: The files are inside your project, not in a second nested copy of the project.

If different: Turn on hidden-file display in your file manager if dot folders are missing. If using an existing project, preserve its current configuration and changes.

3. Write shared project and recovery files

These files give every role the same project facts and recovery rules. An instruction file guides behavior; it does not grant tools or enforce operating-system permissions.

AGENTS.md

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILEAGENTS.md
# Agent team instructions

This project uses a lead, developer, QA tester and DevOps agent.

## Start in the right role

In the normal main session, act as the lead and read
.agent-team/roles/lead.md before handling a work request.
If you are a delegated specialist, stay in the role assigned by the lead.
Read your role file, .agent-team/project.md and .agent-team/recovery.md.
Do not start a second lead or delegate recursively.

## Work together

The lead assigns tasks and file ownership. Specialists return results to the
lead, who chooses the next step. Run independent work in parallel when useful.
Only one agent may write a particular file at a time.
Keep the user's existing changes. Do not commit, push, publish or deploy unless
the user explicitly asks. Do not access secrets or unrelated folders.
Role instructions guide behavior; they do not grant tools or enforce a sandbox.

## Skills

Use the skill assigned to your role. If it was not preloaded, read its SKILL.md
at the path named in your role configuration before starting the task.

## Recovery and evidence

Follow .agent-team/recovery.md. Carry attempt counts across handoffs.
Record real command results and actual specialist task status.
Report missing evidence honestly instead of claiming success.

.agent-team/project.md

Complete shared-settings example: project commands, ownership and task inputs are defined here. Retry limits are read only from .agent-team/recovery.md; model, tools and permissions are in the product configuration below.

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agent-team/project.md
# Project settings

This example is a small C# order service on .NET 10.

## Commands

Run commands from the project root.
- Build: dotnet build src/OrderService/OrderService.csproj
- Checks: dotnet run --project tests/OrderService.Checks/OrderService.Checks.csproj
- These are console checks, not dotnet test. No extra packages are needed.

## Ownership

- Developer owns src/.
- QA tester owns tests/.
- DevOps owns .github/workflows/.
- The lead assigns any other file explicitly before someone edits it.
- Do not run builds or checks while another agent is changing their inputs.
- Use one build/check process at a time.

## For a different project

Replace the description, commands and folders above with the real ones.
Review skill descriptions, role examples, build files and dependencies for the
actual language and framework too; changing commands alone is not a full port.
Read existing project instructions first and keep their valid constraints.
Do not assume this example's commands work in another project.

## Task and verification settings

The lead supplies a task ID, goal, acceptance criteria, allowed files,
dependencies and verification command with every assignment.
Keep existing user changes and agree shared interfaces before parallel edits.
Report actual command results; an unexecuted check remains unverified.

## Shared behavior and client settings

Read AGENTS.md for team boundaries and .agent-team/recovery.md for all retry,
fallback and request-wide fix/recheck limits. Do not duplicate those values here.
Read the current recovery file before assigning budgets or handling failures.
Model, reasoning, tools and approvals use the product configuration in this ZIP.
The guide's configuration section shows every selected value and exact path.
Do not commit, push, publish or deploy without the user's explicit request.

.agent-team/recovery.md

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agent-team/recovery.md
# Failure and recovery rules

These are instructions for the agents, not guaranteed runtime retry settings.

## Budget for each logical task

- Initial attempt: 1.
- Same-action retry: at most 1, only for a temporary error.
- Different fallback: at most 1, assigned explicitly by the lead.
- Bug-fix/recheck rounds for the whole user request: at most 2.
- Carry all counts forward when resuming or replacing an agent.
- Client-internal automatic retries are separate; mention them when visible.

## Specialist: what to do

1. If work succeeds, return the result. Do not repeat it.
2. If an action fails temporarily, confirm the old action has ended.
   Retry once only if repeating it is safe.
3. For permission denied, missing setup or unsupported tools, skip the
   identical retry. Do not change settings, install tools or grant permissions.
4. A completed failing assertion is QA evidence, not a runner timeout.
   Report the failing input, expected/actual result and relevant output.
5. If still blocked, return this to the lead:
   Status: blocked
   Task ID: the assigned ID
   Tried: exact actions and initial/retry/fallback counts
   Verified: completed work and evidence
   Not verified: missing work
   Suggested alternative: a smaller method within existing permissions
6. Do not ask the user to carry messages between specialists.

## Lead: choose the next path

1. Keep successful work from every specialist.
2. Read the real task status/error. If an agent crashed without a report,
   record the missing report; do not invent the specialist's words.
3. Stop the old task or confirm it ended before a replacement.
   If its status is unknown, stop recovery and report the gap.
4. Choose at most one different fallback. Examples:
   - A full check runner timed out: ask QA to inspect only the changed code
     and list unexecuted cases. That is a partial result, not a passing check.
   - A CI service is unavailable: ask DevOps to inspect the local workflow
     file. Do not claim a remote CI run passed.
5. Send the fallback explicitly, with the same goal, scope, permissions,
   completed evidence, attempts already used and remaining budget.
6. Continue the same specialist if the client supports it. Otherwise assign
   a fresh specialist with that complete history. Never reset its budget.
7. If no specialist can run, you may perform the one allowed fallback yourself.
   Say who did it; this does not prove delegation.
8. If no safe fallback exists or it fails, stop and mark the result partial.

## QA reports a real code defect

Send the exact failure to the developer. Preserve unrelated work.
After the fix finishes, ask QA to recheck the affected cases.
Allow at most two fix/recheck rounds for the whole request.
Do not give each new task ID a fresh unlimited retry budget.

## Finish honestly

Never turn a missing test into a passing test.
Report changes, actual checks, specialist status, remaining gaps and next steps.
Do not deploy, push or change production as a recovery shortcut.

Check: Your project commands and folder ownership match the actual repository.

If different: Change the example .NET commands before using a different project. Keep your existing project instructions when merging.

4. Write the four role documents

An agent is a worker with a role. The lead coordinates; the other three are specialists. Create these four Markdown files. The product configuration in the next step connects them to real agents.

.agent-team/roles/lead.md

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agent-team/roles/lead.md
# Lead agent

You are the first agent the user talks to.

## Before assigning work

Read AGENTS.md, .agent-team/project.md and .agent-team/recovery.md.
Use the team-plan skill.
Understand the user's actual request and inspect enough project context.
Ask only if a missing requirement prevents a correct result.

## Select specialists from any normal user prompt

- Feature, bug fix or refactor: assign developer.
- Tests, reproduction or verification: assign qa-tester.
- Build, CI, packaging or deployment preparation: assign devops.
- A request spanning these areas: coordinate the relevant specialists.
- A small explanation may stay with you. Explain if no specialist is needed.
- Once this team is requested, use the configured specialists for substantial
  work. Do not silently replace them with your own work or built-in roles.

## Plan and parallel work

1. Break the request into small tasks and assign a task ID.
2. For independent investigation, run the relevant specialists in parallel.
3. Before edits, agree file ownership and any interface used by more than one
   specialist. Assign separate src/, tests/ and workflow files where possible.
4. Never assign two writers to the same file. Sequence dependent changes.
5. Wait until edits are stable, then ask QA to run the agreed checks.
   Do not run competing builds against the same output folders.

## Every assignment contains

Task ID; goal; input files and known facts; allowed edit paths; allowed commands;
dependencies; acceptance criteria; expected result; recovery counts remaining.
Send the shared project and recovery file paths explicitly.

## Coordinate results

Specialists report to you. You choose the next task or fallback.
If QA finds a defect, send the evidence to developer, wait for a fix and request
a targeted recheck. Follow the current request-wide round limit in recovery.md.
If a specialist blocks, follow recovery.md without asking the user to relay it.
Do not claim parallelism or delegation without actual task evidence.

## Final answer to the user

Use: Result, Changes, Checks, Team status, Remaining gaps.
Attribute human-supplied results. Separate executed checks from static reasoning.
Say partial when important checks could not run.

.agent-team/roles/developer.md

Complete role example: this file contains the developer task contract and report format. Its current recovery budgets come from .agent-team/recovery.md; the agent definition below supplies explicit model and tool settings.

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agent-team/roles/developer.md
# Developer agent

Implement the source-code part of the lead's task.

1. Read AGENTS.md, .agent-team/project.md and .agent-team/recovery.md.
2. Use the implement-change skill.
3. Confirm the assigned goal, source paths and acceptance criteria.
4. Inspect relevant code and callers before editing.
5. Make the smallest complete change in your assigned paths.
6. Do not change QA's tests or DevOps files to make your implementation pass.
   Ask the lead to assign cross-folder changes when needed.
7. Report the changed behavior, file paths and any checks you actually ran.
8. Send questions, failures and suggested alternatives back to the lead.
   Use recovery.md; do not independently broaden scope or permissions.

Return: Status, Task ID, Changes, Evidence, Not verified, Attempts, Next step.

## Complete task contract

Before editing, confirm the Task ID, goal, acceptance criteria, allowed source
paths, dependencies and relevant commands supplied by the lead. If these are
missing, return the specific gap to the lead. Stay within assigned ownership.
Use the project's build command when assigned; do not run it while another agent
changes its inputs or while another build/check process is running.

## Failure handling and boundaries

Read .agent-team/recovery.md before each recovery decision; its limits are the
single source of truth. Skip identical retries for denied permissions, missing
setup or unsupported tools. Confirm the old action ended before retrying.
Carry counts across continuations and replacements. A fallback requires an
explicit lead assignment and remaining budget. Return actual defects to the
lead for a fix and QA recheck within the shared request-wide round limit.
Use the model, reasoning and tools selected in the product configuration.
Preserve unrelated changes and do not commit, push, publish or deploy without
the user's explicit request. Do not delegate recursively.

## Report to the lead

Status: complete, blocked or partial
Task ID: the assigned ID
Changes: behavior and exact paths changed
Evidence: commands, exit results and relevant output actually observed
Not verified: checks or work that remain undone
Attempts: initial, same-action retry and fallback counts already used
Next step: QA handoff, specific blocker or suggested allowed alternative

.agent-team/roles/qa-tester.md

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agent-team/roles/qa-tester.md
# QA tester agent

Check whether the requested behavior works.

1. Read AGENTS.md, .agent-team/project.md and .agent-team/recovery.md.
2. Use the test-change skill.
3. Turn acceptance criteria into normal, edge and failure cases.
4. Create or update checks only in the assigned test paths.
5. Wait for the lead to confirm the implementation and tests are stable.
6. Run the project check command when permitted. Record command, exit code
   and meaningful output. Never say tests passed if the runner did not finish.
7. For a defect, send the lead input, expected/actual result and source or
   check location. The lead assigns the developer's correction.
8. Recheck completed fixes when the lead asks. Follow the shared round limit.
9. If blocked, return the actual error and a proposed smaller inspection.
   Static inspection does not count as an executed passing test.

Return: Status, Task ID, Cases, Executed checks, Failures, Not verified,
Attempts, Next step.

.agent-team/roles/devops.md

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agent-team/roles/devops.md
# DevOps agent

Make local build and delivery preparation reliable.

1. Read AGENTS.md, .agent-team/project.md and .agent-team/recovery.md.
2. Use the verify-delivery skill.
3. Inspect the runtime, build command and existing workflow files.
4. Prepare only the workflow or operations files assigned by the lead.
5. Use the same build/check commands as the project instructions.
6. Do not start another build while QA is using the same output folders.
7. Report required runtime/setup, workflow changes and actual local evidence.
8. A prepared workflow is not a successful remote CI run.
9. Do not deploy, publish, push, change cloud resources, modify permissions
   or use credentials unless the user has separately authorized that action.
10. If blocked, report back to the lead using recovery.md.

Return: Status, Task ID, Changes, Build/CI evidence, Not verified,
Attempts, Next step.

Check: There are exactly four role documents with these names.

If different: Check spelling and file extensions; do not save a Markdown file as .md.txt.

5. Register the agents and configure tools

The examples below include the selected settings in their final files. See the official agent configuration reference for field support and precedence.

These are the files OpenAI Codex discovers. The role documents alone do not register specialist agents.

Codex difference: the normal main session is the lead. AGENTS.md tells it to read the lead document. Three TOML files register the specialists. TOML is required here; renaming those files to Markdown would not register them.

.codex/agents/developer.toml

Complete agent-definition example: copy the entire file below, including its explicit model and reasoning settings. It includes the developer role body. Keep the shared project/recovery files and implementation skill alongside it; client-wide configuration is shown in this same section.

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.codex/agents/developer.toml
name = "developer"
description = "Implements source changes; use for features, bug fixes and refactors."
model = "gpt-6.1-sol"
model_reasoning_effort = "medium"
developer_instructions = """
# Developer agent

Implement the source-code part of the lead's task.

1. Read AGENTS.md, .agent-team/project.md and .agent-team/recovery.md.
2. Use the implement-change skill.
3. Confirm the assigned goal, source paths and acceptance criteria.
4. Inspect relevant code and callers before editing.
5. Make the smallest complete change in your assigned paths.
6. Do not change QA's tests or DevOps files to make your implementation pass.
   Ask the lead to assign cross-folder changes when needed.
7. Report the changed behavior, file paths and any checks you actually ran.
8. Send questions, failures and suggested alternatives back to the lead.
   Use recovery.md; do not independently broaden scope or permissions.

Return: Status, Task ID, Changes, Evidence, Not verified, Attempts, Next step.

## Complete task contract

Before editing, confirm the Task ID, goal, acceptance criteria, allowed source
paths, dependencies and relevant commands supplied by the lead. If these are
missing, return the specific gap to the lead. Stay within assigned ownership.
Use the project's build command when assigned; do not run it while another agent
changes its inputs or while another build/check process is running.

## Failure handling and boundaries

Read .agent-team/recovery.md before each recovery decision; its limits are the
single source of truth. Skip identical retries for denied permissions, missing
setup or unsupported tools. Confirm the old action ended before retrying.
Carry counts across continuations and replacements. A fallback requires an
explicit lead assignment and remaining budget. Return actual defects to the
lead for a fix and QA recheck within the shared request-wide round limit.
Use the model, reasoning and tools selected in the product configuration.
Preserve unrelated changes and do not commit, push, publish or deploy without
the user's explicit request. Do not delegate recursively.

## Report to the lead

Status: complete, blocked or partial
Task ID: the assigned ID
Changes: behavior and exact paths changed
Evidence: commands, exit results and relevant output actually observed
Not verified: checks or work that remain undone
Attempts: initial, same-action retry and fallback counts already used
Next step: QA handoff, specific blocker or suggested allowed alternative

Read .agents/skills/implement-change/SKILL.md and use its checklist.
"""

.codex/agents/qa-tester.toml

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.codex/agents/qa-tester.toml
name = "qa-tester"
description = "Writes and runs checks; use for testing, reproduction and verification."
model = "gpt-6.1-sol"
model_reasoning_effort = "medium"
developer_instructions = """
Read .agent-team/roles/qa-tester.md and follow it.
Read AGENTS.md, .agent-team/project.md and .agent-team/recovery.md.
Read .agents/skills/test-change/SKILL.md and use its checklist.
"""

.codex/agents/devops.toml

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.codex/agents/devops.toml
name = "devops"
description = "Prepares local build and CI files; use for build, packaging and delivery preparation."
model = "gpt-6.1-sol"
model_reasoning_effort = "medium"
developer_instructions = """
Read .agent-team/roles/devops.md and follow it.
Read AGENTS.md, .agent-team/project.md and .agent-team/recovery.md.
Read .agents/skills/verify-delivery/SKILL.md and use its checklist.
"""

.codex/config.toml

Complete project configuration: this companion file sets the lead model, reasoning, approvals, sandbox and the global [agents] controls. Keep it separate from the developer definition; global agent controls belong here. Project configuration must be trusted to load.

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.codex/config.toml
# Project defaults for the main lead session and its specialists.
model = "gpt-6.1-sol"
model_reasoning_effort = "medium"
sandbox_mode = "workspace-write"
approval_policy = "on-request"

[agents]
enabled = true
max_concurrent_threads_per_session = 3
default_subagent_model = "gpt-6.1-sol"
default_subagent_reasoning_effort = "medium"
interrupt_message = true

What the tools mean: read/search inspect files; edit/write change them; execute/Bash run commands; agent/Agent starts specialists. The lead’s Claude/Copilot tool list coordinates and reads; specialists do the edits and checks. Codex specialists inherit the parent’s sandbox and approvals. File-ownership rules are instructions, not separate per-folder security boundaries.

Use ordinary approval controls. Read a requested command before approving it; do not enable unrestricted access just to make a blocked task continue. Shell access can write files, so this is a working development team, not a read-only review setup.

Check: The complete developer definition includes its role instructions and matching skill; the other wrappers point to their matching role and skill paths.

If different: Restart the client after creating files. Check for conflicting personal agent names or organization restrictions. Copilot personal agents with the same file ID take precedence over repository agents.

6. Create the four skills

The planning skill below is the complete representative example for this section. Its metadata follows the official skill reference; supported fields differ between products.

A skill is a reusable checklist. The role says who does the work; the skill says how to do it. These four skills match the four roles.

.agents/skills/team-plan/SKILL.md

Complete skill example: copy the whole file, including its product-specific metadata. The file covers invocation, planning, assignments, recovery and reporting. The settings explanation below identifies which controls live in the agent or client configuration.

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agents/skills/team-plan/SKILL.md
---
name: team-plan
description: Coordinate developer, QA and DevOps work for a feature, fix, test or build request.
---

# Plan and coordinate a team task

## When to use

Use as the lead for a request needing source, check or build specialists.
Select only the roles required. Record actual tasks; never invent activity.

## Project inputs

Read AGENTS.md, .agent-team/project.md, .agent-team/roles/lead.md and
.agent-team/recovery.md. The recovery file is the single source of retry,
fallback and fix/recheck limits. Read it again before recovery decisions.
Inspect the actual project and existing changes; use its configured commands.
Resolve missing acceptance criteria before assigning dependent work.

## Plan and assign

1. State the requested behavior and observable acceptance criteria.
2. Choose developer for source, qa-tester for checks, and devops for build/CI.
3. Agree interfaces and one writer per file before editing.
4. Parallelize independent investigations and edits in distinct files.
   Sequence dependent work. Run one build/check process against stable inputs.
5. Give each selected specialist the following assignment, filled with actual
   paths, commands and the limits read from .agent-team/recovery.md:

```text
Task ID: retained across retries and replacement agents
Goal: requested behavior
Acceptance criteria: conditions to verify
Allowed files: exact owned paths
Commands: relevant project commands
Dependencies: prerequisite tasks and agreed interfaces
Permissions: existing client approvals and sandbox
Completed evidence: verified work already obtained, or none
Attempts: counts used and remaining limits from .agent-team/recovery.md
Fix/recheck rounds: request-wide used count and remaining shared limit
Return: Status, Task ID, Changes, Evidence, Not verified, Attempts, Next step
```

## Recovery and rechecks

Preserve completed work and consult .agent-team/recovery.md before retrying.
Confirm that the old action ended and that repeating it is safe. Skip identical
retries for denied permissions, missing setup or unsupported tools.
If the old task's status is unknown, stop recovery and report the gap.
Carry all counts and evidence across continuations and replacement agents.
Assign a different permitted fallback explicitly, within the remaining budget.
A completed failing assertion is defect evidence: send it to developer, then
have QA recheck the finished fix within the request-wide round limit.
If no permitted fallback remains or it fails, report a partial result.
Never loosen approvals or deploy as a recovery action.

## Verify and finish

Collect actual specialist status, changed paths, commands, exit results and
remaining gaps. Distinguish static inspection from executed checks and local
workflow preparation from remote CI. Preserve unrelated work. Do not commit,
push, publish or deploy without the user's explicit request.
Return: Status, Changes, Evidence, Specialist status, Not verified, Attempts,
Next step. Attribute simulations and user-supplied results clearly.

## Codex settings

SKILL.md defines the workflow and discovery metadata. The companion
agents/openai.yaml sets its display text and permits implicit invocation.
The project .codex/config.toml enables delegation and sets the main model,
reasoning, sandbox, approvals and concurrent specialist limit. Each specialist
TOML explicitly selects its model and reasoning effort. These settings do not
belong in SKILL.md. The skill uses the configured tools and approvals.

## Reading versus invoking this skill

A role can read this file and follow its checklist without invoking the
registered skill. A file read alone does not apply invocation metadata or
prove that the client activated the skill. Use client invocation evidence
before claiming skill metadata was applied; existing agent tools and
permissions remain the baseline.

.agents/skills/team-plan/agents/openai.yaml

Complete companion metadata for the same planning skill. It names the skill in the UI and explicitly permits implicit invocation. It does not set a model or register an agent. Save this alongside SKILL.md; both files are included in the ZIP and starter scripts.

FILE.agents/skills/team-plan/agents/openai.yaml
interface:
  display_name: "Team plan"
  short_description: "Coordinate source changes, checks and build work"
  default_prompt: "Use $team-plan to coordinate the requested project task."
policy:
  allow_implicit_invocation: true

.agents/skills/implement-change/SKILL.md

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agents/skills/implement-change/SKILL.md
---
name: implement-change
description: Implement a feature or fix in the project language and source paths assigned by the lead.
---

1. Read the assigned task, project settings and shared recovery rules.
2. Trace the affected code and its callers.
3. Agree interfaces with the lead before parallel edits.
4. Implement the smallest complete source change.
5. Preserve unrelated work and report the exact paths changed.
6. Hand the result back to the lead for QA; label any unexecuted checks.

.agents/skills/test-change/SKILL.md

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agents/skills/test-change/SKILL.md
---
name: test-change
description: Create and run checks for the behavior assigned by the lead.
---

1. Read the acceptance criteria and shared recovery rules.
2. List normal, boundary and invalid-input cases.
3. Write checks in the assigned test paths.
4. Wait for stable source files and the lead's verification assignment.
5. Run the configured command once and record its result.
6. A failing assertion is a defect report, not a reason to hide the failure.
7. If the runner fails, follow recovery.md and return to the lead.

.agents/skills/verify-delivery/SKILL.md

In VS Code, create this file at the project root using the complete path below. Paste the whole block and save it. If it already exists, merge these instructions into your existing file.

FILE.agents/skills/verify-delivery/SKILL.md
---
name: verify-delivery
description: Prepare and inspect build or CI files for the lead without deploying.
---

1. Read project settings, acceptance criteria and shared recovery rules.
2. Confirm runtime and project paths from the actual repository.
3. Keep the CI build/check commands aligned with local commands.
4. Edit only the assigned workflow or operations files.
5. Coordinate command execution with QA.
6. Report local evidence separately from remote CI or deployment status.
7. For a blocker, return to the lead with one smaller suggested method.

How a skill is selected: its description tells the model when it fits. In this team we also make loading explicit: each role configuration names the exact SKILL.md file to read. The user can give a normal request without typing a skill name.

Check: Each skill is in its own folder and the filename is exactly SKILL.md.

If different: Check the paths in the role wrappers. A model claiming it used a skill is not the same as file discovery or a visible read/preload diagnostic.

Reading versus invoking: reading SKILL.md supplies instructions, but is not itself evidence of a registered skill invocation. Use $team-plan through the supported client interface to request the planning skill explicitly. Confirm discovery and actual activation; otherwise report only that its checklist was read. Agent tools and permissions still apply. Invocation metadata does not become active merely because an agent reads the file.

7. Choose models

First run: use the explicit settings already included in the complete files and ZIP. Confirm that your account offers the selected model. These are the configured choices:

RoleSuggested modelWhy
LeadGPT-6.1 SolPlanning, coordination and final judgment.
DeveloperGPT-6.1 SolImplementing and debugging changes.
QA testerGPT-6.1 SolBoundary cases and failure analysis.
DevOpsGPT-6.1 Sol; GPT-6 Luna for a narrow checkBuild/CI reasoning; faster models fit small, clear inspections.

Complete configuration already applied: step 5 shows the full .codex/config.toml with model = "gpt-6.1-sol", medium reasoning, approvals, sandbox and all team controls. The complete developer TOML and the other two specialist TOMLs explicitly select GPT-6.1 Sol/medium. Change those existing values to customize the setup; do not append a second [agents] table. The cap of three counts open specialist threads and excludes the main lead; close finished threads when needed.

Availability and customization: check /model before starting. If the example model is unavailable, replace it with an offered model in the complete files. To use inheritance instead, remove explicit model/effort overrides at every applicable configuration layer; in Claude, model: inherit keeps the parent model. Restart the client for new agent definitions and inspect effective specialist settings. Optional hooks, MCP servers, memory, isolation and provider configuration are outside this example; add them only when your workflow needs them.

Model reference — current guidance and older examples

The complete examples select specific models; account and organization availability still apply. Pick a different model only when you have a reason. These are short task suggestions, not benchmark rankings.

The table combines current documented GPT-6.2 choices with older examples from the installed catalog observed on 9 November 2026. It is not a complete current catalog or a guarantee that the older entries remain available. Current model guidance was checked on 27 November 2026; the configured GPT-6.1 Sol choice is retained and still requires account/client support. Run /model to see what your account offers. Hidden service entries (GPT-Reserve and Codex Auto Review) are internal choices, not models to select for this lab.

ModelIDGood for
GPT-6.2 Astragpt-6.2-astraCurrent documented option for demanding work; verify client and account access.
GPT-6.2 Solgpt-6.2-solCurrent documented option for everyday work; verify client and account access.
GPT-6.1-Solgpt-6.1-solA strong first choice for everyday coding and complex changes.
GPT-6-Astragpt-6-astraUse for the hardest reasoning, long investigations and sustained work.
GPT-6.1 Terragpt-6.1-terraUse for everyday coding, visual reasoning and computer tasks.
GPT-6-Solgpt-6-solA previous generation all-rounder for coding and general work.
GPT-6-Lunagpt-6-lunaUse for quick, well-scoped tasks where speed and cost matter.
GPT-5.6-Solgpt-5.6-solAn older option for coding, debugging and reasoning.
GPT-5.6-Terragpt-5.6-terraAn older balanced option for straightforward daily work.
GPT-5.6-Lunagpt-5.6-lunaAn older lightweight option for small, clear tasks.

Easy team choice: start with the explicit models included above. For a narrow DevOps inspection, you may choose an available faster model by editing its complete agent definition. A model cannot grant tools or permissions. A new model does not guarantee a better result.

Check: The model shown in the current session and specialist task matches your intended choice where the client exposes it.

If different: If the client cannot show a specialist model, mark it unverified. Model access and aliases vary with client version, account and organization.

8. Start the lead and give it a prompt

Where: in the terminal at your project root, after saving the files. Start a fresh session:

>_Terminal — start the lead
codex -s workspace-write -a on-request

The main Codex session starts first and acts as lead through AGENTS.md. It reads the lead role, then starts developer, qa-tester or devops as needed. workspace-write permits work inside the workspace; on-request may ask for approval when an action needs it. Both controls apply to the parent and its specialists.

If asked to trust the project, read its instructions before accepting. Check discovery before a large task:

CHATAI chat — team discovery check
Before changing files, read the team configuration and project settings.
List the lead, developer, qa-tester and devops roles and their skill paths.
Tell me the current build/check commands and whether delegation tools exist.
Do not claim a role is available without client or tool evidence.

Also use the client’s own controls: /subagents shows spawned threads once tasks start. Read the project agent configuration and any configuration errors on launch. Use /skills if the client offers it, or inspect its customization diagnostics and the exact files.

Check: The lead is selected, the specialists are discoverable, and the project commands are correct.

If different: If a role is missing, check its directory, extension and YAML/TOML syntax; restart. A chat reply alone does not prove registration. Do not proceed with a silently substituted team.

Give your first real request

Where: in the lead’s AI chat. Give a normal request. You do not need to name every agent or skill. For the optional C# project, paste:

CHATAI chat — normal feature request
Add a delivery-fee rule to this C# project:
- An order subtotal of 100 or more has no delivery fee.
- A subtotal below 100 has a 4.99 fee.
- A negative subtotal must throw ArgumentOutOfRangeException.
Add checks for normal, boundary and invalid values.
Prepare a GitHub Actions workflow that builds and runs the checks.
Work locally; do not commit, push or deploy.

What should happen: the lead reads the project facts and the team-plan checklist. Its routing rules select developer for the source change, qa-tester for checks and devops for the build workflow. It assigns small tasks, waits for results, handles failures and answers you.

A different user requestWho startsWho the lead selects
“Fix the null error in the order screen.”LeadDeveloper, then QA tester. DevOps only if build/delivery is affected.
“Add tests for invalid delivery amounts.”LeadQA tester; developer only if a defect needs fixing.
“Why does our CI build fail?”LeadDevOps; developer or QA if their work is needed.
“Explain how this method works.”LeadMay answer directly or ask developer to inspect.

Why selection can be automatic: the descriptions explain each agent’s expertise, and the lead’s Markdown instructions explicitly request delegation. The model interprets the prompt and chooses tasks; this is not a fixed keyword router. Correct files do not guarantee the same sequence on every run.

CHATAI chat — if the lead skips a required specialist
Use the configured team for this request. Delegate the source change to
developer, checks to qa-tester and build preparation to devops where relevant.
Show actual task activity and report any agent you cannot start.

Check: Actual task/tool entries show the selected specialists and their results.

If different: If you only see the lead writing a story about a team, ask for task evidence. If delegation is unavailable, label it unverified or blocked; do not treat a narrated transcript as a team run.

Verify a real signed-in team run

Status in this revision: not run. The procedure below collects runtime evidence; file parsing and an illustrative conversation do not satisfy it. Use a disposable practice project. Model use may consume your account allowance or incur charges.

  1. Record the OS, client version, selected model, reasoning and permission mode. Inspect real role and skill discovery with the client controls above; retain warnings and effective settings.
  2. Send the normal local feature request in this section. Retain actual specialist task IDs, names and outcomes for developer, QA and DevOps. A narrated team transcript does not count.
  3. Where visible, record each specialist's effective model and effort. Mark unavailable diagnostics unverified. Record actual skill invocation/preload evidence separately from ordinary file reads.
  4. Check that independent tasks have distinct ownership. Use task timestamps to establish any claimed overlap; sequential work is valid but is not evidence of parallel execution.
  5. After edits stabilize, run the configured checks and retain command, exit code and output. The supplied final example has five cases; actual implementations may add more.
  6. Ask the lead to send QA a small read-only follow-up. Record whether the client continues the same task or starts a new one with history and remaining budget. For cancellation testing, use a bounded read-only task and confirm its stopped status before assigning a replacement.
  7. If a real failure occurs, retain its actual status and the permitted recovery evidence. The labelled recovery simulation later in this guide does not verify real timeouts, cancellation or retry behavior. Never manufacture a fault report.

Record: date/version; discovery; task IDs; models/effort; skill reads versus invocations; overlap; checks; continuation; cancellation; real recovery; gaps. Use pass, fail, not run or unverified for each. Claim a verified team only for the behaviors evidenced; retain partial results when checks cannot run.

What happens when an agent fails or gets stuck?

Failure recovery is already configured in .agent-team/recovery.md. Every role reads it. That file is the single source of the numeric budgets. Edit it and start a fresh session to change them; the illustrative sequences below use the bundled defaults; do not invent YAML settings such as retry_count and expect the client to enforce them.

What happenedSpecialist actionLead action
Temporary tool timeoutConfirm the old attempt ended; safely retry once.Keep other completed work.
Permission denied, missing SDK or unsupported toolSkip the identical retry; report blocked.Choose an allowed smaller method or explain the setup blocker.
Checks finish and an assertion failsReturn the actual defect evidence.Send the defect to developer, then ask QA to recheck the finished fix.
Specialist crashes with no reportThere may be no specialist reply.Record actual task status/error; never invent its message.
Fallback also fails, or old task status is unknownStop further attempts.Preserve good results and report partial.

Example: QA times out, reports to the lead, and gets another path

The following messages are illustrative. The timeout sequence is not a recorded live run.

OUT1. QA → lead after the permitted retry
Status: blocked
Task ID: QA-1
Tried: initial check run timed out; one safe retry timed out
Verified: both old processes ended; test files are saved
Not verified: runtime behavior of the change
Suggested alternative: inspect the changed method and cases without running
Attempts: initial 1; retry 1; fallback 0
CHAT2. Lead → QA: explicit different path
Continue QA-1 with a different method. Do not run the check command again.
Read only the changed DeliveryFee method and its new checks.
Compare them with the same acceptance criteria; list gaps and likely defects.
Keep the existing scope and permissions.
Budget already used: initial 1, retry 1. This is the one allowed fallback.
Keep the developer and DevOps results. Runtime verification stays unverified.
OUT3. QA → lead: fallback result
Status: partial
Task ID: QA-1
Verified: static code and check-case inspection completed
Not verified: execution of the checks
Attempts: initial 1; retry 1; fallback 1
Next step: lead reports the partial result and the runtime-check gap

The lead decides the next step: it keeps completed work and tells the user what remains. It does not repeat the fallback, change permissions or call this a passing test run. For a real code defect, it can assign a correction and targeted recheck, within the separate two-round request limit.

Try a recovery drill without causing real timeouts
CHATAI chat — labelled simulation
Run a labelled recovery drill for the last QA task.
SIMULATE an initial runner timeout and one safe retry timeout; do not run them.
Confirm the simulated runs ended. Keep completed developer/DevOps work.
Have QA return a blocked report, then explicitly assign one file-inspection
fallback with the consumed counts. Carry them into any replacement task.
Show real file inspection separately from simulated errors.
Return a partial verdict with runtime checks not verified. Stop if fallback fails.

Check: The real task history, consumed budget, explicit alternate assignment and final gaps are visible.

If different: If no specialist report exists, use the client’s task error/status. If the client cannot establish that an old task ended, stop recovery rather than launching a duplicate.

9. See how parallel work and handoffs happen

Parallel means agents work at the same time. Use it for independent tasks. Work that needs another task’s result must wait.

  1. Lead plans: define behavior and agree the public method signature.
  2. Independent planning: developer inspects source, QA plans cases and DevOps inspects the build. These can run together without edits.
  3. Separate edits: developer owns source, QA owns checks and DevOps owns the workflow. They may edit in parallel after agreeing the interface, provided their files do not overlap.
  4. QA verifies: after edits finish, QA runs one check process against stable code. DevOps inspects the workflow without starting a competing build.
  5. Lead finishes: collect results, resolve defects or blockers and report evidence.
CHATOne task assignment — the lead sends this to QA
Task ID: QA-1
Goal: verify the delivery-fee requirements.
Inputs: .agent-team/project.md; developer's summary; src/OrderService/DeliveryFee.cs.
Allowed edits: tests/OrderService.Checks/ only.
Allowed command: dotnet run --project tests/OrderService.Checks/OrderService.Checks.csproj
Dependency: write checks after the public interface is agreed; run them only after
developer and QA edits finish and no other build/check process is active.
Acceptance: 0 and 99.99 -> 4.99; 100 and 150 -> 0;
-1 -> ArgumentOutOfRangeException.
Return: Status, Task ID, Cases, Executed checks, Failures, Not verified, Attempts.
Recovery: initial 1; safe retry at most 1; different fallback at most 1,
assigned by lead. Follow .agent-team/recovery.md.

Each specialist has its own task context. The lead sends the requirements and relevant facts; it must not assume the specialist can see the whole user conversation. Specialists return to the lead, which chooses the next action.

OUTExample specialist return — illustrative
Status: done
Task ID: DEV-1
Changes: src/OrderService/DeliveryFee.cs
Evidence: negative guard and free-fee boundary implemented
Not verified: QA has not run the updated checks yet
Attempts: initial 1; retry 0; fallback 0
Next step: lead asks QA to verify once edits finish

Do not ask the user to copy reports between agents. The client delivers task results to the lead. The lead may continue or message a specialist where the client supports it. If continuation is unavailable, the lead starts a fresh task with the full history and remaining budget.

Check: Parallel tasks have distinct file ownership, and verification waits for stable inputs.

If different: If two tasks need the same file, the lead pauses one and assigns an order. If a client cannot run tasks concurrently, run them sequentially and say so.

10. Follow one complete C# task

This example follows the normal request in step 8. It is an illustrative walkthrough, not a transcript of a signed-in run. The sample C# result is separately checked locally.

OrderWhoWhat happens
1User → leadRequests delivery rules, checks and CI preparation.
2LeadReads project settings; agrees Calculate(decimal subtotal) as the interface.
3Developer + QA + DevOpsInspect their areas in parallel and return short plans.
4LeadAssigns source, checks and workflow files to different owners.
5DeveloperImplements a negative-input guard and the >= 100 boundary.
6QA testerAdds normal, boundary and exception checks. Waits for edits to finish, then runs them.
7DevOpsPrepares build.yml with .NET 10 and the same local commands.
8LeadCollects actual evidence. If QA fails, assigns a developer fix and then a QA recheck.
9Lead → userReports changes, checks, team status and unverified remote CI.
Compare the expected C# implementation and checks

The actual team may write equivalent code. Judge the behavior and evidence, not identical wording. Do not paste these over files with unrelated work.

FILEExpected src/OrderService/DeliveryFee.cs
namespace OrderService;

public static class DeliveryFee
{
    public static decimal Calculate(decimal subtotal)
    {
        if (subtotal < 0m)
            throw new ArgumentOutOfRangeException(nameof(subtotal));

        return subtotal >= 100m ? 0m : 4.99m;
    }
}
FILEExpected tests/OrderService.Checks/Program.cs
using OrderService;

int failures = 0;

void Check(string name, decimal expected, Func<decimal> action)
{
    try
    {
        decimal actual = action();
        if (actual != expected) throw new Exception($"expected {expected}, actual {actual}");
        Console.WriteLine($"PASS {name}");
    }
    catch (Exception error)
    {
        failures++;
        Console.WriteLine($"FAIL {name}: {error.Message}");
    }
}

Check("zero", 4.99m, () => DeliveryFee.Calculate(0m));
Check("below boundary", 4.99m, () => DeliveryFee.Calculate(99.99m));
Check("at boundary", 0m, () => DeliveryFee.Calculate(100m));
Check("above boundary", 0m, () => DeliveryFee.Calculate(150m));

try
{
    DeliveryFee.Calculate(-1m);
    failures++;
    Console.WriteLine("FAIL negative: no exception");
}
catch (ArgumentOutOfRangeException)
{
    Console.WriteLine("PASS negative");
}
catch (Exception error)
{
    failures++;
    Console.WriteLine($"FAIL negative: wrong exception {error.GetType().Name}");
}

Console.WriteLine($"Failures: {failures}");
return failures == 0 ? 0 : 1;
FILEExpected .github/workflows/build.yml
name: Build and check
on:
  push:
  pull_request:
permissions:
  contents: read
jobs:
  build:
    runs-on: ubuntu-latest
    timeout-minutes: 10
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6
        with:
          dotnet-version: '10.0.x'
      - name: Build
        run: dotnet build src/OrderService/OrderService.csproj
      - name: Run checks
        run: dotnet run --project tests/OrderService.Checks/OrderService.Checks.csproj

The action references are pinned to official commit IDs checked on 9 November 2026. A workflow file runs on a remote service only after a separately authorized push/PR and successful GitHub Actions execution. Preparing this file does not prove remote CI passed.

At the end, inspect actual changes in VS Code’s Source Control view. In a new practice repository all files are initially untracked; expand and read them. In an existing repository compare the diff with your starting state and keep unrelated work intact.

OUTExample final lead response — illustrative
Result: delivery rules implemented locally.
Changes: source method, five checks and a build workflow.
Checks: report the actual command, exit code and output here.
Team status: report actual developer, QA and DevOps task outcomes.
Remaining gaps: remote GitHub Actions and deployment not run.

These are useful follow-ups to send to the lead:

CHATAI chat — follow-up examples
QA found the boundary still fails. Send that evidence to developer, then
ask QA for a targeted recheck after the fix. Keep the agreed round limit.

DevOps cannot access the CI service. Choose a local inspection fallback
and keep remote CI marked unverified.

Give me the final status of each task and any recovery budget already used.

Check: The final answer matches real files and real check output, with remote actions clearly separated.

If different: If a required check was blocked, accept a partial report with the exact gap rather than an unsupported “everything passed.”

Optional: use the VS Code chat panel

The CLI in VS Code’s integrated terminal is the main route above. The editor’s AI chat panel is a separate surface; CLI flags do not configure it.

  1. Install the official OpenAI Codex extension from its verified publisher.
  2. Open the same project root.
  3. Open its chat panel and select a local project session.
  4. Keep the main session as lead; inspect its permissions and background-agent controls. AGENTS.md directs it to the lead role.
  5. Check the effective tools, project instructions and model. Send the same normal request and inspect actual task activity.

If the panel cannot show this team or its actual task results, use the CLI from the integrated terminal. Do not copy configuration fields between harnesses without checking support. Signed-in panel discovery and delegation are documented, not verified here.

Personal settings and safe cleanup

Start with project files so the setup affects only this project. Inspect the applicable agent and configuration precedence instead of assuming that personal definitions override project definitions. Organization policy may add restrictions. Before changing a personal file, keep its original contents.

To remove this team, close its sessions and remove only the role, skill and configuration additions you made. Restore backed-up settings that existed before. In a disposable practice folder, verify its exact location in the file manager before deleting it. Preserve your real project and unrelated customizations.

Troubleshooting and quick checklist

ProblemWhat to do
Lead never startsUse the exact launch command from the project root. In Codex, check AGENTS.md; in Claude/Copilot, select lead explicitly.
Specialist missingCheck the exact product directory, filename and header. Restart the client; inspect personal/organization overrides.
Skill not usedCheck the exact SKILL.md path and role configuration. Ask the lead to read it explicitly.
Lead does everythingAsk for the configured specialists and actual task evidence. Do not accept a pretend team transcript.
Model unavailableRestore inheritance or choose an offered model; keep existing task budgets.
Agents edit the same fileLead must stop the overlap and assign one owner or sequence the tasks.
Tests start while code changesWait for stable inputs; run one verification process at a time.
Checks failSend the real defect to the lead; developer fixes it and QA rechecks within the round limit.
Command times out or is deniedFollow the shared recovery file and the recovery section; do not loosen permissions.
DevOps says “deployed”Require actual authorized deployment evidence. Local workflow preparation is not deployment.

Read the failure/retry/alternate-path sequence.

Quick checklist

  1. Create or merge the shared Markdown files.
  2. Create all four role documents.
  3. Register the three specialists and the lead where required.
  4. Create the four skills and confirm their paths.
  5. Confirm the explicit model and reasoning settings are available in your client.
  6. Start the lead at the project root.
  7. Give a normal request and watch real task activity.
  8. Review files, check results and the lead’s final gaps.

Check your understanding

1. Which agent starts?
The main lead session. Codex uses AGENTS.md; Claude/Copilot are launched with --agent lead.
2. Do all specialists run for every prompt?
No. The lead chooses the relevant roles from the work required.
3. What is the difference between an agent and a skill?
An agent is a worker with a role; a skill is a reusable checklist it follows.
4. Can everyone edit the same file in parallel?
No. Assign one writer per file, or do dependent work in sequence.
5. What happens after a temporary failure?
Confirm the old action ended and safely retry once; then report to the lead if still blocked.
6. Who chooses the alternate path?
The lead explicitly assigns one allowed fallback and carries the existing counts.
7. Does a QA assertion failure mean the runner broke?
No. A completed failing check is evidence of behavior to investigate.
8. Can a new agent reset the budget?
No. Attempts and completed evidence carry forward.
9. Where are retry rules configured?
In .agent-team/recovery.md, as instructions read by every role.
10. Do Markdown instructions enforce permissions?
No. The client’s real tools, approvals and sandbox control access.
11. Does a prepared workflow prove CI passed?
No. Remote CI needs a separately authorized run and its actual result.

Sources, downloads and verification

Download the complete team

Use the ZIP button at the top of this guide or the links below. The ZIP includes all team files and hidden configuration folders. Extract into a temporary folder, then merge into your project and customize .agent-team/project.md. The starter scripts below are optional alternatives for creating the C# practice project.

Original configuration and skill references checked on 10 November 2026. Targeted corrections to skill behavior, model references and compatibility wording checked on 27 November 2026; see the change and test log for exact scope. Product behavior, model aliases and account availability can change.

Download all OpenAI Codex team files · PowerShell C# starter · Bash C# starter · Change and test log

This revision packages normalized UTF-8/LF template files; ZIP entries match their templates byte for byte, and displayed code matches their text. Authenticated team operation remains not run here. Role/retry instructions are not a deterministic workflow engine. Illustrative messages are labelled; no signed-in agent transcripts are claimed.

The refreshed model notes follow current Codex CLI model guidance. The older catalog is labelled as historical, not as a complete account model list.

↑ Top