update-cursor-settings

update-cursor-settings is a skill for Claude Code, Codex from XyrusCode/ai-sync. It costs 53 tokens per session (1,023 once invoked), scanned A, a copy of update-cursor-settings, MIT.

A guide for changing Cursor and Visual Studio Code editor preferences stored in a settings file.

In plain words
What is it for?
Use it to change themes, font and tab sizes, automatic saving, formatting, keybindings, and other editor options.
Why use it?
It helps you find the right settings file, preserve existing preferences, and avoid breaking the editor with invalid JSON.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to change themes, font and tab sizes, automatic saving, formatting, keybindings, and other editor options.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyruscode/ai-sync/update-cursor-settings
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XyrusCode/ai-sync --skill update-cursor-settings
Clone the repo
git clone --depth 1 https://github.com/XyrusCode/ai-sync

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for update-cursor-settings

README.md
[![agentmods](https://agentmods.dev/badge/skills/xyruscode/ai-sync/update-cursor-settings.svg)](https://agentmods.dev/skills/xyruscode/ai-sync/update-cursor-settings)
Your own site
<a href="https://agentmods.dev/skills/xyruscode/ai-sync/update-cursor-settings"><img src="https://agentmods.dev/badge/skills/xyruscode/ai-sync/update-cursor-settings.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,023 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01023
Opus 5 $0.00026 $0.00511
Sonnet 5 $0.00011 $0.00205
Haiku 4.5 $0.00005 $0.00102

Measured 3d ago against content hash 8b5ee1a74dc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

update-cursor-settings scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to update-cursor-settings — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/update-cursor-settings/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Updating Cursor Settings

This skill guides you through modifying Cursor/VSCode user settings. Use this when you want 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)

Example: Changing Font Size

If user says "make the font bigger":

{
  "editor.fontSize": 16
}

Example: Enabling Format on Save

If user says "format my code when I save":

{
  "editor.formatOnSave": true
}

Example: Changing Theme

If user says "use dark theme" or "change my theme":

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 123 lines · 53 tokens per session scan A 8b5ee1a74dc9

Subscribe to this mod's changes

update-cursor-settings is a skill published in the GitHub repository XyrusCode/ai-sync (2 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 1,023 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to update-cursor-settings, differing in 0 lines, and is treated as a copy.