openai-agents-python: Skill for Claude Code

.agents/skills/release-candidate-prep/SKILL.md

release-candidate-prep is a skill for Claude Code, Codex from openai/openai-agents-python. It costs 28 tokens per session (4,006 once invoked), scanned A, original, MIT.

A release checklist and workflow for preparing a specific OpenAI Agents Python release candidate in a separate Git worktree. A worktree is an additional checkout of the same repository used for isolated changes.

In plain words
What is it for?
Use it when explicitly preparing a versioned release candidate from the exact origin/main branch, freezing the released API contract, and reviewing the final release state.
Why use it?
It provides readiness checks and keeps release changes separate from the developer's main checkout while creating one reviewed release commit.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex; $skill-name invocation.

This is openai/openai-agents-python's own configuration. It tells Claude Code and Codex how to work on openai-agents-python itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openai-agents-python configures →

About the project

OpenAI Agents SDK is a Python framework for building workflows in which multiple AI agents use tools, delegate tasks, follow safety checks, and involve people when needed. Developers use it to create and monitor agent, sandbox, realtime, and voice applications.

openai/openai-agents-python · 30,339 stars · on GitHub · openai.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to openai/openai-agents-python. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/openai/openai-agents-python/main/.agents/skills/release-candidate-prep/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/openai/openai-agents-python

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for release-candidate-prep

README.md
[![agentmods](https://agentmods.dev/badge/skills/openai/openai-agents-python/release-candidate-prep/github.svg)](https://agentmods.dev/skills/openai/openai-agents-python/release-candidate-prep)
Your own site
<a href="https://agentmods.dev/skills/openai/openai-agents-python/release-candidate-prep"><img src="https://agentmods.dev/badge/skills/openai/openai-agents-python/release-candidate-prep/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for release-candidate-prep

Your own site · 80×15
<a href="https://agentmods.dev/skills/openai/openai-agents-python/release-candidate-prep"><img src="https://agentmods.dev/badge/skills/openai/openai-agents-python/release-candidate-prep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 169
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Excessive Agency · line 69
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.04006
Opus 5.5 $0.00011 $0.01602
Sonnet 5.5 $0.00006 $0.00801
Haiku 4.5 $0.00003 $0.00401

Measured 26d ago against content hash ea52a37b39af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

release-candidate-prep scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/prepare.py, scripts/test_prepare.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/release-candidate-prep/SKILL.md · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Release Candidate Preparation

Use this skill only when the user explicitly invokes $release-candidate-prep and supplies a release version without a leading v, for example VERSION=0.20.1. This skill is the manual fallback for the GitHub Actions release workflow. Ordinary bot releases use .github/workflows/release-candidate.yml; do not invoke this local worktree procedure inside Actions.

For normal Release Please releases, use $final-release-review <release PR URL> instead. Do not create a manual candidate to review or finish the bot PR.

Non-negotiable boundaries

  • Treat explicit invocation as authorization to fetch origin/main, create one dedicated detached release worktree, run branch-free release-readiness gates there, create or replace the local release/v<version> in that worktree only after those gates pass, update the five release-owned files, and create one local commit. If the branch already exists locally or remotely, the required final local state is still exact current origin/main plus only the new release commit; an existing local branch may be replaced only when it is not checked out in another worktree.
  • Keep the user's source checkout on its existing clean main commit. Do not fast-forward it, switch its branch, or materialize release files there. Leave the dedicated release worktree in place for green handoff, blocked review, or recoverable failure.
  • Never push, open or edit a pull request, add labels or milestones, create a release, or otherwise mutate GitHub. Never run gh.
  • Own exactly pyproject.toml, uv.lock, .release-please-manifest.json, src/agents/version.py, and tests/fixtures/released_api_contract.json. Runtime, documentation, workflow, or other repository changes must land on main before release preparation.
  • Do not stash, delete, overwrite or remove an existing worktree, or work around unrelated local changes. Fail before branch creation when the initial checkout is dirty or is not on main, the dedicated worktree is not clean and detached at refreshed origin/main, an existing local release branch is checked out in another worktree, the prospective packaged-contract gate fails after the allowed dependency-bootstrap recovery, the planning review blocks, or origin/main advances after those gates run.
  • Treat $final-release-review as the controlling release checker, not only as a report generator. Its planning gate must be green before branch creation, and its final-candidate gate must inspect the materialized worktree and be green before PR-ready handoff. Any candidate content, commit, or base change invalidates the previous green result.
  • Remove inherited OPENAI_API_KEY from every child command. Release preparation does not require a live OpenAI API request.
  • Stop after the local commit, final release review, and copy-ready handoff. The user owns the push and pull-request creation.

Read the full file on GitHub · 184 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 26d ago Changed · +3 lines ea52a37b39af
  2. 28d ago Changed 25da796ac519
  3. 29d ago Changed · +2 lines 0ea446751dd5
  4. 1mo ago Changed · -59 tokens per session 25018e5328f4
  5. 1mo ago First seen · 179 lines · 87 tokens per session scan A 2d506f9785f7

Subscribe to this mod's changes

release-candidate-prep is a skill published in the GitHub repository openai/openai-agents-python (30,339 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 4,006 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.