logoalt Hacker News

cesarvarelatoday at 6:00 PM0 repliesview on HN

I'd recommend anyone to ask Claude to show used context and thinking effort on its status line, something like:

``` #!/bin/bash input=$(cat) DIR=$(echo "$input" | jq -r '.workspace.current_dir // empty') PCT=$(echo "$input" | jq -r '.context_window.used_percentage // 0' | cut -d. -f1) EFFORT=$(jq -r '.effortLevel // "default"' ~/.claude/settings.json 2>/dev/null) echo "${DIR/#$HOME/~} | ${PCT}% | ${EFFORT}" ```

Because the TUI it is not consistent when showing this and sometimes they ship updates that change the default.