Skip to content
Development
Hook

Hooks

What lucasduys-forge 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 LucasDuys/forge --agent claude-code

Ships with lucasduys-forge. Installing the plugin gets these hooks.

What fires, and when

Stop

  • Runs stop-hook.sh.

PreToolUse

  • Runs tool-cache.js.

PostToolUse

  • Runs token-monitor.sh.
Read hooks/hooks.json

Where it lives

Showing the source of 6 of 8 scripts. Every one is linked above.

Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.

Ships withlucasduys-forge

Turn a one-line idea into a branch with tested, reviewed, committed code. The brainstorm-to-commit pipeline for Claude Code.

Get the whole plugin, auto-invoked
Stats
55
Stars
0
Views
5
Forks
Active
Maintenance
JavaScript
Language
MIT
License
21d ago
Last commit
4mo ago
Created

Repo: LucasDuys/forge