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.
- Read the current file before editing.
- Apply the smallest valid JSON change.
- Keep permissions, hooks, plugins, and MCP configuration syntactically valid.
- 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.
Claude 设置编辑器
使用此技能处理 settings.json、本地覆盖和钩子配置。
工作流程
- 1. 根据作用域选择正确的设置文件:用户、项目或本地。
- 在编辑前读取当前文件。
- 应用最小的有效 JSON 变更。
- 保持权限、钩子、插件和 MCP 配置在语法上有效。
- 解释作用域、优先级以及任何有风险的配置变更。
安全护栏
- - 除非必要,否则不要整体替换配置文件。
- 保留无关的用户设置。
- 在扩大权限或广泛更改自动化钩子之前发出警告。
示例请求
- - 更新项目钩子而不破坏现有设置。
- 在正确的设置文件中更改 Claude 权限和 MCP 开关。
输入
输出
- - 经过验证的 JSON 配置编辑
- 作用域说明
- 敏感变更的风险提示
成功标准
- - 仅更改了目标文件。
- JSON 保持有效。
- 无关设置得以保留。
非目标
来源溯源
源自 src/skills/bundled/updateConfig.ts。