update-cli-config

update-cli-config is a skill for Claude Code, Codex from kensaurus/cursor-kenji. It costs 48 tokens per session (907 once invoked), scanned A, a copy of update-cli-config, MIT.

A guide for changing Cursor CLI settings stored in configuration files, including permissions, approval behavior, display options, and Vim mode.

In plain words
What is it for?
Use it to review or modify Cursor CLI permissions, editor behavior, display settings, and sandbox options.
Why use it?
It helps adjust command-line behavior without guessing which settings file or option controls it.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/kensaurus/cursor-kenji/update-cli-config
Any agent
npx skills add kensaurus/cursor-kenji --skill update-cli-config
Clone the repo
git clone --depth 1 https://github.com/kensaurus/cursor-kenji

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-cli-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/update-cli-config.svg)](https://agentmods.dev/skills/kensaurus/cursor-kenji/update-cli-config)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/update-cli-config"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/update-cli-config.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 907 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% 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 $0.00048 $0.00907
Opus 5 $0.00024 $0.00453
Sonnet 5 $0.00010 $0.00181
Haiku 4.5 $0.00005 $0.00091

Measured yesterday against content hash 7167c767d963, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

update-cli-config 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 yesterday.

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

94% identical to update-cli-config — 7 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-cursor/update-cli-config/SKILL.md · 85 lines

How it starts

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

Cursor CLI Configuration

This skill explains how to view and modify Cursor CLI settings stored in ~/.cursor/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)

Tool permission rules. Each entry is a string pattern.

  • allow: string[] — patterns for allowed tool calls (e.g. "Shell(**)", "Mcp(server-name, tool-name)")
  • deny: string[] — patterns for denied tool calls

editor

  • vimMode: boolean — enable vim keybindings in the CLI input
  • defaultBehavior: "ide" | "agent" — default behavior mode

display (optional)

  • showLineNumbers: boolean (default: false) — show line numbers in code output
  • showThinkingBlocks: boolean (default: false) — show model thinking/reasoning blocks
  • showStatusIndicators: boolean (default: false) — show status indicators in the UI

channel (optional)

Release channel: "prod" | "staging" | "lab" | "static"

maxMode (optional)

boolean (default: false) — enable max mode for higher-quality model responses

approvalMode (optional)

Controls tool approval behavior:

  • "allowlist" (default) — require approval for tools not in the allow list
  • "unrestricted" — auto-approve all tool calls (yolo mode)

sandbox (optional)

Sandbox execution environment settings:

  • mode: "disabled" | "enabled" (default: "disabled")
  • networkAccess: "user_config_only" | "user_config_with_defaults" | "allow_all" — controls network access from sandbox
  • networkAllowlist: string[] — domains the sandbox is allowed to reach

Read the full file on GitHub · 85 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. yesterday First seen · 85 lines · 48 tokens per session scan A 7167c767d963

Subscribe to this mod's changes

update-cli-config is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 7d ago), licensed MIT. It adds 48 tokens to every session and 907 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to update-cli-config, differing in 7 lines, and is treated as a copy.

Related

Other skills, from other repositories

linkedin-job-scraper

Scrapes LinkedIn job postings using the JobSpy library (python-jobspy). Use this skill whenever the user wants to find jobs on LinkedIn, search for open roles, pull job listings, build a job pipeline, source job targets for GTM research, or monitor hiring signals. Even if the user just says "find me some jobs" or…

gooseworks-ai/goose-skills · 121 tokens

job-search

Search for jobs matching your skills, experience, and preferences.

gooseworks-ai/goose-skills · 14 tokens

send-sms-textbelt

Send SMS text messages to phone numbers. Use when the user asks to send a text, send an SMS, text someone, message a phone number, or send a notification via text message.

gooseworks-ai/goose-skills · 44 tokens

give-me-tips

Explains any senpi tip in depth, including Tip: lines in the TUI. Use when the user asks about a tip, what a tipped feature does, or which tips they can see.

code-yeongyu/oh-my-openagent · 45 tokens

042-planning-openspec

Use when creating or updating OpenSpec artifacts from an issue, plan, approved design, ADRs, existing OpenSpec, or a valid combination. The workflow assesses reviewable scope, records source authority and derivation, handles conflicts, and prevents silent synchronization. Triggers include Create OpenSpec from an…

jabrena/plinth · 94 tokens

043-planning-github-issues

Use when you need GitHub CLI (gh) installation/authentication guidance and an operator-only GitHub issue inventory workflow. The agent does not ingest GitHub issue, milestone, body, comment, title, label, or summary text; requirements analysis must use repository-owned planning artifacts, with issue numbers only for…

jabrena/plinth · 113 tokens