GeneArnold

Claude Agent Training — AI skill for Claude Code

AI community

A hands-on course for building AI agents with the Anthropic Claude SDK.

How to install Claude Agent Training

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

What Claude Agent Training does

A hands-on course for building AI agents with the Anthropic Claude SDK. Each lesson builds on the previous one, progressing from raw API mechanics to a real-world agent that performs machine health an

Alternatives in AI

  • Post Training — ai-research-skills GRPO, RLHF, DPO, SimPO 5.4k ★
  • ML Training Pack — Machine learning model training skills 1.6k ★
  • Guaardvark — The self-hosted AI studio: local video, image, music, voice, LoRA training, coding swarms, RAG and screen agen 211 ★

README

Claude Agent Training

A hands-on course for building AI agents with the Anthropic Claude SDK. Each lesson builds on the previous one, progressing from raw API mechanics to a real-world agent that performs machine health analysis.

This project exists because Anthropic has a certification exam (CCA-F) but no structured curriculum. These lessons fill that gap.

The Lessons

# File What You Build
1 lesson1_manual_loop.py The agentic loop by hand — the pattern behind every AI agent
2 lesson2_tool_runner.py Same agent, SDK handles the loop — @beta_tool + Tool Runner
2d lesson2_debug.py Debug version with breakpoints for stepping through
3 lesson3_real_tools.py Agent with real tools — file I/O, interactive chat
4 lesson4_streaming_ui.py Web UI with real-time streaming (FastAPI + SSE)
5 lesson5_health_agent.py A real agent — full machine health analysis with 12 tools, pushes a phone alert when something's wrong

Quick Start

git clone https://github.com/GeneArnold/claude-agent-training.git
cd claude-agent-training
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Create a `.env` file with your API key:

ANTHROPIC_API_KEY=your-key-here

For Lesson 5's phone notifications, also add a secret ntfy.sh topic (subscribe to the same name in the [ntfy app](https://ntfy.sh/) or a browser tab):

NTFY_TOPIC=pick-something-unguessable

Run any lesson:

python lesson1_manual_loop.py

What You'll Learn

**Lessons 1-2:** Every AI agent is a while loop. Send a message, check if Claude wants to call a tool, execute it, send the result back. That's it. Lesson 1 writes the loop by hand. Lesson 2 lets the SDK do it.

**Lesson 3:** Give Claude real tools (file read/write, directory listing) and an interactive chat loop. The agent starts feeling like a real assistant.

**Lesson 4:** Put a web UI on the agent. Tokens stream to th