Skip to content
Development
Skill

/update-cursor-settings

Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.

From plugin
coco
264174 skills37 agents41 commands
Install
$ npx -y skills add coco-research/coco --skill update-cursor-settings --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/update-cursor-settings

Context preview

The summary Claude sees to decide when to auto-load this skill.

Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.

SKILL.md

update-cursor-settings.SKILL.md
name: update-cursor-settings
description: Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.

Updating Cursor Settings

This skill guides you through modifying Cursor/VSCode user settings. Use this when the user wants to change editor settings, preferences, configuration, themes, keybindings, or any `settings.json` values.

Settings File Location

| OS | Path | |----|------| | macOS | ~/Library/Application Support/Cursor/User/settings.json | | Linux | ~/.config/Cursor/User/settings.json | | Windows | %APPDATA%\Cursor\User\settings.json |

Before Modifying Settings

1. **Read the existing settings file** to understand current configuration 2. **Preserve existing settings** - only add/modify what the user requested 3. **Validate JSON syntax** before writing to avoid breaking the editor

Modifying Settings

Step 1: Read Current Settings

// Read the settings file first
const settingsPath = "~/Library/Application Support/Cursor/User/settings.json";
// Use the Read tool to get current contents

Step 2: Identify the Setting to Change

Common setting categories:

  • **Editor**: `editor.fontSize`, `editor.tabSize`, `editor.wordWrap`, `editor.formatOnSave`
  • **Workbench**: `workbench.colorTheme`, `workbench.iconTheme`, `workbench.sideBar.location`
  • **Files**: `files.autoSave`, `files.exclude`, `files.associations`
  • **Terminal**: `terminal.integrated.fontSize`, `terminal.integrated.shell.*`
  • **Cursor-specific**: Settings prefixed with `cursor.` or `aipopup.`

Step 3: Update the Setting

When modifying settings.json: 1. Parse the existing JSON (handle comments - VSCode settings support JSON with comments) 2. Add or update the requested setting 3. Preserve all other existing settings 4. Write back with proper formatting (2-space indentation)

Common User Requests

| User Request | Setting | |--------------|---------| | "bigger/smaller font" | `editor.fontSize` | | "change tab size" | `editor.tabSize` | | "format on save" | `editor.formatOnSave` | | "word wrap" | `editor.wordWrap` | | "change theme" | `workbench.colorTheme` | | "hide minimap" | `editor.minimap.enabled` | | "auto save" | `files.autoSave` | | "line numbers" | `editor.lineNumbers` | | "bracket matching" | `editor.bracketPairColorization.enabled` | | "cursor style" | `editor.cursorStyle` | | "smooth scrolling" | `editor.smoothScrolling` |

Important Notes

1. **JSON with Comments**: VSCode/Cursor settings.json supports comments (`//` and `/* */`). When reading, be aware comments may exist. When writing, preserve comments if possible. 2. **Restart May Be Required**: Some settings take effect immediately, others require reloading the window or restarting Cursor. 3. **Backup**: For significant changes, consider mentioning the user can undo via Ctrl/Cmd+Z in the settings file. 4. **Workspace vs User Settings**: User settings apply globally; workspace settings (`.vscode/settings.json`) apply only to the current project.

Workflow

1. Read ~/Library/Application Support/Cursor/User/settings.json 2. Parse the JSON content 3. Add/modify the requested setting(s) 4. Write the updated JSON back to the file 5. Inform the user the setting has been changed and whether a reload is needed

Read more
Ships withcoco

Meet Coco. A superintelligent agent framework powered by an advisory board of 389 world-class minds. Scale your AI assistant into a complete engineering department with 142 skills, 277 commands, and persistent state. Universal compatibility. Local privacy. Free and open source.

Get the whole plugin

Other skills on coco.