Notes on building software.

A personal blog of technical articles about software development.

Interactive vs Headless: claude vs claude -p

September 7, 2026· 2 min read·claude-codecliheadless

Learn when to use the interactive claude session and when to reach for the headless claude -p print-and-exit mode.

Piping Data into Claude Code

September 7, 2026· 2 min read·claude-codecliheadlessautomation

Feed files, command output, and logs straight into Claude Code by piping them into claude -p.

Running Claude Code in CI Pipelines

September 7, 2026· 2 min read·claude-codecliautomationheadless

Combine headless mode and JSON output to run Claude Code as a step in your continuous integration pipeline.