kgai-mod

by kgai maintainers · ★ 4 · updated yesterday

BandsStatus lineReskinsGuardsPromptvalidates

0

Experimental kgai add-on for Claude Code with function hooks: checks each code-editing turn for a structural decision on the side, records it without a line in the transcript, and draws kgai's own tool calls as one line each. Requires the kgai plugin.

install kgai-mod

Install

/plugin marketplace add kgaidev/kgai
/plugin install kgai-mod@kgai-marketplace

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
ui.renderturn.startprompt.submittool.callclassic.Stopturn.complete
API calls
$.clock.after$.env.get$.fs.stat$.model.fork$.process.run$.session.surfaces$.state.get$.state.set$.ui.log$.ui.resolve$.ui.status$.ui.toast
Draws
ToolUseToolResultAbovePrompt
Can see
every prompt/"^(Edit|Write|MultiEdit|NotebookEdit)$"/ callsBash callsSkill callsclassic hooks
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesdrives 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/kgaidev/kgai
Path in repo
mods/kgai-mod
Source commit
0ac7f1f the exact code the scan read
Author
kgai maintainers @kgaidev
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.