ClaudeMods
☰
EN
● — online · Views — times
SponsorsSubmit a project
GitHub repositories · by BeLazy167

hello-mod

Starter mod: logs each tool call and blocks Bash commands that contain rm -rf.

BeLazy167@BeLazy167

BeLazy167/claude-mods-skill/tree/main/examples/hello-mod

Translated

About this mod

The smallest mod that does something. One tool.call hook: logs the tool name to the transcript and refuses Bash commands containing rm -rf.

Copy this folder to start a new mod. Rename in .claude-plugin/plugin.json.

Try it for one session:

CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude --plugin-dir examples/hello-mod

Prove it loads without an interactive session:

examples/hello-mod/smoke.sh examples/hello-mod hello-mod

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add BeLazy167/claude-mods-skill
claude plugin install hello-mod
Original text / README

hello-mod

The smallest mod that does something. One tool.call hook: logs the tool name to the transcript and refuses Bash commands containing rm -rf.

Copy this folder to start a new mod. Rename in .claude-plugin/plugin.json.

Try it for one session:

CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude --plugin-dir examples/hello-mod

Prove it loads without an interactive session:

examples/hello-mod/smoke.sh examples/hello-mod hello-mod

Get a badge

Is this your project? Add this badge to your README or website. It links back to this page.

Featured on ClaudeMods
Size
Theme
Markdown
HTML

Other works with the same name

Similar projects