Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: