kramme:toggle-hook

Toggle plugin hook states in the kramme-cc-workflow plugin via JSON state file.

2|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Abildtoft/kramme-cc-workflow --skill kramme-toggle-hook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kramme:toggle-hook
Source: https://github.com/Abildtoft/kramme-cc-workflow/tree/main/skills/kramme%3Atoggle-hook
Command: npx skills add https://github.com/Abildtoft/kramme-cc-workflow --skill kramme-toggle-hook

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill makes it easy to manage the active set of plugin hooks by allowing you to enable or disable individual hooks without editing configuration files manually.

Core Features & Use Cases

  • Toggle hooks on/off for individual hooks such as block-rm-rf or auto-format.
  • View current states of all hooks in a single command.
  • Reset and batch-enable all hooks to defaults when needed.

Quick Start

  • /kramme:toggle-hook status to list all hooks and their current state
  • /kramme:toggle-hook <hook-name> enable to enable a hook
  • /kramme:toggle-hook <hook-name> disable to disable a hook
  • /kramme:toggle-hook reset to enable all hooks

Frequently Asked Questions about kramme:toggle-hook

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

FAQPage Schema
How do I toggle plugin hooks on or off without editing configuration files?

To toggle plugin hooks without manual configuration edits, use the toggle-hook skill to enable or disable individual hooks like auto-format or block-rm-rf via simple commands. It manages the enabled or disabled state automatically using a local JSON state file.

How can I check the status of all plugin hooks in a single command?

You can check the status of all plugin hooks in a single command by running the status command. This lists all available hooks within the workflow plugin alongside their current enabled or disabled state, providing a quick overview of your active configuration.

What is the best way to reset all plugin hooks to their default enabled state?

The best way to reset all plugin hooks to their default state is by running the reset command. This batch-enables all hooks at once, restoring the full set of workflow behaviors such as context-links and auto-format to their active configuration.

Can I selectively disable specific workflow hooks like block-rm-rf during development?

Yes, you can selectively disable specific workflow hooks like block-rm-rf during development by targeting the hook name with the disable command. This deactivates the hook by updating the local JSON state file without affecting other active hooks.

Does managing hook states require any external dependencies?

Managing hook states does not require any external dependencies, as the skill relies entirely on a local JSON state file to track and modify the enabled or disabled status of workflow hooks.

Why would I need to deactivate plugin hooks during software maintenance?

You need to deactivate plugin hooks during software maintenance to prevent automated behaviors like auto-format or block-rm-rf from interfering with manual debugging, allowing selective control over which background processes run.