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
Bug: [rtk] /!\ No hook installed — run rtk init -g for automatic token savings #3731
When I use rtk in CLI or in Cursor hooks, I see [rtk] /!\ No hook installed — run rtk init -g for automatic token savings because I do not use Claude.
Only when I add rtk hook to the Claud's setting.json its stops complaining, but then it conflicts with my Cursor's hooks since the Cursor pulls Claud's hook settings by default.
rtk should not be checking its installed as a hook in the first place.
example:
rtk ls
[rtk] /!\ No hook installed — run `rtk init -g`for automatic token savings
rtk: Failed to resolve 'ls' via PATH, falling back to direct exec: Binary 'ls' not found on PATH
rtk: Failed to run ls: Failed to spawn process: program not found
Windows 11 x86
this seems to be an issue because ~/.claude directory exists even though I'm not using claude.
Closing as a duplicate of #682, which tracks the same problem with the more complete discussion. Please follow up there; if your case differs in a way that issue does not cover, comment here and it can be reopened.
Activity
qdrddr commentedon Sep 3, 2026
this does not help if I add to the config file (%APPDATA%\rtk\config.toml):
qdrddr commentedon Sep 3, 2026
Related to
#776
KuSh commentedon Sep 5, 2026
Closing as a duplicate of #682, which tracks the same problem with the more complete discussion. Please follow up there; if your case differs in a way that issue does not cover, comment here and it can be reopened.