Brandedflow update-cli-config
install
source · Clone the upstream repo
git clone https://github.com/JenCW/brandedflow
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/JenCW/brandedflow "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.cursor/skills-cursor/update-cli-config" ~/.claude/skills/jencw-brandedflow-update-cli-config && rm -rf "$T"
manifest:
.cursor/skills-cursor/update-cli-config/SKILL.mdsource content
Cursor CLI Configuration
This skill explains how to view and modify Cursor CLI settings stored in
cli-config.json.
Config File Location
The config file is
~/.cursor/cli-config.json.
Projects can layer overrides via
.cursor/cli.json files. The CLI walks from the git root to the current working directory and merges each .cursor/cli.json it finds (deeper files take precedence). Project overrides only affect the current session; they are not written back to the home config.
How to Modify
Read
~/.cursor/cli-config.json, apply changes, and write it back. The file is standard JSON. Changes take effect after restarting the CLI.
Available Settings
permissions
(required)
permissionsTool permission rules. Each entry is a string pattern.
: string[] — patterns for allowed tool calls (e.g.allow
,"Shell(**)"
)"Mcp(server-name, tool-name)"
: string[] — patterns for denied tool callsdeny
editor
editor
: boolean — enable vim keybindings in the CLI inputvimMode
:defaultBehavior
|"ide"
— default behavior mode"agent"
display
(optional)
display
: boolean (default: false) — show line numbers in code outputshowLineNumbers
: boolean (default: false) — show model thinking/reasoning blocksshowThinkingBlocks
: boolean (default: false) — show status indicators in the UIshowStatusIndicators
channel
(optional)
channelRelease channel:
"prod" | "staging" | "lab" | "static"
maxMode
(optional)
maxModeboolean (default: false) — enable max mode for higher-quality model responses
approvalMode
(optional)
approvalModeControls tool approval behavior:
(default) — require approval for tools not in the allow list"allowlist"
— auto-approve all tool calls (yolo mode)"unrestricted"
sandbox
(optional)
sandboxSandbox execution environment settings:
:mode
|"disabled"
(default:"enabled"
)"disabled"
:networkAccess
|"user_config_only"
|"user_config_with_defaults"
— controls network access from sandbox"allow_all"
: string[] — domains the sandbox is allowed to reachnetworkAllowlist
network
(optional)
network
: boolean (default: false) — use HTTP/1.1 instead of HTTP/2 for agent connections (enables SSE-based streaming)useHttp1ForAgent
bedrock
(optional)
bedrockAWS Bedrock integration settings:
: boolean (default: false)enabled
:mode
|"access-key"
(default:"team-role"
)"access-key"
: string — AWS regionregion
: string — model to use for testingtestModel
: string — IAM role ARN for team modeteamRoleArn
: string — external ID for STS assume-roleteamExternalId
attribution
(optional)
attributionControls how agent work is attributed in git:
: boolean (default: true) — attribute commits to the agentattributeCommitsToAgent
: boolean (default: true) — attribute PRs to the agentattributePRsToAgent
webFetchDomainAllowlist
(optional)
webFetchDomainAllowliststring[] — domains the web fetch tool is allowed to access (e.g.
"docs.github.com", "*.example.com", "*")
Fields You Should NOT Modify
These are internal/cached state and should not be edited manually:
— config schema versionversion
/model
/selectedModel
/modelParameters
— managed by the model pickerhasChangedDefaultModel
— cached privacy mode stateprivacyCache
— cached authentication infoauthInfo
— one-time UI flagshowSandboxIntro
— internal cacheconversationClassificationScoredConversations