rtk-ai/rtk

Need config to suppress warnings like "No hook installed — run `rtk init -g` for automatic token savings"

オープン

#682 opened on 2026/03/18

 (17 件のコメント) (16 件のリアクション) (0 人の担当者)Rust (2,914 件のフォーク)batch import
area:configeffort-smallenhancementgood first issueplatform:windowspriority:lowresolved-pending-close

Repository metrics

Stars
 (48,085 個のスター)
PR merge metrics
 (平均マージ 11d 1h) (30d で 45 merged PRs)

説明

I'm using rtk in Windows with my Claude Code. According to the guidance, I added rtk's instructions to my CLAUDE.md instead of configuring Claude Code Hooks.

But every time when Claude Code run some bash command with rtk, it will print a warning message like below:

● Let me check the current state of these files.
● Bash(rtk git log --oneline -20)
  ⎿  [rtk] /!\ No hook installed — run `rtk init -g` for automatic token savings               !!!!!! Unexpected warnings.
     7cb555668 Fix some package versions
     f214d1b2e Fix csproj
     … +18 lines (ctrl+o to expand)
● Searched for 1 pattern (ctrl+o to expand)

コントリビューターガイド