Skip to content
Back to skills

Source Command Hookify

ASecurity

Create hooks to prevent unwanted behaviors from conversation analysis or explicit instructions

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
toolsrustbashreact

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add tangchunwu/skill-hub --skill source-command-hookify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Source Command Hookify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Source Command Hookify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tangchunwu-source-command-hookify/badge)](https://www.skillsdirectory.com/skills/tangchunwu-source-command-hookify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "source-command-hookify"
description: "Create hooks to prevent unwanted behaviors from conversation analysis or explicit instructions"
---

# source-command-hookify

Use this skill when the user asks to run the migrated source command `hookify`.

## Command Template

Create hook rules to prevent unwanted Codex 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 `.Codex/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`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.