Skip to content
Development
Hook

Hooks

What prompt-mini runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
prompt-mini
291 skill1 hook
Install
> /plugin marketplace add nidhinjs/prompt-mini
> /plugin install prompt-mini@nidhinjs-marketplace

Ships with prompt-mini. Installing the plugin gets these hooks.

What fires, and when

UserPromptSubmit

Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.

  • python3 ${CLAUDE_PLUGIN_ROOT}/scripts/evaluate-prompt.py || python ${CLAUDE_PLUGIN_ROOT}/scripts/evaluate-prompt.py
Read hooks/hooks.json
Ships withprompt-mini

A Claude Code plugin that stops vague prompts before they run. Detects your stack, asks targeted questions, and forges a structured prompt. Zero credits wasted.

Get the whole plugin
Stats
29
Stars
3
Forks
Maintained
Maintenance
Python
Language
MIT
License
5mo ago
Last commit
5mo ago
Created

Repo: nidhinjs/prompt-mini