
openai / openai-cookbook
✓ Official★ 74,500A skill package that teaches your agent 1 capability — every one documented and browsable below, no GitHub required · by openai.
Each skill below is one capability this package teaches your agent. Install the whole package, or open a skill to install just that one.
✨ Navigate at cookbook.openai.com
Example code and guides for accomplishing common tasks with the OpenAI API. To run these examples, you'll need an OpenAI account and associated API key (create a free account here). Set an environment variable called OPENAI_API_KEY with your API key. Alternatively, in most IDEs such as Visual Studio Code, you can create an .env file at the root of your repo containing OPENAI_API_KEY=<your API key>, which will be picked up by the notebooks.
Most code examples are written in Python, though the concepts can be applied in any language.
For other useful tools, guides and courses, check out these related resources from around the web.
License
MIT License
Install the whole package (1 skills):
npx skills add https://github.com/openai/openai-cookbookOr install a single skill:
npx skills add https://github.com/openai/openai-cookbook --skill <name>Pick the skill name from the Skills tab — each entry there installs independently.