Workflows & automation

Lessons in this group, roughly in build order:

  • headless-ci-usage — Running Claude Code non-interactively — claude -p driven by a script, pipeline, or CI runner — so an agent…
  • github-actions-integration — The anthropics/claude-code-action GitHub Action that runs Claude Code inside a workflow, letting @claude…
  • git-pr-workflows — Using Claude Code as a git operator — staging, committing, branching, and opening PRs through Bash and the…
  • multi-step-agentic-tasks — Driving a long task — explore, plan, edit across many files, run tests, fix, repeat — as one coherent…
  • cost-context-optimization — Keeping token spend and context usage low — through model choice, prompt caching, scoping, and clearing —…
  • security-safe-tool-use — The practices that keep an autonomous agent from doing harm: scoping tools, denying the destructive verbs,…