Notes on building software.

A personal blog of technical articles about software development.

Adding Extra Directories with --add-dir

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

Give Claude Code access to folders outside your current project using the --add-dir flag.

Starting in a Permission Mode with --permission-mode

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

Launch Claude Code straight into default, acceptEdits, plan, or bypassPermissions with the --permission-mode flag.

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.

Updating Claude Code and Running /doctor

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

Keep Claude Code current with claude update and check your setup with the /doctor command.

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.