Diagnose
技能 已验证 活跃诊断您的 Claude Code hooks 设置。检查哪些 hooks 处于活动状态,验证权限,并识别常见的配置问题。
诊断并报告您的 Claude Code hooks 设置的健康状况,以识别和修复常见的配置问题。
功能
- 检查活动 hooks
- 验证 hook 文件是否存在且可执行
- 确认依赖项可用性 (jq, python3, node)
- 识别环境变量配置问题
- 报告 settings.json 与 hooks 的集成情况
- 检查最近的活动日志状态
使用场景
- 首次设置 Claude Code hooks 时。
- 在使用 Claude Code hooks 时遇到意外行为。
- 在开始自主操作之前,确保最佳配置并识别潜在问题。
非目标
- 修改或安装 hooks。
- 排除 hooks 配置之外的问题。
- 为与 hooks 无关的 Claude Code 问题提供解决方案。
安装
请先添加 Marketplace
/plugin marketplace add yurukusa/claude-code-hooks/plugin install claude-code-hooks@claude-code-hooks-marketplace质量评分
已验证类似扩展
Hook Development
99This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.
Time Fetcher
100Instructions for fetching current Dubai time via bash command
Toprank Upgrade
100Upgrade toprank plugin to the latest version. Updates the marketplace repo, installs the new version to the plugin cache, and updates installed_plugins.json. Use when asked to "upgrade toprank", "update toprank", or "get latest version". Also handles inline upgrade prompts when a skill detects UPGRADE_AVAILABLE at startup.
Janitor Fix
100自动修复技能问题(首先进行安全预览)。也可与 --prune 一起使用,查找并移除损坏的符号链接、空目录和孤立的技能。
Validate Plugin
100Validate a Claude Code plugin structure, frontmatter, and MCP tool references
Running Claude Code Via Litellm Copilot
100当通过本地 LiteLLM 代理将 Claude Code 路由到 GitHub Copilot 时使用,以减少直接的 Anthropic 支出,配置 ANTHROPIC_BASE_URL 或 ANTHROPIC_MODEL 覆盖,或对 Copilot 代理设置失败进行故障排除,例如 model-not-found、无 localhost 流量或 GitHub 401/403 身份验证错误。