update-hook

Create and update AI session hook templates in JSON format.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/fabis94/fabis-ralph-loop --skill update-hook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-hook
Source: https://github.com/fabis94/fabis-ralph-loop/tree/main/.universal-ai-config/skills/update-hook
Command: npx skills add https://github.com/fabis94/fabis-ralph-loop --skill update-hook

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the management of automation triggers (hooks) for AI sessions, allowing for the creation, updating, and organization of lifecycle event handlers.

Core Features & Use Cases

  • Hook Management: Create new hook templates or update existing ones for various AI session events.
  • Template Organization: Supports organizing hooks into multiple directories for better maintainability.
  • Use Case: Automatically format code files after any tool use within an AI session by creating a postToolUse hook.

Quick Start

Create a new hook template for session start events.

Frequently Asked Questions about update-hook

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create AI session hook templates for lifecycle event automation?

AI session hook templates are created in JSON format by defining event names and handler fields to establish lifecycle automation triggers. This Skill facilitates generating and updating these structured configurations for various session events.

How does a postToolUse hook work for formatting code files in an AI session?

A postToolUse hook triggers an automated event handler after any tool execution within an AI session. It is configured as a JSON template to automatically format code files once a tool completes its operation.

Can I organize AI configuration hooks across multiple directories?

Organizing AI configuration hooks across multiple directories is supported to improve maintainability. This allows you to structure lifecycle automation triggers into distinct folder paths for better template management.

Do I need to understand JSON structure to manage automation triggers for AI sessions?

Understanding JSON structure is required to manage automation triggers for AI sessions. You must correctly define event names and handler fields within the JSON configuration to set up custom lifecycle automation.

What is the best way to update existing lifecycle event handlers for AI sessions?

Updating existing lifecycle event handlers involves modifying their JSON templates to adjust event names or handler fields. This Skill allows you to directly edit and maintain current automation triggers without creating new configurations from scratch.