Slash Command: /hookify
Slash Command: /hookify is a verified SLASH_COMMAND blueprint on Promptally in Interactive Slash Commands optimized for leading AI models. Create hooks to prevent unwanted behaviors from conversation analysis or explicit instructions. Use to generate a new hook rule file from conversation analysis or a described behavior; the hookify-rules skill covers hookify rule syntax and patterns for authoring or editing rules directly. Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | SLASH COMMAND (Interactive Slash Commands) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 310 |
| Source file | hookify.md |
| Access tier | Free public (MIT) |
Pre-Filled Template
Create hook rules to prevent unwanted Claude Code behaviors by analyzing conversation patterns or explicit user instructions.
## Usage
`/hookify [description of behavior to prevent]`
If no arguments are provided, analyze the current conversation to find behaviors worth preventing.
## Workflow
### Step 1: Gather Behavior Info
- With arguments: parse the user's description of the unwanted behavior
- Without arguments: use the `conversation-analyzer` agent to find:
- explicit corrections
- frustrated reactions to repeated mistakes
- reverted changes
- repeated similar issues
### Step 2: Present Findings
Show the user:
- behavior description
- proposed event type
- proposed pattern or matcher
- proposed action
### Step 3: Generate Rule Files
For each approved rule, create a file at `.claude/hookify.{name}.local.md`:
```yaml
---
name: rule-name
enabled: true
event: bash|file|stop|prompt|all
action: block|warn
pattern: "regex pattern"
---
Message shown when rule triggers.
```
### Step 4: Confirm
Report created rules and how to manage them with `/hookify-list` and `/hookify-configure`.
ECC's built-in hook runtime enforces enabled rules automatically; no separate
Hookify plugin or Python runtime is required.How to use this slash command
- Review the pre-filled example and source files above.
- Copy the template or download
hookify.md, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use Slash Command: /hookify?
Open the slash command on Promptally, review the pre-filled example, then copy the template or download hookify.md and paste it into your model, IDE or workflow tool. Slash Command: /hookify is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is Slash Command: /hookify free?
Yes. Slash Command: /hookify is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does Slash Command: /hookify need?
Slash Command: /hookify is a static blueprint with no dynamic variables. Copy it and use it as-is.