Open-source project
anthropics/prompt-eng-interactive-tutorial avatar
anthropics/prompt-eng-interactive-tutorial

Anthropic's Prompt Engineering Tutorial: A Hands-On Course for Claude Users

Anthropic's Interactive Prompt Engineering Tutorial

39,278 stars4,352 forksJupyter NotebookLicense varies

At a glance

What is it?
An interactive Jupyter notebook course that teaches prompt engineering for Claude through nine chapters of exercises, examples, and playgrounds. Its chapters are grouped into beginner, intermediate and advanced levels.
Who is it for?
Adopt this tutorial if you are new to Claude and want a structured, exercise-driven path to better prompts. Skip it if you prefer video learning or need advanced techniques like tool use, which sit in the appendix.
Can I use it commercially?
Not without permission. GitHub finds no licence file in the repository, and without a licence all rights are reserved by default: you may read the code but not reuse it. Check the README, or ask the authors, before using it.
Is it still maintained?
Yes. The repository last received commits 78 days ago.
What is it written in?
Mainly Jupyter Notebook, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 13, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • anthropics/prompt-eng-interactive-tutorial39,278 ★ · +1,576
Star history
Repository2026-08-182026-11-13
anthropics/prompt-eng-interactive-tutorial37.7k39.3k

1,576 Stars in the last 87 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

What This Tutorial Solves and Who It Serves

The repository is a Jupyter Notebook course that teaches prompt engineering specifically for Anthropic's Claude models. It solves a practical problem: many users write prompts that fail because they do not understand Claude's structure, failure modes, or strengths. The README states that after completing the course, you will be able to master the basic structure of a good prompt, recognize common failure modes, and build strong prompts from scratch. The intended audience is people who want hands-on practice, not just reading. The chapters are grouped into beginner, intermediate and advanced levels, progressing from basic structure to complex industry use cases. If you are a developer or a content creator who uses Claude, this tutorial gives you a structured way to improve your prompting skills.

Course Structure: Nine Chapters and an Appendix

The course is organized into nine chapters plus an appendix. The chapters are grouped into three levels. Beginner chapters cover basic prompt structure, being clear and direct, and assigning roles. Intermediate chapters cover separating data from instructions, formatting output, speaking for Claude, precognition (thinking step by step), and using examples. Advanced chapters cover avoiding hallucinations and building complex prompts for industry use cases, including chatbots, legal services, financial services, and coding. The appendix covers beyond standard prompting, including chaining prompts, tool use, and search and retrieval. The README recommends working through the course in chapter order, as each lesson builds on the previous one. This structure is deliberate: it moves from simple prompt syntax to techniques like thinking step by step and example-based prompting.

The Mechanism: Exercises, Playgrounds, and Answer Keys

The core mechanism is interactive practice. Each lesson has an 'Example Playground' area at the bottom where you can experiment with the examples and see how changing prompts changes Claude's responses. This is a hands-on approach, not a passive reading experience. The course also includes exercises accompanying each chapter, and there is an answer key available via a Google Sheets link. The tutorial uses Claude 3 Haiku, described as the smallest, fastest, and cheapest model. Using the cheapest model keeps costs low while practicing. The README notes that Anthropic has two other models, Sonnet and Opus, which are more intelligent, but the course is built around Haiku. This means the techniques you learn should transfer to the larger models, but the specific outputs may differ.

Getting Started: Two Ways to Run the Tutorial

The README gives two concrete ways to use the tutorial. The first is to go to the `01_Basic Prompt Structure` notebook in the repository and work through it in Jupyter. The second is a Google Sheets version that uses Anthropic's Claude for Sheets extension. The README recommends the Google Sheets version, calling it 'more user friendly.' That version is likely easier for non-programmers, as it does not require setting up a Python environment. The README gives no installation commands for the notebook route. The answer key is a Google Sheets document, and the tutorial itself is also available as a Google Sheets document, so you can start with either route.

Limitations and Where It Falls Short

The tutorial has clear limitations. First, it is built entirely around Claude 3 Haiku, which is the smallest model. The README admits that Sonnet and Opus are more intelligent, so the examples may not reflect the full capability of the larger models. Second, tool use and search and retrieval are confined to the appendix. Third, the course is notebook-based, which means it requires a Jupyter environment. For users who are not comfortable with Python, the Google Sheets version is a workaround, but it still requires the Claude for Sheets extension. Finally, the README does not mention any maintenance or upgrade history, and the license is listed as unknown. That is a concern for enterprise adoption, as you cannot be sure about usage rights.

Alternative Approaches to Learning Prompt Engineering

The main alternative is Anthropic's official documentation, which covers prompt engineering in a more comprehensive and up-to-date manner. Another alternative is the Google Sheets version of this same tutorial, which is essentially the same content but with a different interface. For a non-interactive approach, you could read the Anthropic prompt engineering guide on their docs site. The difference in approach is that the tutorial is practice-driven, while the documentation is reference-driven. If you prefer learning by doing, the tutorial is better. If you need to look up specific details or advanced features, the documentation is more reliable.

Maintenance, License, and Upgrade Considerations

The repository has no GitHub releases and is not archived, and its last push was on 2026-08-28. The license is listed as unknown, which is a red flag for commercial use. You should contact Anthropic or check the repository for a license file before using it in a production environment. There is no versioning or changelog. The course uses Claude 3 Haiku, which is a specific model generation. If Anthropic releases a newer model, the tutorial may become outdated. For upgrades, you would need to manually check the repository for changes or rely on the Google Sheets version to be updated. There is no automated update mechanism.

Editorial conclusion

Adopt this tutorial if you are new to Claude and want a structured, exercise-driven path to better prompts. Skip it if you prefer video learning or need advanced techniques like tool use, which sit in the appendix. Before starting, verify that you have access to Claude 3 Haiku, either through the Jupyter notebooks or the Google Sheets version. The course is a solid starting point, but it does not replace the official Anthropic documentation for production-level prompt engineering.

Frequently asked questions

Is there an interactive Anthropic prompt engineering course?

Yes. The repository is a course of 9 chapters with exercises plus an appendix, intended to be worked in chapter order, and every lesson has an Example Playground area where you can try the examples and watch how changing a prompt changes the response. The README recommends a Google Sheets version as more user friendly.

What are some examples of prompt engineering exercises?

Every chapter has exercises attached, and chapter 9, Building Complex Prompts, has dedicated exercises for financial services and for coding alongside worked examples for a chatbot and for legal services. The appendix covers chaining prompts, tool use, and search and retrieval. An answer key is published as a spreadsheet.

Is there a free course that teaches prompt engineering?

The repository can be read on GitHub, and the README also points to a Google Sheets version built with Anthropic's Claude for Sheets extension. No licence file appears among the repository's top-level entries and GitHub records no licence, so the terms for reusing or adapting the material are not stated.

Can you provide a tutorial on prompt engineering?

This one exists as that tutorial: nine chapters from Basic Prompt Structure through Avoiding Hallucinations to Building Complex Prompts, with an appendix on chaining prompts, tool use and search and retrieval. The exercises run on Claude 3 Haiku, which the README describes as the smallest, fastest and cheapest model, with Sonnet and Opus named as more intelligent.

Official sources

  1. Official README
  2. Project repository
  3. README
  4. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/anthropics-prompt-eng-interactive-tutorial.svg)](https://hysenlabs.com/projects/anthropics-prompt-eng-interactive-tutorial)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/anthropics-prompt-eng-interactive-tutorial.svg)](https://hysenlabs.com/projects/anthropics-prompt-eng-interactive-tutorial)

Was this useful?