360 Secure SkillHub
360 安全技能中心

Claude Settings Editor

面向 Claude 设置文件的配置编辑技能,按用户、项目或本地作用域读取现有 JSON,仅做最小有效修改,保留无关设置,并解释优先级与敏感变更风险。

分类:效率
wimi321
wimi321
热度 29.49
最近更新 2026-05-11 17:39:34

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add wimi321/claude-settings-editor
兼容性
Claude Code 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
name
claude_settings_editor
description
Use when the user wants to update Claude settings, hooks, permissions, MCP server toggles, or other JSON config safely and with scope awareness.

Claude Settings Editor

Use this skill for settings.json, local overrides, and hook configuration.

Workflow

  1. Choose the correct settings file by scope: user, project, or local.
  2. Read the current file before editing.
  3. Apply the smallest valid JSON change.
  4. Keep permissions, hooks, plugins, and MCP configuration syntactically valid.
  5. Explain scope, precedence, and any risky config changes.

Guardrails

  • Do not replace a config file wholesale unless necessary.
  • Preserve unrelated user settings.
  • Warn before widening permissions or changing automation hooks broadly.

Example Requests

  • Update project hooks without breaking existing settings.
  • Change Claude permissions and MCP toggles in the right settings file.

Inputs

  • Requested configuration change
  • Desired scope
  • Existing settings state

Outputs

  • Validated JSON config edits
  • Scope explanation
  • Risk notes for sensitive changes

Success Criteria

  • Only the intended file was changed.
  • JSON remains valid.
  • Unrelated settings were preserved.

Non-Goals

  • Blind full-file rewrites
  • Silent permission broadening

Source Provenance

Derived from src/skills/bundled/updateConfig.ts.