claude-code - 💡(How to fix) Fix [FEATURE] Flag and config file setting for disabling token usage when thinking/cogitating/etc. [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55618Fetched 2026-05-03 04:48:45
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3closed ×1commented ×1cross-referenced ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

When recording videos/screencasts in claude code with asciinema or vhs or whatever terminal tool that makes you happy, when you convert to a gif there is a lovely feature in asciinema agg that lets you skip idle frames (--idle-time-limit 2 for example). Welp, there are not a lot of idle frames when it's constantly Thinking (# tokens used) .

I have created a ~/.claude/settings.recording.json that looks like this: settings.recording.json { "spinnerTipsEnabled": false, "prefersReducedMotion": true, "statusLine": { "type": "command", "command": ":" } }

and then run with claude --settings ~/.claude/settings.recording.json which helps, but I still want to be able to get rid of what is in the brackets after thinking/cogitating/whatever (8 tokens used). OR maybe add a --recording or --movie or --action flag that will do all of the above and a new displayTokenUsage:boolean or something to that effect. Any of the above would be quite helpful, cuz otherwise I'm importing a gif into an editor and manually chopping out idle frames (or trying to get claude to do it, but it's not great at picking what is and isn't idle frames).

Proposed Solution

Please add a displayTokenUsage in the config to disable the token usage in brackets (# tokens used) Or --displayTokenUsage=false to command line Bonus points for --recording or --movie that does the displayTokenUsage=false,spinnerTipsEnabled=false,prefersReducedMotion=true all in 1 shot. This is for screen recording.

Keep up the awesome work friends!

Alternative Solutions

No response

Priority

Low - Nice to have

Feature Category

CLI commands and flags

Use Case Example

claude --recording

Screen recording mode enabled, not showing spinners, disabling token usage, reduced motion.

Additional Context

No response

extent analysis

TL;DR

Add a displayTokenUsage option to the configuration file or command line to disable token usage display.

Guidance

  • Consider adding a displayTokenUsage flag to the settings.recording.json file to disable the token usage display.
  • Alternatively, propose a new command line flag --displayTokenUsage=false to achieve the same result.
  • Evaluate the feasibility of introducing a --recording or --movie flag that enables a set of predefined settings, including displayTokenUsage=false, spinnerTipsEnabled=false, and prefersReducedMotion=true.
  • Review the current implementation of idle frame detection and consider improving it to reduce manual editing efforts.

Example

{
  "spinnerTipsEnabled": false,
  "prefersReducedMotion": true,
  "statusLine": {
    "type": "command",
    "command": ":"
  },
  "displayTokenUsage": false
}

Notes

The proposed solution focuses on adding a new configuration option or command line flag to disable token usage display. The introduction of a --recording or --movie flag could simplify the process of enabling a set of predefined settings for screen recording.

Recommendation

Apply workaround by adding a displayTokenUsage option to the configuration file, as it is a straightforward and targeted solution to the problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Flag and config file setting for disabling token usage when thinking/cogitating/etc. [1 comments, 2 participants]