360 Secure SkillHub
360 安全技能中心

Claude Settings Editor

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

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

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add wimi321/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.