[BUG] slash command /btw shown in tips but returns 'Unknown skill' when feature flag isn't enabled.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
CC actually found the problem:
if((Zn()||zG()&&(aH(process.env.CLAUDE_CODE_BRIEF)||XA("tengu_kairos_brief",!1)))&&A&&!L)
The /btw feature is gated behind a feature flag called tengu_kairos_brief. It checks either:
- An environment variable CLAUDE_CODE_BRIEF is set, OR
- A server-side feature flag tengu_kairos_brief is enabled for your account
It's likely being rolled out gradually and your account hasn't been flagged yet.
The UI bug: the tips show that /btw is available, but it is advertising a feature that's still gated behind tengu_kairos_brief for your account. The hints are probably hardcoded in the binary without checking the feature flag.
What Should Happen?
/btw should be available, but it's not, even though it's advertised as available in the tips
Error Messages/Logs
Unknown skill: btw
Steps to Reproduce
Use /btw during a long / multi-step process
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
v2.1.73
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
11 Comments
Additional finding:
DISABLE_TELEMETRYenv var prevents feature flag resolutionI can confirm this is related to feature flag fetching. In my case,
/btwworks in someproject directories but not others. After isolating variables:
Root cause: Setting
DISABLE_TELEMETRYin.claude/settings.jsonenv config prevents the server-side feature flag from being fetched, so/btwis never enabled.Reproduction:
Note: setting
DISABLE_TELEMETRYto"0"still suppresses/btw- the check appears to be presence-based, not value-based.Environment: Claude Code v2.1.74, macOS, Anthropic API (Opus 4.6)
Workaround: Remove
DISABLE_TELEMETRYfrom your.claude/settings.jsonenv section.This is wild and borderline unconscionable, the mechanism for managing feature flags and having to opt in to telemetry should not be linked.
It's not related to DISABLE_TELEMETRY but as soon as any environment variable is set, btw will not work. Seems like there is a broken feature flag check. Removing env from .claude/settings.json fixes the issue for me.
@masta79 I think it is, or at least it's related to some specific env vars, because I have both ENABLE_TOOL_SEARCH and BUTTS (just something random) set and /btw works.
I'll also note that /remote-control hadn't been working for me as an in-session command until I removed DISABLE_TELEMETRY as well, so this ticket actually fixed both of those problems for me. The unfortunate thing is I don't _want_ telemetry enabled, and it clearly doesn't cache those feature flag checks since the commands disappear again if I put the line back. So yeah, very unfortunate coincidence or (IMO more likely) the concerns that phone home are commingled.
@tumes its been this way for some time. basically every new feature that's come out for months doesn't work out of the box unless you remove
DISABLE_TELEMETRY. have to imagine its on purpose - can't be a complicated thing to "fix"+1, please fix this wild bug, thanks
i don't have DISABLE_TELEMETRY in my env but a bunch of other env settings, still can't see /btw, i think this is not specifically to DISABLE_TELEMETRY existence
Check this
I have Claude Code v2.1.77
Remove "CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY": "1" and /btw show up
since 2.1.79, it shows up
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.