Skip to content
Development
Hook

Hooks

What nyann 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 thettwe/nyann --agent claude-code

Ships with nyann. Installing the plugin gets these hooks.

What fires, and when

PreToolUse

  • Runs claude-hook-block-main.sh.

PostToolUse

  • Runs track-claudemd-usage.sh.

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 session-triage.sh.
Read hooks/hooks.json
Ships withnyann

ငြမ်း is Burmese for scaffolding. Nyann is the Claude Code plugin that picks expert git defaults for your stack — branching, working hooks (Husky / pre-commit.com / lefthook), commits, releases, CI, docs — then keeps the repo on those rails through every PR

Get the whole plugin, auto-invoked
Stats
6
Stars
0
Views
0
Forks
Active
Maintenance
Shell
Language
MIT
License
10d ago
Last commit
3mo ago
Created

Repo: thettwe/nyann