All repositories

Prompting & contextopenai

openai-cookbook

A collection of examples and guides for the OpenAI API: from basic requests to function calling and RAG. Most code is Python.

Who it is for

For developers working with the OpenAI API who want ready-made recipes.

How to start

  1. Open cookbook.openai.com and find an example for your task.
  2. Create an OpenAI account and get an API key.
  3. Run a notebook from the repo and adapt it to your data.

Steps are taken from the README. Check the current version in the repository before running them.

Stars over the last 30 days

+676Sep 6 — Oct 6
75,68276,358

Author's description

Examples and guides for using the OpenAI API

anthropics

skills

Growing fastest

Anthropic's official collection of Agent Skills: folders with instructions and scripts that Claude loads for a task. A good reference for writing your own.

180Kstars+5.4K in 30 dPython

Formerly Awesome ChatGPT Prompts: a huge community library of prompts plus an interactive book on prompting. You can deploy your own private copy.

172Kstars+2.9K in 30 dHTML

A collection of system prompts and tool descriptions from popular AI products: Cursor, Devin, Windsurf, Lovable, Manus and others. Useful for studying how pros build them.

144Kstars+933 in 30 d

A detailed guide to prompt engineering: techniques from few-shot to chains of thought, papers, lectures and notebooks. Recently extended with context engineering and agents.

79Kstars+909 in 30 dMDX

Recipes from Anthropic as notebooks: tools, RAG, multimodality, subagents and other techniques for working with Claude. The code is ready to copy into your projects.

53Kstars+829 in 30 dJupyter Notebook

Google's library for extracting structured data from text with LLMs: each field is tied to a spot in the source, and results can be viewed in an interactive visualization.

39Kstars+442 in 30 dPython