Service eligibility and regional restrictions
PuppyIP serves only compliant overseas businesses and their authorized personnel. Proxy services are not available in mainland China. The service may only be used for lawful business activities outside mainland China. Use of this service within mainland China is prohibited.
Hosting a proxy IP or server overseas does not change these restrictions. The service must not be provided to end users in mainland China through relaying, forwarding, sharing or resale. Before use, read the Terms of Service.
Key Takeaways
- The documentation lists v2.1.331 for the MCP skills beta and v2.1.332 or later for PreSkillShellCommand.
- In a supported local session, find the skill by its server-prefixed name. If a connected server shows tools alone, confirm that it serves skills to Claude Code.
- PreSkillShellCommand covers shell commands during skill loading. PreToolUse continues to handle ordinary tool calls issued afterward.
Check the client version and session type first
In a terminal, run claude --version. For VS Code or the Code tab in Claude Desktop, check the version of Claude Code that client actually runs. Anthropic lists v2.1.331 as the minimum for MCP skills and v2.1.332 for PreSkillShellCommand. An older client can report Unknown hook event and ignore the new setting.
Start with a supported local interactive session connected to Anthropic. Cloud sessions, claude -p, and the Agent SDK do not support the MCP skills beta. On teams using both terminals and IDEs, verify the version and session type for each client before distributing the hook settings.
Look for the skill name in the slash menu
Type a slash in the session and look for a name in server:skill form. Connector or plugin servers can add a prefix, so use the exact name shown in the menu. If the server provides tools but no skills, check its connection in /mcp and ask the maintainer whether it serves skills to Claude Code.
Team and Enterprise members who sign in with /login also need the corresponding organization setting enabled. Record the account, session, and server type together. The menu verifies discovery. Separate settings govern use of the skill and approval of its actions.
Use PreSkillShellCommand for commands at load time
PreSkillShellCommand runs before an inline shell command that executes as a skill or slash command loads. PreToolUse handles ordinary tool calls made later. If your team already uses a checking script, register it for both events in organization or project settings. Use Bash|PowerShell to cover both documented shells.
Anthropic's documentation says asynchronous hooks cannot block an inline command. To block when a synchronous check fails or times out, set onFailure to block. Define the check in a settings file or a trusted plugin. A skill's own hook definitions do not run early enough to govern its first load and certain other cases.
Verify the block with a small local example
In an isolated directory you control, create a test skill containing a command that prints a fixed string, and have your policy deny that command. Run the skill and check for Not run in /skill-name in the terminal. Confirm that the expected string was not printed. The documented deny decision skips the command and still loads the skill.
Test a separate ordinary tool call to confirm that PreToolUse records the expected result as well. Keep the client version, effective settings, and test output for both paths. Repeating the same example after an upgrade helps distinguish a version change from a configuration or event mismatch.
Sources
Frequently Asked Questions
Why does the server show tools without skills?
A server provides tools and skills separately. Check its status in /mcp, the supported session and organization settings, and whether its maintainer has enabled skills for Claude Code.
Does PreSkillShellCommand work on 2.1.331?
The event requires v2.1.332 or later. A 2.1.331 client warns about the unknown event and ignores it.
Does denying one inline command stop the entire skill?
A standard deny decision skips that command and still allows the skill to load. Verify the behavior that corresponds to the decision your hook actually returns.