一键导入
cc-update-claude-code-config
Skill for modifying Claude Code configuration file (settings.json).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Skill for modifying Claude Code configuration file (settings.json).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Reference guide covering decision heuristics for building agents on the Claude API, including tool surface design, context management, caching strategies, and composing tool calls
Template for presenting language-specific reference documentation with quick task navigation
Guides Claude in building LLM-powered applications using the Anthropic SDK, covering language detection, API surface selection (Claude API vs Managed Agents), model defaults, thinking/effort configuration, and language-specific documentation reading
Skill definition for the /catch-up periodic heartbeat that scans current priorities, triages actionable changes, reports a short digest, and updates catch-up state
Instructions for using computer-use MCP tools including tool selection tiers, app access tiers, link safety, and financial action restrictions
Prompt for creating verifier skills for the Verify agent to automatically verify code changes
| name | cc-update-claude-code-config |
| description | Skill for modifying Claude Code configuration file (settings.json). |
Modify Claude Code configuration by updating settings.json files.
If the user wants something to happen automatically in response to an EVENT, they need a hook configured in settings.json. Memory/preferences cannot trigger automated actions.
These require hooks:
Hook events: PreToolUse, PostToolUse, PreCompact, PostCompact, Stop, Notification, SessionStart
Always read the existing settings file before making changes. Merge new settings with existing ones - never replace the entire file.
When the user's request is ambiguous, use AskUserQuestion to clarify:
Suggest the /config slash command for these simple settings:
theme, editorMode, verbose, modellanguage, alwaysThinkingEnabledpermissions.defaultModeEdit settings.json directly for:
When adding to permission arrays or hook arrays, merge with existing, don't replace:
WRONG (replaces existing permissions):
{ "permissions": { "allow": ["Bash(npm *)"] } }
RIGHT (preserves existing + adds new):
{
"permissions": {
"allow": [
"Bash(git *)", // existing
"Edit(.claude)", // existing
"Bash(npm *)" // new
]
}
}
${SETTINGS_FILE_LOCATION_PROMPT}
${HOOKS_CONFIGURATION_PROMPT}
${CONSTRUCTING_HOOK_PROMPT}
User: "Format my code after Claude writes it"
.claude/settings.json (or create if missing){
"hooks": {
"PostToolUse": [{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "jq -r '.tool_response.filePath // .tool_input.file_path' | { read -r f; prettier --write \"$f\"; } 2>/dev/null || true"
}]
}]
}
}
User: "Allow npm commands without prompting"
Bash(npm *) to allow arrayUser: "Set DEBUG=true"
{ "env": { "DEBUG": "true" } }
If a hook isn't running:
claude --debug to see hook execution logs