function-hooks

by Bardia Samiee · ★ 0 · updated 5 days ago

Status lineGuardswarnings

0

Refuses tool calls by policy, and with observation on records hook events as database rows and delivers findings per lineage

install function-hooks

Install

git clone https://github.com/bsamiee/Rasm
claude --plugin-dir ./Rasm/.claude/plugins/function-hooks

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
tool.callclassic.*classic.Stopturn.*
API calls
$.agent.list$.agent.spawn$.clock.now$.env.get$.fs.exists$.fs.stat$.fs.write$.process.run$.session.id$.session.repo$.session.usage$.state.get$.state.set$.ui.log$.ui.status
Can see
every tool callclassic hooks
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processeswrites filesdrives Claudereads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/bsamiee/Rasm
Path in repo
.claude/plugins/function-hooks
Author
Bardia Samiee @bsamiee
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.