PostToolUse hook: check-sql-files.py missing in anthropic-skills plugin RPM directory (Windows)

Resolved 💬 1 comment Opened May 2, 2026 by multiplay-pages Closed Jun 2, 2026

Bug Report

Platform: Windows 11 Home 10.0.26200
Claude Code version: current
Plugin: anthropic-skills (Anthropic-managed)

Error

Every Write tool call triggers a PostToolUse hook that fails with:

PostToolUse hook blocking error from command:
"python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check-sql-files.py"":

C:\Users\<user>\AppData\Local\Python\pythoncore-3.14-64\python.exe:
can't open file 'C:\Users\<user>\AppData\Roaming\Claude\local-agent-mode-sessions\<session-id>\<agent-id>\rpm\plugin_01J1ZUJcofzWJxiajSBsZ8US\scripts\check-sql-files.py':
[Errno 2] No such file or directory

Details

  • CLAUDE_PLUGIN_ROOT resolves to rpm/plugin_01J1ZUJcofzWJxiajSBsZ8US/ inside the agent session directory
  • The scripts/check-sql-files.py file does not exist at that path
  • Plugin identified via local-agent-mode-sessions/skills-plugin/.claude-plugin/plugin.json:

``json
{
"name": "anthropic-skills",
"version": "1.0.0",
"description": "Anthropic-managed skills for Claude Desktop"
}
``

Impact

Hook failure is non-fatal — Write operations succeed — but error appears in every tool response and blocks cleanly.

Steps to Reproduce

  1. Use Claude Code with anthropic-skills plugin active (Windows)
  2. Trigger any Write tool call
  3. See PostToolUse hook error in response

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗