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
False 'No hook installed' warning for Codex install on macOS when ~/.claude exists #1734
RTK shows [rtk] /!\ No hook installed — run rtk init -g for automatic token savings on macOS even when the Codex integration is installed and rtk init --show --codex reports OK.
This appears to happen when ~/.claude exists but the Claude RTK PreToolUse hook is not installed. RTK checks Claude hook status and emits the warning, but does not treat the existing Codex integration as a valid RTK install.
Environment
OS: macOS
RTK version: rtk 0.38.0
Tool: Codex
Install mode: rtk init -g --codex
Current Codex status
rtk init --show --codex reports:
rtk Configuration (Codex CLI):
[ok] Global RTK.md: /Users/nidhi/.codex/RTK.md
[ok] Global AGENTS.md: RTK.md reference
[--] Local RTK.md: not found
[--] Local AGENTS.md: not found
So the Codex integration appears to be installed correctly.
Reproduction
Install RTK for Codex:
rtk init -g --codex
Have an existing ~/.claude directory, but no RTK Claude PreToolUse hook in ~/.claude/settings.json.
Run any RTK command from Codex or a terminal:
rtk find . -maxdepth 3 -type f
RTK prints:
[rtk] /!\ No hook installed — run `rtk init -g` for automatic token savings
Expected behavior
If Codex is installed via ~/.codex/AGENTS.md and ~/.codex/RTK.md, RTK should treat that as a valid integration and not emit the missing hook warning.
Actual behavior
RTK emits the missing hook warning because ~/.claude exists and the Claude hook is not installed, even though Codex is configured.
This is not blocking RTK command use. The command output is still filtered. The problem is the warning itself consumes tokens and looks like setup failed, even though the Codex integration reports OK.
RTK emits false 'No hook installed' warning when Codex integration is active but ~/.claude exists without a Claude hook; fix hook-check logic to recognize Codex as a valid integration.
Closing as a duplicate of #913, 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
pszymkowiak commentedon May 27, 2026
🔍 Automated Triage
buglowSummary
RTK emits false 'No hook installed' warning when Codex integration is active but ~/.claude exists without a Claude hook; fix hook-check logic to recognize Codex as a valid integration.
Triaged automatically by wshm · This is an automated analysis, not a human review.
KuSh commentedon Sep 5, 2026
Closing as a duplicate of #913, 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.