update-cli-config

View and modify Cursor CLI settings in ~/.cursor/cli-config.json.

5|2|Updated Jan 10, 2017
One-click install
npx skills add https://github.com/brujack/dotfiles --skill update-cli-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-cli-config
Source: https://github.com/brujack/dotfiles/tree/main/.cursor/skills-cursor/update-cli-config
Command: npx skills add https://github.com/brujack/dotfiles --skill update-cli-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

View and modify Cursor CLI configuration settings stored in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.

Core Features & Use Cases

  • View and edit the Cursor CLI configuration file at ~/.cursor/cli-config.json to adjust permissions, editor behavior, display options, and sandbox settings.
  • Layer per-project overrides using .cursor/cli.json that merge with the home config, with deeper paths taking precedence.
  • Apply changes by restarting the Cursor CLI to activate new settings.

Quick Start

Edit the JSON file at ~/.cursor/cli-config.json to apply your preferred Cursor CLI settings and restart the CLI to apply changes.

Frequently Asked Questions about update-cli-config

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

FAQPage Schema
How do I modify Cursor CLI settings for permissions and vim mode?

To modify Cursor CLI settings, edit the JSON configuration file located at ~/.cursor/cli-config.json to adjust permissions, enable vim mode, and configure sandbox or display options. Restart the Cursor CLI after saving the file to apply the new settings.

What is the best way to override Cursor CLI config for a specific project?

To override the global Cursor CLI config for a specific project, create a .cursor/cli.json file in your project directory. These local settings merge with the home configuration at ~/.cursor/cli-config.json, with deeper paths taking precedence for your project workflows.

Why does changing the CLI config file not update my Cursor environment immediately?

Changing the CLI config file does not update the environment immediately because configuration changes stored in ~/.cursor/cli-config.json require a CLI restart. You must restart the Cursor CLI to activate the new permissions, display options, or network settings.

Can I configure sandbox settings and network behavior using the Cursor CLI config?

Yes, you can configure sandbox settings and network behavior by editing the ~/.cursor/cli-config.json file. This standard JSON configuration file manages local development preferences, allowing you to toggle sandbox restrictions and adjust network behavior as needed.

Does the Cursor CLI support per-project configuration layers?

Yes, the Cursor CLI supports per-project configuration layers through the .cursor/cli.json file. These project overrides merge with your home configuration in ~/.cursor/cli-config.json, allowing deeper paths to take precedence for localized development adjustments.