Notes on building software.
A personal blog of technical articles about software development.
Adding Extra Directories with --add-dir
Give Claude Code access to folders outside your current project using the --add-dir flag.
Starting in a Permission Mode with --permission-mode
Launch Claude Code straight into default, acceptEdits, plan, or bypassPermissions with the --permission-mode flag.
Appending to the System Prompt
Use --append-system-prompt to add standing instructions on top of Claude Code's built-in system prompt.
Running Claude Code in CI Pipelines
Combine headless mode and JSON output to run Claude Code as a step in your continuous integration pipeline.
Updating Claude Code and Running /doctor
Keep Claude Code current with claude update and check your setup with the /doctor command.
Useful CLI Flags You Might Have Missed
A roundup of Claude Code CLI flags that quietly make everyday work smoother, from --model to --add-dir.