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.

Install
$ npx -y skills add nidhinjs/prompt-mini --agent claude-code

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.

  • Runs 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, auto-invoked
Stats
29
Stars
0
Views
3
Forks
Maintained
Maintenance
Python
Language
MIT
License
4mo ago
Last commit
4mo ago
Created

Repo: nidhinjs/prompt-mini