I built wake, a tool that records your terminal sessions so Claude Code can see what you’ve been doing. The idea is simple: instead of copy-pasting error messages or explaining "I tried X and Y but neither worked," your AI assistant just... knows.

The Problem

Claude Code can’t see your terminal. It knows about commands it runs, but not the builds you kicked off, the errors you saw, the debugging you did. I wanted something that captured that context automatically.

The Design Decision: PTY vs Shell Hooks

The first real architecture question was how to capture terminal activity. Two approaches:

Shell hooks only (the simple path): zsh and bash have preexec/precmd hooks that fire before and after each command. Easy to impl…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help