[BUG] slash command /btw shown in tips but returns 'Unknown skill' when feature flag isn't enabled.

Status Closed — not planned
Maintainer reply None cached
Activity 11 comments · opened Mar 11, 2026 · closed Apr 17, 2026

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_

View original on GitHub ↗

11 Comments

miekassu · 5 months ago

Additional finding: DISABLE_TELEMETRY env var prevents feature flag resolution

I can confirm this is related to feature flag fetching. In my case, /btw works in some
project directories but not others. After isolating variables:

Root cause: Setting DISABLE_TELEMETRY in .claude/settings.json env config prevents the server-side feature flag from being fetched, so /btw is never enabled.

Reproduction:

// .claude/settings.json — /btw does NOT work
{
  "env": {
    "DISABLE_TELEMETRY": "1"
  }
}
// .claude/settings.json — /btw WORKS
{
  "env": {}
}

Note: setting DISABLE_TELEMETRY to "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_TELEMETRY from your .claude/settings.json env section.

tumes · 5 months ago

This is wild and borderline unconscionable, the mechanism for managing feature flags and having to opt in to telemetry should not be linked.

masta79 · 5 months ago

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.

tumes · 5 months ago

@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.

vinnymeller · 5 months ago

@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"

grhaonan · 5 months ago

+1, please fix this wild bug, thanks

grhaonan · 5 months ago
Additional finding: DISABLE_TELEMETRY env var prevents feature flag resolution I can confirm this is related to feature flag fetching. In my case, /btw works in some project directories but not others. After isolating variables: Root cause: Setting DISABLE_TELEMETRY in .claude/settings.json env config prevents the server-side feature flag from being fetched, so /btw is never enabled. Reproduction: `` // .claude/settings.json — /btw does NOT work { "env": { "DISABLE_TELEMETRY": "1" } } ` ` // .claude/settings.json — /btw WORKS { "env": {} } ` Note: setting DISABLE_TELEMETRY to "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_TELEMETRY from your .claude/settings.json` env section.

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

huymng · 5 months ago
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

grhaonan · 5 months ago

since 2.1.79, it shows up

github-actions[bot] · 4 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] · 4 months ago

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.