openai-agents-python: Skill for Codex

.agents/skills/pr-draft-summary/SKILL.md

pr-draft-summary is a skill for Codex from openai/openai-agents-python. It costs 24 tokens per session (1,638 once invoked), scanned A, original, MIT.

A checklist for preparing a pull request, including its title, summary, branch suggestion, and draft description. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Use it after changing runtime code, tests, examples, build or test settings, or behavior-related documentation in openai-agents-python. It prepares the written handoff before the final response.
Why use it?
It prevents required change details from being forgotten after eligible work is complete. It also makes the result ready to paste into a pull request without creating or submitting one.

Skill for Codex ✓ vendor

Written for Codex: agents/openai.yaml present. 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 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/pr-draft-summary/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/openai/openai-agents-python

Made for: 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 pr-draft-summary

README.md
[![agentmods](https://agentmods.dev/badge/skills/openai/openai-agents-python/pr-draft-summary/github.svg)](https://agentmods.dev/skills/openai/openai-agents-python/pr-draft-summary)
Your own site
<a href="https://agentmods.dev/skills/openai/openai-agents-python/pr-draft-summary"><img src="https://agentmods.dev/badge/skills/openai/openai-agents-python/pr-draft-summary/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 pr-draft-summary

Your own site · 80×15
<a href="https://agentmods.dev/skills/openai/openai-agents-python/pr-draft-summary"><img src="https://agentmods.dev/badge/skills/openai/openai-agents-python/pr-draft-summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,638 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 warn 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

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 →

  • medium Excessive Agency · line 17
    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.
  • medium Excessive Agency · line 30
    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.00024 $0.01638
Opus 5.5 $0.00010 $0.00655
Sonnet 5.5 $0.00005 $0.00328
Haiku 4.5 $0.00002 $0.00164

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

Security

Grade A, and why

pr-draft-summary 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 1mo ago.

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/pr-draft-summary/SKILL.md · 63 lines

How it starts

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

PR Draft Summary

Purpose

Produce the PR-ready summary required in this repository after eligible code work is complete: a concise summary plus a PR-ready title and draft description that begins with "This pull request ...". The block should be ready to paste into a PR for openai-agents-python.

When to Trigger

  • An explicit user request for a PR draft takes precedence over the automatic-trigger exclusions below.
  • For automatic invocation, spelling, comments, or formatting alone are editorial even under runtime/test paths when they change no behavior or contract. Skip the automatic draft for those edits.
  • Before every final response, check whether the current task changed runtime code (src/agents/), tests (tests/), examples (examples/), build/test configuration, or docs with behavior impact.
  • If it did, run this skill after required verification and before sending the final response. Do not use perceived change size to decide whether to run it.
  • Run it for eligible local-only and uncommitted work even when the user did not ask to create a pull request. Producing this text does not authorize creating a branch, committing, pushing, or opening a pull request.
  • Skip only for trivial or conversation-only tasks, repo-meta/doc-only tasks without behavior impact, an explicitly invoked $release-candidate-prep handoff that uses the complete $final-release-review report as its release-specific PR description, or when the user explicitly says not to include the PR draft block. This exception applies to preparing the release candidate itself, not to implementing or changing the release-preparation skill.

Inputs to Collect Automatically (do not ask the user)

  • Current branch: git rev-parse --abbrev-ref HEAD.
  • Working tree: git status -sb.
  • Untracked files: git ls-files --others --exclude-standard (use with git status -sb to ensure they are surfaced; --stat does not include them).
  • Changed files: git diff --name-only (unstaged) and git diff --name-only --cached (staged); sizes via git diff --stat and git diff --stat --cached.
  • Latest release tag (prefer remote-aware lookup): LATEST_RELEASE_TAG=$(.agents/skills/final-release-review/scripts/find_latest_release_tag.sh origin 'v*' 2>/dev/null || git tag -l 'v*' --sort=-v:refname | head -n1).
  • Base reference (use the branch's upstream, fallback to origin/main):
    • BASE_REF=$(git rev-parse --abbrev-ref --symbolic-full-name @{upstream} 2>/dev/null || echo origin/main).
    • BASE_COMMIT=$(git merge-base --fork-point "$BASE_REF" HEAD || git merge-base "$BASE_REF" HEAD || echo "$BASE_REF").
  • Commits ahead of the base fork point: git log --oneline --no-merges ${BASE_COMMIT}..HEAD.
  • Category signals for this repo: runtime (src/agents/), tests (tests/), examples (examples/), docs (docs/, mkdocs.yml), build/test config (pyproject.toml, uv.lock, Makefile, .github/).

Read the full file on GitHub · 63 lines

Files

What ships with it

1 file 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. 1mo ago Changed · +2 lines · -90 tokens per session a14f15abd968
  2. 1mo ago First seen · 61 lines · 114 tokens per session scan A e3c1627391c2

Subscribe to this mod's changes

pr-draft-summary is a skill published in the GitHub repository openai/openai-agents-python (30,339 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 1,638 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.

Related

Other skills, from other repositories

mem0-test-integration

Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run /mem0-integrate…

mem0ai/mem0 · 207 tokens

mem0-integrate

Integrate Mem0 into an existing repository using a goal-driven, TDD pipeline. Detects the repo's language automatically and asks the user to pick between Mem0 Platform (managed) and Mem0 Open Source (self-hosted). Writes failing tests before any implementation. Produces a local feature branch plus .mem0-integration/…

mem0ai/mem0 · 188 tokens

jamjet-durability-patterns

Production durability patterns for AI agents on the JVM — crash recovery, audit trails, human-in-the-loop, and replay testing using JamJet runtime.

jamjet-labs/jamjet · 36 tokens

publish-npm-package

Configure or troubleshoot npm package publication with GitHub Actions and npm Trusted Publishing. Use this skill for JavaScript or TypeScript packages. Also use it for the npm package in a mixed-language repository. Do not use it for applications or repositories without an npm package. Do not use it for generic CI…

btfranklin/skills · 77 tokens

django-pytest-performance-suite

Build Django performance regression tests with pytest-benchmark. Use for ORM, views, schema, transactions, or database backend behavior. Match the production database engine and topology. Do not use for one-time profiling, browser rendering, application performance monitoring, or non-Django services.

btfranklin/skills · 61 tokens

publish-python-package-pypi

Configure or troubleshoot PyPI publication for PDM packages with GitHub Actions and Trusted Publishing. Use this skill for the Python package in a mixed-language repository. Do not use it for applications or repositories without a Python distribution. Do not use it for generic CI, containers, or token uploads unless…

btfranklin/skills · 71 tokens