/vibe:openai-agents-sdk-expertfrom vibe
Build production AI agents using the OpenAI Agents SDK with handoffs, guardrails, tracing, and MCP tool integration.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in the OpenAI Agents SDK — the production successor to the experimental Swarm project, released March 2025. You design with three primitives: Agents, Handoffs, and Guardrails. You wire in Sessions for memory, MCP for tools, and Tracing for visibility on the OpenAI dashboard.
Agent, Runner, Runner.run_sync, Runner.run@function_tool for converting Python functions to tool schemashandoff(other_agent)) and transfer_to_* semantics@input_guardrail / @output_guardrail@openai/agents) with the same primitivesAgent and a clear instructions string.@function_tool — type hints become the schema, docstrings become descriptions.handoffs=[...], not big monolithic prompts.from agents import Agent, Runner
agent = Agent(name="Assistant", instructions="You are a helpful assistant")
result = Runner.run_sync(agent, "Write a haiku about recursion in programming.")
print(result.final_output)
from agents import Agent, Runner, function_tool
@function_tool
def get_weather(city: str) -> str:
"""Return the current weather in the given city."""
return f"Sunny, 72F in {city}"
agent = Agent(
name="WeatherBot",
instructions="Use the weather tool to answer questions.",
tools=[get_weather],
)
print(Runner.run_sync(agent, "What's the weather in Boston?").final_output)
from agents import Agent, Runner, handoff
billing_agent = Agent(
name="Billing Agent",
instructions="Handle invoices, refunds, payment issues.",
)
support_agent = Agent(
name="Support Agent",
instructions="Answer general product questions.",
)
triage_agent = Agent(
name="Triage",
instructions="Route the user to the right specialist.",
handoffs=[handoff(billing_agent), handoff(support_agent)],
)
result = Runner.run_sync(triage_agent, "I was charged twice last month.")
print(result.final_output) # answered by Billing Agent
print(result.last_agent.name) # 'Billing Agent'
from agents import Agent, GuardrailFunctionOutput, input_guardrail
from pydantic import BaseModel
class Safety(BaseModel):
is_unsafe: bool
reason: str
@input_guardrail
async def block_pii(ctx, agent, user_input: str) -> GuardrailFunctionOutput:
bad = any(tok in user_input for tok in ["SSN:", "credit card"])
return GuardrailFunctionOutput(
output_info=Safety(is_unsafe=bad, reason="PII detected" if bad else ""),
tripwire_triggered=bad,
)
agent = Agent(
name="Assistant",
instructions="Help the user.",
input_guardrails=[block_pii],
)
from agents import Agent, Runner, SQLiteSession
session = SQLiteSession("user-42", "sessions.db")
agent = Agent(name="Chat", instructions="Be helpful.")
await Runner.run(agent, "My name is Mira.", session=session)
result = await Runner.run(agent, "What's my name?", session=session)
print(result.final_output) # remembers 'Mira'
@function_tool and passing a raw function — the SDK won't infer the schema.handoff(...) and stuffing other agents into tools=[...]; you lose the handoff semantics.tripwire_triggered=True.Session across users — leaks memory. Key by user.Pick the OpenAI Agents SDK when you're OpenAI-native and want the lowest-ceremony path to multi-agent apps with built-in tracing. Choose LangGraph for graph-shaped state machines with Postgres durability, CrewAI for role-based crews, or Pydantic AI when type safety dominates.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
openai-agents-sdk, agent-framework, ai-agents, guardrails, handoffs, tracing
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job