test-coverage-improver
This skill measures Python SDK test coverage using coverage artifacts and identifies gaps in caller-visible behavior testing.
Identity proven by GitHub's verified organisation badge (openai)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- MIT (permissive)
- Pin
- 125efa0pinned Oct 9, 2026
- Context cost
- about 640 tokenswhen the skill loads
- GitHub stars
- 29,916on openai/openai-agents-python
- Scripts
- None found
What it does
“Measure Python SDK coverage or address measured coverage gaps. Use for coverage audits and metric regressions, not routine test additions.”
Generated summary from the skill's own text
This skill measures Python SDK test coverage using coverage artifacts and identifies gaps in caller-visible behavior testing. It implements tests for uncovered code paths and runs final coverage verification with make coverage, distinguishing between assessment-only reports and full implementation with review.
When to use it
- Measuring test coverage metrics or investigating regressions in coverage
- Finding gaps in tests for public behavior and error handling paths
- Implementing targeted tests based on coverage evidence and then verifying
- Auditing coverage across scoped sections of a Python SDK
When not to
- User already specifies exact behaviors to test without coverage measurement needed
- Routine test additions unrelated to coverage metrics or identified gaps
- Live API calls or expanded sandbox access is required
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add openai/openai-agents-python --skill test-coverage-improverInstalls 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 test-coverage-improver@125efa029b4bfd84238bd2c4fd69c3406f802663Installs the commit we checked (125efa0).
Copy by hand
Download the folder at 125efa0 and put it in .claude/skills/test-coverage-improver for Claude Code and in .agents/skills/test-coverage-improver 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 "test-coverage-improver" by OpenAI. Source, pinned to commit 125efa029b4bfd84238bd2c4fd69c3406f802663: https://github.com/openai/openai-agents-python/tree/125efa029b4bfd84238bd2c4fd69c3406f802663/.agents/skills/test-coverage-improver 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/test-coverage-improver/ for Claude Code and .agents/skills/test-coverage-improver/ 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/test-coverage-improver-openai-agents-python
SKILL.md at the pin
--- name: test-coverage-improver description: Measure Python SDK coverage or address measured coverage gaps. Use for coverage audits and metric regressions, not routine test additions. --- # Test Coverage Improver Use current coverage evidence to identify missing caller-visible behavior tests. Select this workflow for coverage measurement, coverage-metric regressions, or finding gaps from coverage artifacts. When the user already specifies the behaviors to test, use the ordinary implementation/review workflow without coverage measurement unless measurement is also requested. Adding tests alone does not trigger this skill or its final `make coverage` step. ## Scope and authorization For assessment or proposal-only requests, report gaps and suggested tests without editing. When the user requests test improvements or has approved a plan, implement the scoped tests and complete review and verification without asking again. Ask only when a new contract decision, expanded scope, or additional authority is needed. Coverage work never authorizes live API calls or broader sandbox access. ## Workflow 1. Inspect current `.coverage`, `coverage.xml`, and any recorded command/environment evidence. Reuse them only when they represent the relevant source and test state. If missing or stale, run `make coverage` under the repository's verification sandbox and credential policy; this initial measurement precedes implementation review. Respect host-capacity guidance before broad measurement. 2. Identify uncovered behavior within the requested scope. Prioritize public behavior and meaningful error, cancellation, and lifecycle paths over percentage-only targets. Use `uv run coverage report -m` or `coverage.xml` to locate gaps. 3. For an assessment, report evidence and proposed scenarios. For authorized implementation, choose tests with independent expected results at the highest controllable caller boundary. Do not add tests that merely reproduce helper logic or enumerate unsupported permutations. 4. Implement tests, run affected checks, and complete `$implementation-final-review`. Keep iterative verification focused; do not repeatedly run full coverage while review is incomplete. 5. After clean review, run `make coverage` for the final measurement and `$code-change-verification` for the required SDK gates. These have different purposes; reuse an already valid final measurement rather than repeating it. Report coverage changes, verified behaviors, and material gaps that remain. ## Reporting State the scope and age of coverage evidence, the behavior each new test protects, validation results, and unresolved gaps. Keep comments and code in English. Do not treat coverage percentages alone as proof of correctness.
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.md2.7 KB · effaadc82be4
- agents/
- openai.yaml264 B · eac460e12a86
2 files, 3.0 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
code-change-verification
Runs formatting, linting, type checking, and test verification for SDK code changes after review.
Contains scripts
Codex · about 1.3K tokens · pinned 6 days ago
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
Related in Testing and QA
testing-mwaa-workflow
Triggers and monitors Amazon MWAA workflow runs end-to-end for both Provisioned (Python DAGs via REST API) and Serverless (YAML workflows via…
by Amazon (AWS)Official publisher
Claude Code, Codex, Cursor +4 · about 3.6K tokens · pinned 6 days ago
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
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