plugin-packager-hooks

Manage hook scripts and path resolution when packaging Claude Code plugins.

3|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/JamesPrial/claudefiles --skill plugin-packager-hooks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-packager-hooks
Source: https://github.com/JamesPrial/claudefiles/tree/main/skills/plugin-packager/hooks
Command: npx skills add https://github.com/JamesPrial/claudefiles --skill plugin-packager-hooks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides how to manage hook scripts and path resolution when packaging Claude Code plugins, ensuring scripts run reliably in different environments.

Core Features & Use Cases

  • Make Executable: Mark scripts as executable across environments.
  • Dynamic Path Resolution: Use portable references like ${CLAUDE_PLUGIN_ROOT} to locate scripts.
  • Validate All Scripts: Quick checks to ensure scripts have correct permissions.
  • Multiple Hooks Handling: Guidance for combining multiple hook definitions in plugin.json.

Quick Start

Make hooks executable, resolve portable paths, and validate script files across the hooks directory.