AI ENGINEERING

Claude Code Agents and Automation

Claude Code Agents and Automation is a practical course on running Claude Code as an agent that works without you watching. It starts in the terminal, where Claude Code can be driven by scripts and services instead of someone clicking, and builds up to agents that run on GitHub and in the cloud.

The course covers working with Claude Code in the terminal, its settings files and how they take precedence, and the Git and GitHub basics the later topics depend on. It then shows how to hand side tasks to subagents, run several agents in parallel in separate worktrees, and when an agent team is worth its extra cost. Hooks add rules that run every time, whatever Claude decides. The final part takes Claude Code out of the conversation: headless runs from scripts, the Claude Code GitHub Action that turns issues into pull requests, and routines that run on a schedule in Anthropic’s cloud.

Every topic is demonstrated live on one small project that grows step by step, so each technique builds on the one before it.

Course Summary

Run Claude Code from the terminal as agents that work in parallel, follow hooks, and automate work through scripts, GitHub Actions, and scheduled cloud routines.

Piotr Kaluzny

Instructor

 

Domain
AI Engineering
Vendor
Anthropic
Status
Complete
Duration
2.5 hours
Level
  • Install Claude Code and work efficiently in the terminal
  • Configure settings files and understand how their precedence works
  • Use Git and the GitHub CLI, with Claude Code doing the Git work
  • Create custom subagents and delegate side tasks to them
  • Run background sessions in parallel and manage them in agent view
  • Keep parallel work apart with Git worktrees and merge the results
  • Understand when an agent team is worth its extra cost
  • Enforce rules with PreToolUse and PostToolUse hooks
  • Run Claude Code headless from scripts with controlled permissions
  • Set up the Claude Code GitHub Action to turn issues into pull requests
  • Schedule routines that run Claude Code in the cloud
  • Choose the right automation for each kind of task

This course is ideal for developers, DevOps and platform engineers, network and security engineers who automate their own work, and technical team leads who want Claude Code to take on tasks without constant supervision. It suits anyone who already uses Claude Code interactively and wants to take it to the next level: running it from scripts, on GitHub, and on a schedule.

Participants should be comfortable with the Claude Code basics covered in “Agentic Application Development with Claude Code” and with basic command-line work. A paid Claude subscription (Pro, Max, Team, or Enterprise) and a free GitHub account are required. On Windows, Git for Windows is also needed.

Course Content
Overview
Course Introduction2m
Getting Started in the Terminal
1. Claude Code in the Terminal20m
2. GitHub Essentials22m
Working with Multiple Agents
3. Subagents22m
4. Running Agents in Parallel21m
Controlling Agents
5. Hooks23m
Automating Agents
6. Headless Claude Code15m
7. Claude Code on GitHub15m
8. Routines16m
Resources
Review Questions
Further Reading
Lab Resources
Technology Lab
Lab Workbook
Lab Guide
Task 1 Solution Video
Task 2 Solution Video
Virtual Lab