Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Hookify Plugin

Plugin Aktiv

Easily create hooks to prevent unwanted behaviors by analyzing conversation patterns

1 Skill 0 MCPs
Zweck

Empower users to proactively prevent unwanted or risky behaviors by easily defining custom rules based on conversation analysis and explicit instructions.

Funktionen

  • Create custom hooks via markdown files
  • Analyze conversations for unwanted behaviors
  • Define rules for bash, file, stop, and prompt events
  • Block or warn on rule matches
  • Interactive rule management commands

Anwendungsfälle

  • Preventing the use of dangerous bash commands like `rm -rf`
  • Warning about sensitive information in file edits
  • Ensuring best practices like running tests before stopping
  • Enforcing coding standards by detecting debug statements

Nicht-Ziele

  • Replacing core Claude Code functionality
  • Managing external dependencies
  • Providing a full-fledged security auditing tool

Workflow

  1. User invokes `/hookify` command
  2. Plugin analyzes conversation or uses provided instructions
  3. User selects behaviors and actions (warn/block)
  4. Plugin generates `.claude/hookify.{rule-name}.local.md` files
  5. Hooks dynamically load rules on next tool use
  6. Plugin enforces defined rules during agent execution

Praktiken

  • Rule definition
  • Behavioral analysis
  • Workflow enforcement

Voraussetzungen

  • Python 3.7+

Trust

  • warning:Issues AttentionWith 9462 issues opened and 22831 closed in the last 90 days, the closure rate is approximately 71%, but the high volume of open issues suggests potential delays in maintainer response.

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add anthropics/claude-code
/plugin install hookify@claude-code-plugins

Qualitätspunktzahl

95 /100
Analysiert 9 days ago

Vertrauenssignale

Letzter Commit9 days ago
Sterne123.1k
LizenzMIT
Status
Quellcode ansehen