AI Automation Using Claude Code
Overview
Claude Code is Anthropic's agentic command-line tool that lets Claude read, write, edit, and execute code directly in your development environment. This 4-hour technical workshop takes you from installation and setup through to building real automation workflows — from file processing scripts to multi-step agentic tasks. Whether you are a developer looking to supercharge your coding workflow or a technical professional wanting to automate repetitive tasks, this course gives you practical, production-ready skills.
Skills Acquired:
• Claude Code installation, authentication, and configuration
• Natural language to production-ready code generation
• Batch file and data automation script creation
• API integration via Claude Code-generated scripts
• Headless Claude Code for automated pipelines
• CLAUDE.md project context management
• Multi-language code editing and debugging with AI
• Agentic multi-step task design and execution
• Git workflow enhancement with AI-generated commits
• Token cost management and responsible AI execution
This course is included in the AI Annual Learning Pass.
Duration:
1/2 Day
Who Should Take This Course
Prerequisites
- Basic comfort with a terminal or command line (navigating directories, running commands)
- js 18+ installed on your machine (installation guide provided pre-workshop)
- A Claude Pro or API account with sufficient credits
- A code editor (VS Code recommended)
- Basic understanding of at least one scripting language (Python or JavaScript preferred)
- Completion of Course 1 recommended but not required
Why You Should Take This Course
By the end of this course, learners will be able to:
- Install, configure, and navigate Claude Code in a terminal environment
- Use Claude Code to generate, edit, debug, and refactor code across multiple languages
- Build file automation scripts that process, transform, and organize data at scale
- Design and execute multi-step agentic tasks with Claude Code handling tool calls
- Understand Claude Code’s permission model and safe execution practices
- Integrate Claude Code into an existing development or professional workflow
Course Outline
AI Automation Using Claude Code
| Module 1: Claude Code Foundations
50 minutes |
Installation and Setup
- Installing Claude Code via npm: npm install -g @anthropic-ai/claude-code
- Authenticating with your Anthropic account or API key
- First run: the interactive REPL and slash commands
- Understanding Claude Code’s file system access model
- Configuration: .claude files, allowed tools, and permission levels
Hands-On: Setup verification: install Claude Code, authenticate, and complete the first hello-world task
Core Interaction Modes
- Interactive mode vs. non-interactive (piped) mode
- Context window management: what Claude Code sees and remembers
- The CLAUDE.md file: giving Claude persistent project context
- Slash commands: /clear, /compact, /cost, /help, and more
Hands-On: Write a CLAUDE.md file for a sample project and observe how it shapes responses
| Module 2: Code Generation, Editing & Debugging
60 minutes |
Generating Code from Natural Language
- Describing functionality and having Claude write production-ready code
- Language selection: Python, JavaScript, Bash, and more
- Requesting tests alongside code (unit tests, edge cases)
- Asking Claude to explain the code it generates
Hands-On: Build a CSV data cleaning script: describe requirements in plain English and let Claude generate the full solution
Editing and Debugging Existing Code
- Pointing Claude at existing files for review and refactoring
- Bug fixing workflow: share the error, Claude diagnoses and patches
- Code review: requesting security, performance, and readability feedback
- Git integration: asking Claude to write commit messages and changelogs
Hands-On: Debugging challenge: receive a broken script, use Claude Code to identify and fix all errors in under 10 minutes
| Module 3: File and Data Automation
50 minutes |
Automating File Operations
- Batch file renaming, moving, and organization scripts
- Text extraction and transformation pipelines
- Generating reports from raw data files (CSV, JSON, logs)
- Scheduled automation: connecting Claude Code output to cron jobs or task schedulers
Hands-On: Build a document organizer: write a script that reads a messy download folder and sorts files by type and date
API and Web Integration
- Calling external APIs from Claude Code-generated scripts
- Parsing and processing JSON API responses
- Building lightweight web scrapers (with ethical and legal awareness)
- Connecting to databases: simple SQL queries via script
| Module 4: Agentic Tasks and Production Workflows
60 minutes |
Multi-Step Agentic Execution
- What makes a task ‘agentic’: planning, tool use, and iteration
- Claude Code as an agent: read → think → act → verify loops
- Headless mode for automated pipelines (no human in the loop)
- Checkpointing and rollback: safe agentic execution practices
Hands-On: Build an agentic report generator: given a folder of raw text files, Claude Code plans, extracts, formats, and produces a polished Markdown summary automatically
Real-World Workflow Integration
- VS Code integration with Claude Code (via extension)
- Connecting Claude Code to n8n or other automation platforms (bridge to Course 6)
- Cost management: monitoring token usage for agentic tasks
- Security: what to never give Claude Code access to