GitHub

wangyuanliang2009-max/ctx-guard: Windows tray app that monitors Claude Cowork's real token usage (API-reported, not estimated), warns before you hit the context limit, and auto-generates a handoff doc so a fresh session can pick up where you left off. (opens in new tab)

It reads the API-reported token values from Cowork's local session logs (not file-size estimates), shows a floating widget that turns yellow/red as you approach your plan's limit, and auto-generates a handoff markdown doc — your recent messages, the file paths you were working with, task summary from the start of the session, and current context usage. Paste it into a fresh session and pick up where you left off. The project itself was built across many sessions using its own handoff docs to ...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help