Notes on building software.

A personal blog of technical articles about software development.

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.

Choosing Output Formats: text, json, stream-json

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

Control how claude -p prints results with --output-format text, json, or stream-json for scripts and pipelines.

Appending to the System Prompt

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

Use --append-system-prompt to add standing instructions on top of Claude Code's built-in system prompt.

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.

Useful CLI Flags You Might Have Missed

September 6, 2026· 2 min read·claude-codecliautomation

A roundup of Claude Code CLI flags that quietly make everyday work smoother, from --model to --add-dir.

Headless Claude for Scripted Tasks

September 5, 2026· 2 min read·claude-codeautomationworkflows

Run Claude non-interactively with the -p flag so you can call it from scripts and capture its output.