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
RTK.md template ends with "Refer to CLAUDE.md for full command reference", which the default install never writes #3940
The RTK.md written by rtk init -g (Claude Code, default mode) ends with a pointer to a command reference that the default install never creates.
Detail
The template's last line is:
Refer to CLAUDE.md for full command reference.
But in the default Claude Code path (PreToolUse hook + RTK.md), nothing writes a command reference into CLAUDE.md. That only happens in legacy mode — rtk init --claude-md ("Inject full instructions into CLAUDE.md (legacy mode)"), which is where the by-workflow command catalog lives.
So on the default path the line resolves to nothing. It's cheap in tokens but it's a dead reference sitting in a file that's loaded into every session, and it sends the model looking for a section that isn't there.
Verified against rtk 0.40.0 (template extracted from the installed binary; matches the generated ~/.claude/RTK.md).
Suggested fix
Drop the line from the default template, or emit it only in --claude-md mode.
Two smaller notes on the same template
Installation Verification + name-collision block. Three verification commands and a warning about reachingforthejack/rtk are one-time setup diagnostics, but they live in a file loaded on every request. rtk init already prints verification guidance to the terminal, which reaches the user at the moment it's useful.
(60-90% savings on dev operations) in the usage line is a headline the README itself qualifies ("Bash output is one contributor to input tokens ... The reduction dilutes at every step"). In the always-loaded file it reads as a fact about the current session rather than a benchmark figure.
Both are judgment calls about what belongs in a permanently-loaded instruction file rather than bugs — feel free to close that part if it's deliberate.
Default RTK.md template ends with a dead pointer to CLAUDE.md command reference that only exists in legacy --claude-md mode; drop or condition the line, and consider trimming one-time verification/benchmark text from the always-loaded template.
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
📁 Relevant files
src/init.rs
templates/RTK.md
Triaged automatically by wshm · This is an automated analysis, not a human review.
Closing as a duplicate of #3306, 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
rtk-wshm-sync-bot commentedon Sep 8, 2026
🔍 Automated Triage
buglowSummary
Default RTK.md template ends with a dead pointer to CLAUDE.md command reference that only exists in legacy
--claude-mdmode; drop or condition the line, and consider trimming one-time verification/benchmark text from the always-loaded template.📁 Relevant files
src/init.rstemplates/RTK.mdTriaged automatically by wshm · This is an automated analysis, not a human review.
KuSh commentedon Sep 13, 2026
Closing as a duplicate of #3306, 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.