laguagu/claude-code-nextjs-skills / skills/openai-agents-sdk
openai-agents-sdk
VerifiedOpenAI Agents SDK (Python) development. Use when building AI agents, multi-agent handoffs, function tools, guardrails, sessions, streaming, or tracing with the `openai-agents` / `agents` Python package — including Azure OpenAI through its native client or LiteLLM. Triggers on imports from `agents`, uses of `Runner.run_sync`/`Runner.run_streamed`, `@function_tool`, `AgentOutputSchema`, `SQLiteSession`, or questions about the openai-agents-python SDK. Python only — not the TypeScript `@openai/agents` SDK.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.9 KB |
| references/guardrails.md | markdown | 1.8 KB |
| references/handoffs.md | markdown | 1.4 KB |
| references/patterns.md | markdown | 1.5 KB |
| references/providers.md | markdown | 2.8 KB |
| references/sandbox.md | markdown | 1.5 KB |
| references/sessions.md | markdown | 1.6 KB |
| references/streaming.md | markdown | 1.5 KB |
| references/structured-output.md | markdown | 838 B |
| references/tools.md | markdown | 3.0 KB |
references/patterns.md
View on GitHub# Orchestration, run limits and tracing
Use ordinary application control flow for fixed steps and independent work.
Add managers, workers or judge loops when the task benefits from model-selected
routing or measured quality improvement. A judge needs bounded retries and
criteria grounded in the evidence it receives.
Set the run's `max_turns` for the product budget and handle
`MaxTurnsExceeded` (default limit: 10). A turn limit does not impose a
wall-clock timeout or make tool side effects transactional. Durable execution needs the chosen runtime's
recovery contract.
Tracing is enabled by default and can include sensitive generation/tool data.
Set `RunConfig(trace_include_sensitive_data=False)` to omit model/tool payloads
from traces; metadata and custom spans need their own data policy.
Group related work with a trace when useful; use custom spans for app work.
OpenAI uploads require suitable OpenAI credentials independently of the model
provider. Disable with `set_tracing_disabled` or the documented environment
setting (`OPENAI_AGENTS_DISABLE_TRACING=1`), or configure a different processor.
`add_trace_processor` retains the existing OpenAI exporter;
`set_trace_processors` replaces processors. A missing key skips exports with a
warning in 0.24.0; an unsuitable supplied key can fail authentication.
Read [orchestration](https://openai.github.io/openai-agents-python/multi_agent/),
[running agents](https://openai.github.io/openai-agents-python/running_agents/)
and [tracing](https://openai.github.io/openai-agents-python/tracing/).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |