Skills in OpenAI API

· Source: Simon Willison's Weblog · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Intermediate, quick

Summary

OpenAI has integrated "Skills" directly into its API, allowing developers to utilize a shell tool for custom functionalities. These skills can be uploaded as zipped files or, more conveniently, sent inline within JSON requests as base64-encoded zip data. An example script demonstrates this by defining an "inline" skill named "wc" to count words in a file, using the `gpt-5.2` model. This capability was explored and documented through an automated research process using Claude Code for web use, specifically a tool called Showboat, which generated a detailed demo and report based on an initial prompt to fetch and analyze OpenAI's API documentation.

Key takeaway

For AI Engineers integrating custom logic into OpenAI applications, you should explore the new inline skills feature. This allows for dynamic, on-the-fly tool definition without pre-uploading, potentially streamlining development workflows and enabling more flexible agentic behaviors within your `gpt-5.2` model interactions. Consider using automated research tools to quickly prototype and understand new API capabilities.

Key insights

OpenAI API now supports inline, base64-encoded custom skills via a shell tool.

Principles

Method

Define skills as base64-encoded zip data within the OpenAI API JSON request for immediate use.

In practice

Topics

Code references

Best for: AI Engineer, Machine Learning Engineer, Software Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Simon Willison's Weblog.