code-change-verification
Runs formatting, linting, type checking, and test verification for SDK code changes after review.
Identity proven by GitHub's verified organisation badge (openai)
- Agents
- Codex
- License
- MIT (permissive)
- Pin
- 125efa0pinned Oct 9, 2026
- Context cost
- about 1,300 tokenswhen the skill loads
- GitHub stars
- 29,916on openai/openai-agents-python
- Scripts
- 2 scripts
What it does
“Run the required final formatting, lint, type, and test checks after eligible SDK changes pass review.”
Generated summary from the skill's own text
Runs formatting, linting, type checking, and test verification for SDK code changes after review. Executes sequentially on macOS/Linux and with parallel steps on Windows, stopping at the first failure and reporting results.
When to use it
- After code review passes and diff is stable
- Changes affect runtime code, tests, or build configuration
- Before marking work complete on SDK modifications
- Host has available capacity for full verification stack
When not to
- Documentation-only or metadata changes without user request
- Another repository-wide test or typecheck is already running
- During initial iterative review before clean-review condition
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add openai/openai-agents-python --skill code-change-verificationInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install openai/openai-agents-python code-change-verification@125efa029b4bfd84238bd2c4fd69c3406f802663Installs the commit we checked (125efa0).
Copy by hand
Download the folder at 125efa0 and put it in .claude/skills/code-change-verification for Claude Code and in .agents/skills/code-change-verification for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "code-change-verification" by OpenAI. Source, pinned to commit 125efa029b4bfd84238bd2c4fd69c3406f802663: https://github.com/openai/openai-agents-python/tree/125efa029b4bfd84238bd2c4fd69c3406f802663/.agents/skills/code-change-verification 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/code-change-verification/ for Claude Code and .agents/skills/code-change-verification/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/openai/code-change-verification-openai-agents-python
SKILL.md at the pin
--- name: code-change-verification description: Run the required final formatting, lint, type, and test checks after eligible SDK changes pass review. --- # Code Change Verification ## Overview Ensure work is only marked complete after formatting, linting, type checking, and tests pass. Use this skill when changes affect runtime code, tests, or build/test configuration. You can skip it for docs-only or repository metadata unless a user asks for the full stack. This is a post-review final gate: when `$implementation-final-review` applies, do not invoke the broad stack until its clean-review condition applies to the stable task diff. ## Quick start 1. Keep this skill at `./.agents/skills/code-change-verification` so it loads automatically for the repository. 2. Codex on macOS/Linux: `/usr/bin/env -u OPENAI_API_KEY OPENAI_AGENTS_TEST_IN_CODEX_SANDBOX=1 UV_DEFAULT_INDEX=https://pypi.org/simple bash .agents/skills/code-change-verification/scripts/run.sh`. 3. Other macOS/Linux environments: `env UV_DEFAULT_INDEX=https://pypi.org/simple bash .agents/skills/code-change-verification/scripts/run.sh`. 4. Windows: `powershell -ExecutionPolicy Bypass -File .agents/skills/code-change-verification/scripts/run.ps1`. 5. On macOS/Linux, the script runs `make format`, `make lint`, `make typecheck`, and `make tests` sequentially and stops at the first failure. Parallelism inside each Make target, including pytest workers, is unchanged. 6. The Bash script streams each command's output directly. The Windows wrapper retains parallel lint, typecheck, and test steps with periodic heartbeat updates. 7. If any command fails, fix the issue, rerun the script, and report the failing output. 8. Confirm completion only when all commands succeed with no remaining issues. ## Start condition and host capacity - During iterative review, use only focused tests and a narrowly targeted static check when the changed typing boundary requires one. Defer repository-wide `make typecheck` and the rest of this complete stack until review is clean. - Immediately before starting the complete stack, use available read-only task or process evidence to check whether another repository-wide test, typecheck, build, examples runner, or integration command is already active on the same host. - When concrete contention is visible, continue useful non-heavy work such as review, remediation, evidence preparation, or focused checks, then check again later. Do not create or wait on a repository lock, host-wide mutex, or sentinel file. - Start automatically once review is clean, the diff is stable, and observable host capacity is available. Do not require a user-triggered `finalize` message. If host telemetry is unavailable, do not block solely because capacity cannot be measured. ## Codex execution policy Repository verification and all child processes must remain in the normal Codex workspace sandbox. Never request elevated sandbox permissions for the verification wrapper, and never retry the wrapper with broader host access after a failure. On macOS, tests marked `requires_native_macos_sandbox` need to start their own `sandbox-exec` process. The Codex command sets `OPENAI_AGENTS_TEST_IN_CODEX_SANDBOX=1`, which skips only that marker before nested sandbox creation. All other tests remain enabled. Ordinary local and CI runs do not set this variable and therefore keep the marked tests enabled. The marked tests run separately on a disposable GitHub-hosted macOS runner. If that trusted runner is unavailable, report the missing native-macOS coverage; do not compensate by weakening the Codex sandbox boundary. ## Environment setup The verification scripts assume repository dependencies are already installed. Do not run `make sync` as part of every verification pass; use it for a fresh checkout, after dependency files change, or when dependency resolution fails before the checks start. On Linux, some Python packages with native extensions may require system packages such as `libffi-dev`, Python development headers, or build tools. If verification cannot start because one of these packages is missing, treat it as a local environment setup issue. Install the missing dependency when possible, or report the failing command and missing dependency in the PR test plan before rerunning verification in a prepared environment. ## Manual workflow - For a fresh checkout, or if dependencies are not installed or have changed, run `make sync` first to install dev requirements via `uv`. - Run from the repository root with `make format` first, then `make lint`, `make typecheck`, and `make tests`. - Do not skip steps; stop and fix issues immediately when a command fails. - Run the manual steps sequentially and stop at the first failure. Keep the parallelism provided by each Make target. - Re-run the full stack after applying fixes so the commands execute in the required order. ## Resources ### scripts/run.sh - Runs `make format`, `make lint`, `make typecheck`, and `make tests` sequentially from the repository root. It streams output, preserves the first failure or cancellation status, and cleans up the active step's process group before continuing or exiting. ### scripts/run.ps1 - Windows-friendly wrapper that runs the same sequence with `make format` first and the remaining steps in parallel with fail-fast semantics, plus periodic heartbeat updates while work is still running. Use from PowerShell with execution policy bypass if required by your environment.
From openai/openai-agents-python at 125efa0, shown as plain text under its license: MIT (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 125efa0Files
- SKILL.md5.5 KB · 9f959864d284
- agents/
- openai.yaml476 B · e18c91167758
- scripts/
- run.ps16.5 KB · e0745a9b991f
- run.sh1.9 KB · 965128755e06
4 files, 14 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 125efa0More from OpenAI
docs-sync
This skill audits English SDK documentation by comparing features and configuration options in the codebase against the current docs, then proposes or…
Claude Code, Codex, Cursor +4 · about 1.2K tokens · pinned 6 days ago
examples-run-analysis
Analyzes logs and artifacts from manual examples runs to validate example behaviors, identify failures, and classify issues.
Claude Code, Codex, Cursor +4 · about 1K tokens · pinned 6 days ago
final-release-review
Audits Python SDK release candidates or plans against the previous release, comparing diffs for regressions, API changes, and version compatibility.
Contains scripts
Claude Code, Codex, Cursor +3 · about 5.4K tokens · pinned 6 days ago
implementation-final-review
This skill guides agents through a structured review process for completed implementation changes before final verification.
Contains scripts
Claude Code, Codex, Cursor +3 · about 1.9K tokens · pinned 6 days ago
implementation-kickoff
This skill manages an isolated implementation workflow using a dedicated git worktree, keeping the user's original checkout unchanged while building a…
Contains scripts
Codex · about 2.9K tokens · pinned 6 days ago
implementation-strategy
This skill guides agents through a structured decision-making process for SDK behavior changes and API modifications.
Claude Code, Codex, Cursor +4 · about 3.6K tokens · pinned 6 days ago
Related in Testing and QA
next-partial-prefetching-optimizer
This skill optimizes Next.js client-side navigation under Partial Prefetching by defining what UI loads before and after a click.
by VercelOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.8K tokens · pinned 6 days ago
Invalid--Name
This skill cannot be described because its name format is invalid and no functional description or instructions are provided in the skill metadata.
by CrewAIOfficial publisher
Claude Code, Codex, Cursor +4 · about 0 tokens · pinned 6 days ago
chrome-devtools-cli
This skill enables agents to automate browser interactions and inspect web pages using Chrome DevTools via command-line interface.
by GoogleOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago
triaging-visual-review-runs
Inspects PostHog Visual Review screenshot regression runs that gate pull requests, helping engineers triage diff results, identify flaky stories, and decide…
by PostHogOfficial publisher
Claude Code, Codex, Cursor +4 · about 8.9K tokens · pinned 6 days ago
runtime-behavior-probe
This skill guides agents to plan and execute controlled runtime investigations with explicit user approval before each probe runs.
by OpenAIOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 3.8K tokens · pinned 6 days ago
test-coverage-improver
This skill measures Python SDK test coverage using coverage artifacts and identifies gaps in caller-visible behavior testing.
by OpenAIOfficial publisher
Claude Code, Codex, Cursor +4 · about 640 tokens · pinned 6 days ago
Open roles at OpenAI
5 of 242 open roles on the jobs board
- Software Engineer, Productivity - Networking
San Francisco, California, United States
- Networking Operating System Firmware Engineer
San Francisco, CA, United States (Hybrid)
- Software Engineer, Private Computing
San Francisco, California, United States (Hybrid)
- Data Center Hardware Quality & Reliability Engineer
San Francisco, California, United States (Remote)
- Software Engineer, Habitat (Online Data)
Seattle