Context Course banner
huggingface huggingface

Context Course

Development community

Description

A course on context engineering with code agents.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

The Context Course

If you like the course, **don't hesitate to ⭐ star this repository**. This helps us to make the course more visible.

The Context Course teaches you **context engineering for code agents** — the skill of giving agents the right knowledge, tools, and structure to do their best work. Whether you're using Claude Code, Codex, or open source agents, this course will help you get dramatically more out of them.

The course covers the full context engineering stack: **skills, MCP, plugins, subagents**, and even building your own agent from scratch.

Sign up here (it's free) 👉 [Follow the Context Course org on Hugging Face](https://huggingface.co/organizations/context-course/share/BcsYJAxCofWDZncivkBzafSjAcuAxOMWua)

Unit Topic Description
0 Welcome & Onboarding Set up your tools, join the community, and get oriented.
1 Skills: Portable Knowledge Learn to write, use, and share agent skills — portable instructions that make agents expert at specific tasks.
2 MCP: The Model Context Protocol Build MCP servers that give agents dynamic access to external tools and data.
3 Plugins: Bundling for Distribution Package skills and MCP servers into plugins that work across agent platforms.
4 Subagents: Multi-Agent Workflows Orchestrate complex tasks by spawning specialized child agents.
5 Hooks: Observing and Guarding the Lifecycle Use hooks to log, block, or automate around every step the agent takes — then visualize it live in Gradio.
6 Bonus: Nano Harness Build your own minimal agent from scratch to understand how it all works under the hood.

Prerequisites

  • Basic familiarity with Python and the command line
  • A Hugging Face account (hf.co/join)
  • Access to a code agent: Claude Code, Codex, or an open source alternative

Reference Agents

This edition keeps the examples consistent by following three reference agents end-to-end:

  • **Claud