update-cli-config

Modify Cursor CLI configuration settings in cli-config.json.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/min-zou/obsidian-doc --skill update-cli-config-min-zou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-cli-config
Source: https://github.com/min-zou/obsidian-doc/tree/main/format/areas/system/agent-skills/cursor-builtin/update-cli-config
Command: npx skills add https://github.com/min-zou/obsidian-doc --skill update-cli-config-min-zou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually updating CLI configuration settings in ~/.cursor/cli-config.json can be error-prone and time-consuming.

Core Features & Use Cases

  • Modify Configuration: Update various CLI settings such as permissions, editor settings, display options, and more.
  • Automate CLI Configuration: Make bulk changes or individual setting adjustments to suit specific workflow requirements.
  • Use Case: When you need to change your approval mode, enable vim mode, or adjust your display options in the Cursor CLI.

Quick Start

Update the approval mode to 'allowlist' with the command: update-cli-config --approvalMode=allowlist

Frequently Asked Questions about update-cli-config

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update Cursor CLI configuration settings without manual JSON edits?

To update Cursor CLI configuration settings, use the update-cli-config command to automate JSON manipulation in ~/.cursor/cli-config.json. This prevents manual editing errors and accurately applies settings like approval mode or vim mode.

What is the best way to change approval mode in Cursor CLI?

The best way to change approval mode in Cursor CLI is by running the update-cli-config command with the approvalMode parameter. For example, use `update-cli-config --approvalMode=allowlist` to quickly switch modes.

Can I automate bulk CLI configuration changes for my work environment?

Yes, you can automate bulk CLI configuration changes for your work environment. The update-cli-config tool applies bulk adjustments to various CLI settings, ensuring JSON configuration manipulation is accurate without requiring manual edits.

Does manually editing cli-config.json cause configuration errors?

Manually editing cli-config.json can cause configuration errors because it is time-consuming and error-prone. Automating Cursor CLI configuration updates with a command-line script ensures accurate JSON manipulation and prevents syntax mistakes.

How do I enable vim mode in the Cursor CLI?

To enable vim mode in the Cursor CLI, use the update-cli-config command to modify your display and editor settings. This automates the JSON configuration update, accurately applying the preference without manual file edits.

What CLI settings can I modify using command-line configuration tools?

Using command-line configuration tools, you can modify various Cursor CLI settings including permissions, editor settings, and display options. This automates JSON configuration manipulation to suit specific workflow requirements accurately.