You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integrate with RTK or implement equivalent functionality #128
Put that in .agentty/hooks.json, then run agentty hooks approve. Tested with rtk 1.2.0: git status went from 1186 to 440 bytes. Setup is at https://agentty.org/docs/hooks. It'll be in the next release.
I would love it if this particular hook could be a "pre-installed" opt in hook (not active by default, but running something like agentty hooks approve rtk could activate it, rather than users having to paste the config themselves)
There's no rtk hook agentty. RTK's hook modes are per agent, and agentty speaks Claude Code's protocol, so claude is the one that fits. One catch: it also reads Claude Code's permission rules (.claude/settings.json), and a command allowed there skips agentty's prompt.
I'd rather not build RTK into agentty. You approve the exact hooks file you've read, and RTK's hook format has already changed a few times. Setup is a 6-line file plus agentty hooks approve.
Activity
hooks: speak Claude Code's protocol, so RTK and friends work (#128)
1ay1 commentedon Nov 16, 2026
Done on master (55c5f89). agentty's hooks now speak Claude Code's protocol, so RTK's own hook works as is:
{ "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "rtk hook claude" } ] } ], "PostToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "rtk hook claude" } ] } ] } }Put that in
.agentty/hooks.json, then runagentty hooks approve. Tested with rtk 1.2.0:git statuswent from 1186 to 440 bytes. Setup is at https://agentty.org/docs/hooks. It'll be in the next release.TechPro424 commentedon Nov 16, 2026
rtk hook claudeand notrtk hook agentty?agentty hooks approve rtkcould activate it, rather than users having to paste the config themselves)1ay1 commentedon Nov 16, 2026
There's no
rtk hook agentty. RTK's hook modes are per agent, and agentty speaks Claude Code's protocol, soclaudeis the one that fits. One catch: it also reads Claude Code's permission rules (.claude/settings.json), and a command allowed there skips agentty's prompt.I'd rather not build RTK into agentty. You approve the exact hooks file you've read, and RTK's hook format has already changed a few times. Setup is a 6-line file plus
agentty hooks approve.