examples-auto-run

Run Python examples with logging and rerun failed cases.

Updated Jan 17, 2026
One-click install
npx skills add https://github.com/zaziedlm/openai-agents-python --skill examples-auto-run
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: examples-auto-run
Source: https://github.com/zaziedlm/openai-agents-python/tree/main/.codex/skills/examples-auto-run
Command: npx skills add https://github.com/zaziedlm/openai-agents-python --skill examples-auto-run

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the execution of example scripts, providing detailed logging, error tracking, and rerun capabilities for failed tests.

Core Features & Use Cases

  • Automated Example Execution: Runs Python examples using uv run examples/run_examples.py in an automated, non-interactive mode.
  • Detailed Logging: Captures per-example logs and a main summary log for easy debugging.
  • Failure Rerun: Generates a list of failed examples for quick re-execution.
  • Use Case: Developers can use this Skill to continuously run and test the SDK's examples, ensuring new changes don't break existing functionality and quickly identifying regressions.

Quick Start

Start running the examples in auto mode with logging enabled.

Frequently Asked Questions about examples-auto-run

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate running Python example scripts with detailed logging?

You can automate example execution with logging by running scripts in a non-interactive mode that captures per-example logs and a main summary for debugging.

Can I rerun only the failed Python test cases from an automated example run?

Yes, you can rerun failed test cases because the automated execution generates a specific list of failed examples for quick re-execution after capturing failures.

What is the best way to debug regressions in Python SDK example scripts?

Debugging regressions in SDK example scripts is best handled by continuously running examples in auto mode, which captures failures and tracks errors to identify broken functionality.

Do I need any specific testing framework to capture logs for example scripts?

No specific testing framework is required; the automation relies on standard Python execution commands to manage logs, capture failures, and track errors without extra dependencies.

How does the automated example execution handle error tracking for failed tests?

Automated example execution handles error tracking by capturing per-example logs and generating a main summary log that details failures and supports rerunning those failed cases.