What problem does it solve?
This Skill simplifies the process of setting up and managing agent lifecycle hooks across multiple platforms, reducing the complexity of configuring and maintaining hooks in different environments.
Core Features & Use Cases
- Universal Scaffolding: Provides a unified approach to scaffold hooks for Claude Code, Codex, GitHub Copilot, Devin CLI, and OpenCode, eliminating the need for multiple dedicated skills.
- Detects Existing Hooks: Automatically detects existing hook surfaces or managed scaffold states, allowing for efficient updates and refreshes.
- Conservative Merging: Preserves non-managed custom hooks and ensures compatibility with existing configurations.
- Migration: Migrates legacy hook configurations to a shared
hooks/ directory, simplifying maintenance and future updates.
- Use Case: If you're using multiple agent platforms and want to standardize hook configurations across them, this skill can automate the process and keep your hook setup up-to-date.
Quick Start
Run the scaffold-hooks skill with the --project flag to specify your project directory. For example:
npx skills add jpcaparas/skills --skill scaffold-hooks --project /path/to/project