Agent skill · AI & Agents

openai-agents

Build AI agents with OpenAI Agents SDK, tool registration, conversation history, and stateless execution. Use when creating AI agents, registering tools, or handling conversations.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill openai-agents-jawad-chaudhary-hackathone-2-todo-sp --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/agent/openai-agents-jawad-chaudhary-hackathone-2-todo-sp/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# OpenAI Agents SDK Integration ## Agent Initialization ```python from openai import OpenAI from openai.agents import Agent, Runner client = OpenAI(api_key=os.getenv("OPENAI_API_KEY")) agent = Agent( name="TaskAssistant", instructions="""You are a helpful task management assistant. Use the provided tools to help users manage their todo list. Always confirm actions with friendly responses. If a user's request is ambiguous, ask for clarification.""", model="gpt-4o", tools=[] # MCP tools registered here ) ``` ## Tool Registration (from MCP) ```python tools = [ { "type": "function", "function": { "name": "add_task", "description": "Create a new task", "parameters": { "type": "object", "properties": { "user_id": {"type": "string"}, "title": {"type": "string"}, "description": {"type": "string"} }, "required": ["user_id", "title"] } } } ] agent.tools = tools ``` ## Running Agent with History ```python async def run_agent(messages: list[dict]) -> tuple[str, list[str]]: """Run agent with conversation history.""" runner = Runner(agent=agent) result = await runner.run(messages=messages) # Extract response response = result.messages[-1].content[0].text.value # Extract tool calls tool_calls = [

What's inside
Steps it walks through
  1. Agent Initialization
  2. Tool Registration (from MCP)
  3. Running Agent with History
  4. Message Format
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the openai-agents skill do?

Build AI agents with OpenAI Agents SDK, tool registration, conversation history, and stateless execution. Use when creating AI agents, registering tools, or handling conversations.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill openai-agents-jawad-chaudhary-hackathone-2-todo-sp --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going