360 Secure SkillHub
360 安全技能中心

Claude Settings Editor

核心功能:支持按用户/项目/本地范围选配置文件,读取当前配置后执行最小合法JSON修改,保留无关设置,对宽权限、自动化钩子变更等操作预警。典型场景:更新Claude的设置、钩子、权限、MCP服务器开关等JSON配置。输入为配置修改需求,输出含修改后的合法配置、修改说明及风险提示。

wimi321
wimi321
热度 40.11
最近更新 2026-05-11 17:39:12
分类:开发依赖:读写文件 / 内部调用大模型应用场景:DevOps / 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.