From claude-code
Use when creating, editing, auditing, or debugging Claude Code settings, hooks, CLAUDE.md/rules loading, custom agents, tool allow/deny permissions, output styles, workflows, setting sources, safe-mode/bare-mode differences, or plugin-provided customizations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code:claude-hooks-settingsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill for Claude Code settings and customization work: settings JSON,
Use this skill for Claude Code settings and customization work: settings JSON, hooks, CLAUDE.md or rules loading, custom agents, tool allow/deny rules, output styles, workflows, setting sources, plugin-provided customizations, safe-mode comparisons, and bare-mode explicit context.
From this skill directory, the plugin root is ../...
Read ../../references/hooks-settings.md
for hook lifecycle, setting-source boundaries, and safety details.
Inspect the target files and scope before editing:
Use CLI evidence when behavior differs from expectation:
python3 ../../scripts/claude_code_inspector.py --commands auto-mode --json
claude auto-mode config
claude auto-mode defaults
Use hooks only when deterministic lifecycle automation is needed. Prefer narrow events and matchers:
PreToolUse, PermissionRequest, PermissionDenied;PostToolUse, PostToolUseFailure, PostToolBatch;SessionStart, SessionEnd;WorktreeCreate, WorktreeRemove;ConfigChange, InstructionsLoaded.Keep hook scripts deterministic, reviewable, and low-output. Do not log full prompts, secrets, or broad environment dumps.
Use --tools, --allowedTools, and --disallowedTools for runtime scope:
claude --tools "Read,Grep,Glob"
claude --allowedTools "Bash(git *) Edit"
claude --disallowedTools "Bash(rm *)"
For durable rules, edit the appropriate settings file after confirming scope. Do not use hooks as the only enforcement mechanism for high-risk actions.
Before editing:
When troubleshooting, compare normal startup with --safe-mode and --bare
before deleting customizations.
Report the setting scope, files changed, hook events/matchers/rules, validation command, safe-mode or bare-mode comparison when used, and any residual risk.
npx claudepluginhub xopoko/plug-n-skills --plugin claude-codeGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.