openai-agentkit

openai-agentkit is a skill for Claude Code from frankxai/claude-skills-library. It costs 54 tokens per session (2,759 once invoked), scanned A, original, MIT.

A guide to building multi-agent software with OpenAI AgentKit and the Agents SDK, including how agents coordinate and hand work to one another.

In plain words
What is it for?
It helps build production agent systems, coordinate agents, and move an existing design to OpenAI's tools.
Why use it?
It gives developers a structure for turning separate agents into a working system with defined handoffs and routines.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the claude-skills-library plugin — 117 skills shipped together

Good fit It helps build production agent systems, coordinate agents, and move an existing design to OpenAI's tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frankxai/claude-skills-library/openai-agentkit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add frankxai/claude-skills-library --skill openai-agentkit
Clone the repo
git clone --depth 1 https://github.com/frankxai/claude-skills-library

Made for: Claude Code.

Or install claude-skills-library, the plugin that ships this one along with the rest of its 117 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openai-agentkit

README.md
[![agentmods](https://agentmods.dev/badge/skills/frankxai/claude-skills-library/openai-agentkit/github.svg)](https://agentmods.dev/skills/frankxai/claude-skills-library/openai-agentkit)
Your own site
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/openai-agentkit"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/openai-agentkit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openai-agentkit

Your own site · 80×15
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/openai-agentkit"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/openai-agentkit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.02759
Opus 5.5 $0.00022 $0.01104
Sonnet 5.5 $0.00011 $0.00552
Haiku 4.5 $0.00005 $0.00276

Measured 27d ago against content hash 5abfa1225fa4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openai-agentkit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

free-skills/openai-agentkit/SKILL.md · 445 lines

How it starts

The opening of the file, as written. The whole thing — 445 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenAI AgentKit Expert Skill

Purpose

This skill provides comprehensive guidance on building production-ready multi-agent systems using OpenAI's AgentKit platform and Agents SDK, following 2025 best practices.

Platform Overview

OpenAI AgentKit (2025)

Complete platform for building, deploying, and optimizing agents with enterprise-grade tooling.

Core Components:

  • Agent Builder - Visual canvas for creating and versioning multi-agent workflows
  • Connector Registry - Central management for data and tool connections
  • ChatKit - Embeddable customizable chat-based agent experiences
  • Evaluation Suite - Datasets, trace grading, automated prompt optimization
  • Multi-Model Support - Third-party model integration capabilities

Agents SDK (Production-Ready)

The Agents SDK is the production evolution of the experimental Swarm framework. Use Agents SDK for all production work - Swarm is educational only.

Migration Note: If you encounter legacy Swarm code, migrate to Agents SDK immediately.

Core Concepts

1. Agents

An Agent encapsulates:

  • A set of instructions (system prompt)
  • A set of functions/tools
  • The capability to hand off execution to another Agent

Design Principle: Agents should be lightweight and specialized rather than monolithic and general-purpose.

2. Routines

A routine is a sequence of actions an agent can perform:

  • Natural language instructions (via system prompt)
  • Available tools needed to execute
  • Context and state management
  • Success criteria

Think of it as: A mini-workflow that an agent owns and executes autonomously.

3. Handoffs

Handoffs enable agent-to-agent transitions in execution flow.

Key Pattern: When an agent encounters a task outside its specialization, it hands off to a more appropriate agent.

Example:

# Triage agent determines which specialist to use
if task.type == "refund":
    handoff_to(refund_agent)
elif task.type == "sales":
    handoff_to(sales_agent)

Read the full file on GitHub · 445 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 27d ago Changed · +1 lines 5abfa1225fa4
  2. 2mo ago Changed 0f9adb403667
  3. 2mo ago First seen · 444 lines · 54 tokens per session scan A 962055f53548

Subscribe to this mod's changes

openai-agentkit is a skill published in the GitHub repository frankxai/claude-skills-library (51 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 2,759 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

openai-agentkit compared with skills from other repositories

openai-agentkit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openai-agentkitfrankxai/claude-skills-librarySkill51todayMITA54Claude Code
token-saverchidekina/aria-superpowersSkill21mo agononeC85Claude Code, Codex
wayfindervinvcn/mattpocock-skills-zh-CNSkill6.2k5d agoMITA40Claude Code, Codex
scaffold-exercisesvinvcn/mattpocock-skills-zh-CNSkill6.2k5d agoMITA46Claude Code, Codex
domain-modelingvinvcn/mattpocock-skills-zh-CNSkill6.2k5d agoMITA38Claude Code, Codex
migrate-to-shoehornvinvcn/mattpocock-skills-zh-CNSkill6.2k5d agoMITA53Claude Code, Codex
ask-mattvinvcn/mattpocock-skills-zh-CNSkill6.2k5d agoMITA28Claude Code, Codex