360 Secure SkillHub
360 安全技能中心

Claude Settings Editor

针对 Claude 的 settings.json、本地覆盖与 hook 配置:先按 user/project/local 作用域选择正确文件,读取现状后做最小 JSON 改动,保持权限、hooks、插件与 MCP 配置语法有效,并解释作用域、优先级与风险配置;不整份替换文件、保留无关设置,扩大权限或改动自动化 hook 前先警告。

wimi321
wimi321
热度 40.14
最近更新 2026-05-11 17:39:12
分类:效率依赖:读写文件应用场景:工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add claude-code-claude-settings-editor
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.

Source Provenance

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