Model Selection Across the Plan/Execute Boundary in Claude Code
Plan mode in Claude Code is a permission mode, not a separate session type. It restricts
the agent to read-only tools, and ExitPlanMode transitions the session back into an
editing mode once you approve the plan. The transition changes the permission mode. It
does not change the model.
A Git-Aware Prompt for PowerShell
PowerShell Core’s default prompt exposes the current path but no repository or
privilege metadata. The following prompt function adds the current logon
server, elevation state, Git branch, working-tree status, index status, and
stash count without requiring a separate prompt framework.
Using Windows Credential Manager for API Keys in PowerShell
Command-line clients commonly read API keys from environment variables. Assigning
literal values in $PROFILE makes those keys available in every PowerShell
session: